VIA and SOURCE

Posted in: Newspaper
Post count: 58

What is the location of the file that contains VIA and SOURCE (https://imgur.com/tjUI08s) to change the way external links open, from _self to _blank

Also if you have the full code for both that would great

Thanks

Post count: 58

*Also if you have the full code to open both _blank that would be great

Post count: 58

Newspaper theme

Post count: 27744

Hello,

If you use a Single template you can find the source and via these paths ->
wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_via.php
-> wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_source.php -> https://i.imgur.com/o2bKz80.png

Thank you!

Post count: 58

Thanks for that Anamaria,

Could you please send me the full code to replace the old one. I tried target="_blank" and it did not work.

Would it be possible to make all Via and Source links open target="_blank" in your next update? Most sites work that way.

Thanks again
Sam

Post count: 27744

Hello,

Sorry, you can simply set the Open source in new window check the option for source and via -> https://i.imgur.com/iSpiT3C.png

Thank you!

Post count: 58

Hi there,

Thanks for that.

Sorry, I am not getting that option to edit. Could you please amend the codes below to open in a new window: target=”_blank” and send back.

Thanks for the help
Sam

Via

$buffy .= '' . $post_via_name . '';
$buffy .= '</div>';

Source

$buffy .= '' . $post_source_name . '';

$buffy .= '</div>';

Post count: 58

Via

$buffy .= ‘‘ . $post_via_name . ‘‘;
$buffy .= ‘</div>’;

Source

$buffy .= ‘‘ . $post_source_name . ‘‘;

$buffy .= ‘</div>’;

Post count: 58

Please see here:

https://imgur.com/a/njTvx7a

Thanks
Sam

Post count: 27744

Hello,

That option in Composer is to open the via and sourced in a new tab without modifying the code in the theme Files.

Thank you!

Post count: 58

Hi

TagDiv Composer is not available on posts. It is only available on pages only. Screenshot: https://imgur.com/a/wW81eB8

Could you please amend the code I sent you here https://imgur.com/a/njTvx7a so it opens in _blank

This should be a simple task, I would really appreciate it if you could fulfil my request.

Thanks
Sam

Post count: 27744

Hello,

You can simply use a Single Post Template from tagDiv Cloud Library https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
Unfortunately, the tagDiv Standard Pack became deprecated.

Thank you!

Post count: 58

Hi

Could you please amend the currently code to open in a new window. I just don’t have the time to re-design a new template nor I would like to give the theme to a developer that I don’t know – I just don’t trust them to keep it to themselves.

It would be very helpful if you can amend the current code and send it back in a screenshot or a file.

Thanks
Sam

Post count: 27744

Hello Sam,

You need to edit this file -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php and set the target="_blank" here -> https://i.imgur.com/Xtl0eW7.png

Thank you!

Post count: 58

That’s perfect. Thanks for that.

Viewing 15 posts - 1 through 15 (of 15 total)
You must be logged in to reply to this topic.