follow button

Posted in: Newsmag
Post count: 58

Hi, I am using Newsmag default prebuilt website. Now I want create follow button (for ex. follow on WhatsApp, follow on Telegram) for single post. I want to place this buttons below headings or below image on every posts. How can I do the same? Please help me in this.

Thank you

Post count: 58

here is screenshot
https://prnt.sc/ufP8-7HtyQy6

Post count: 35449

Hi,
For this you need to use a custom code that will scan the post content and add the buttons where you program, it, or to manually add the buttons in posts when those are made.
Also, you can search for some custom plugins, maybe there are existing plugins for what you need.
Thank you!

Post count: 58

Hello,

How can I add button manually in post template as single post is not editable with tagDiv composer?

Post count: 35449

Hello,
If the button has the same link for all posts, then you can edit the post template in code and set the file in child theme – https://forum.tagdiv.com/newsmag-child-theme-support/
For example if you are using post template 1 you can edit the loop-single-1.php or the single_template_1.php (deepens where you’ll like the buttons), the path in theme files is wp-content/plugins/td-composer/legacy/Newsmag/parts/single/ and in child theme the path for files should be /Newsmag-child/parts/single/loop-single-1.php and single_template_1.php
I hope this will help you!

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