how to add sth at the end of each post?

Posted in: Newspaper
Post count: 3

Hey. I would like to add sth (text with link) at the end of EACH post. The meassage should displays BEFORE comments section and BEFORE “article bottom advertisment”. This is what I’ve already tried:

a) I edit loop-single.php. When I put my code (<p>my message</p>) after <?php echo $td_mod_single->get_content();?> it works fine, but the meassage displays after bottom advertisment, not just after the article

b) I used “article bottom advertisment” in Theme Panel. I put there two <div class=”td-all-devices”>…</div>, one after the other (first one with the advertisment, second one with my message), and it works OK. However I am pretty sure there is a way to put my message directly into some .php file so it will display at the end of each article. Which file should I edit?

Thank you If u can help me.
Thank you for developing GREAT theme!

Post count: 35449

Hi,

If I understand correctly you want to set the “text with link” at the end of each post, for this you can use a single post template from tagDiv Cloud Library, all you need to do is to edit the template with tagDiv Composer and set at the bottom of post the text you need -> https://www.screencast.com/t/l4tgywADyFnE after that all you need to do is to set the template on posts, and will not be need to make any changes in theme files

Thank you!

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