URLS in the post descriptions

Posted in: Newspaper
Post count: 9

Hello, 🙂

How I can hide urls in the post descriptions? Now it looks like this:
description

  • This topic was modified 7 years by fveitsi.
Post count: 20688

Hi,

That would mean the post content begins with a video link, the automatic excerpt is picked from the beginning of the post.
One solution would be to set a manual excerpt in the post edit screen
https://prnt.sc/oogm10
https://forum.tagdiv.com/excerpts-introduction/
But that could take some time if there are many posts in this situation.

Another way would be to un-comment this code in the highlighted file
https://prnt.sc/oogn89 -> https://prnt.sc/oogmvv
Doing this will remove all the links at once. I will make a note of this and check why that code is commented. Please let me know if you have more questions.

Thanks

Post count: 9

Does that code in the highlighted file remove only Youtube links or? If you have time, you can see what’s happening here: My website.

Thank for your help in advance! 🙂

Post count: 35449

Hi,

Thant code should remove all links from the YouTube embeds that are showing in the modules.

Thank you!

Post count: 9

Hi,

How about other links that are in the posts? Is there any way to remove those? For example I use a lot of SoundCloud links and they totally broke the description. You can see if you go and watch my website (link in my second post). Thanks!

Post count: 9

Plain and simple: I don’t wanna show any URLs in the descriptions. And I have almost 4000 posts on my website and almost all of them have URLs. My old theme didn’t show them, but now that I moved to Newspaper, it started to show them.

Post count: 35449

Hi,

You can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look to the code that need to be uncomment and make it to work correctly (show all the links from the homepage and pages http://prntscr.com/op057e not from inside the post). Include a link to this topic in the email.

Thanks

Post count: 2

The problem still exists in Version 12.2. However I cannot find the sourcecode to modify and uncomment. Which files can I modify to delete the youtube URLs in the description?

Post count: 35449

Hi spelling,
The code is in the same file wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php -> https://i.imgur.com/LYoktzT.png
Thank you!

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.