Related Article

Posted in: Newspaper
Post count: 78

Good morning, there was a problem. I have included related records with the help of TAG, in records where there is not a single tag, the title “Related Article” is displayed. Can I turn it off in those records where there is no tag. The page where the problem occurred: https://cryptochain.news/bot-podgotavlivayushhiy-k-proverke-kriptosoobshhestvo-ot-bot-partners/

Post count: 78

Amendment. I inserted this code ” <div class =” td-related-title “> <? Php echo” Related Content “;?> </ Div>” above “<? Php echo $ td_mod_single-> related_posts ();?>” is there any way to make this text appear only when there are some tags in the article?

Post count: 20685

Hi,

So you want to remove the title when there are no articles like in this post
https://cryptochain.news/pervaya-kriptovalyuta-podeshevela-bolshe-chem-na-20-za-24-chasa/
Somewhat difficult to do something like this with CSS it seems. Try this code, it should remove the title when no related articles are present
https://www.screencast.com/t/hWQ5IE4Zr
https://www.screencast.com/t/rxPdhS7ZxpIr

footer div[class="td-related-title"]:nth-last-child(10) {
display: none;
}

Thanks

Post count: 78

Okay, thank you.

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