Using Shortcodes in custom templates

Posted in: Newspaper
Post count: 19

Hi,
I’ve been trying to use certain shortcodes in custom post type templates I created because they don’t take any of the post settings. For example, I’m trying to use the share single post shortcode like this:
echo do_shortcode('[tdb_single_post_share like_share_style="style2" content_align_horizontal="content-horiz-center" like="yes" tdc_css=""]');
So it works. It displays the sharing buttons but it shows all of them. How do I select the social networks I want to use within the shortcode? The posts work because I’m using it in a cloud template and it only display what I have set in post settings in the theme panel but in that case it shows ALL the networks.
Thank you.

Post count: 18283

Hello !

Please note that your request is custom work related and it is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/

Thank you !

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