Comments elguja started the conversationOctober 14, 2020 at 4:02pmHello, in the theme Style 1, in the end of post description I want to add the following code: <?php echo do_shortcode('[Sassy_Social_Share]'); ?>Could you please tell me in which file I should make correction and in which line?I want this code to be seen only in Style 1. 2,701PenciDesign repliedOctober 14, 2020 at 4:40pmHi,You can add shortcode ( no need <?php code - just use shortcode below ): [Sassy_Social_Share] to Customize > Single Post Options > Add Google Adsense/Custom HTML code in the end of content postsThis option works with shortcodes alsoBest Regards,PenciDesignelguja repliedOctober 14, 2020 at 4:46pmI know but share buttons is on style 10 too.i wont share buttons to be only on style 1. 2,701PenciDesign repliedOctober 15, 2020 at 2:31amHi,The php code: <?php echo do_shortcode('[Sassy_Social_Share]'); ?> will be render the same with shortcode: [Sassy_Social_Share] so, if you want to change the style of share button there. Let's check option attr from your shortcodes. It's not issue related with added php code or use shortcodeBest Regards,PenciDesignelguja repliedOctober 15, 2020 at 7:15amI just want to insert this code in the place which is pointed in my screenshot.Only in Style 1 2,701PenciDesign repliedOctober 15, 2020 at 7:24amHi,Ok, if so, please put your php code like on this image:http://prntscr.com/uznq7dBest Regards,PenciDesignelguja repliedOctober 15, 2020 at 7:35amThank you very much for your help. Everything is ok. Sorry for disturbing you. <3 elguja repliedOctober 28, 2020 at 9:23amI want to do the same on Style 8 and where shall I insert the code? Thank you. 2,701PenciDesign repliedOctober 28, 2020 at 2:42pmHi,If so, please put the code like on this image: https://prnt.sc/v8q3u0Best Regards,PenciDesignelguja repliedOctober 29, 2020 at 12:08pmThank you. God bless you ^_^elguja repliedOctober 30, 2020 at 7:47amI apologize, as I have seen it now, this code is shown in Style 10 too and I just want it to be shown in Style 8. 2,701PenciDesign repliedOctober 30, 2020 at 9:21amHi,Please try change the code you've put to: <?php $single_style = penci_get_single_style(); if( $single_style == 'style-8' ): ?> PUT YOUR CODE HERE <?php endif; ?>Note:Change the text "PUT YOUR CODE HERE" to the code you want to put there.Best Regards,PenciDesignelguja repliedOctober 30, 2020 at 11:56amThanks ^_^ Sign in to reply ...
Hello, in the theme Style 1, in the end of post description I want to add the following code:
<?php echo do_shortcode('[Sassy_Social_Share]'); ?>
Could you please tell me in which file I should make correction and in which line?
I want this code to be seen only in Style 1.
Hi,
You can add shortcode ( no need <?php code - just use shortcode below ):
to Customize > Single Post Options > Add Google Adsense/Custom HTML code in the end of content posts
This option works with shortcodes also
Best Regards,
PenciDesign
I know but share buttons is on style 10 too.
i wont share buttons to be only on style 1.
Hi,
The php code:
will be render the same with shortcode:
so, if you want to change the style of share button there. Let's check option attr from your shortcodes. It's not issue related with added php code or use shortcode
Best Regards,
PenciDesign
I just want to insert this code in the place which is pointed in my screenshot.
Only in Style 1
Hi,
Ok, if so, please put your php code like on this image:
http://prntscr.com/uznq7d
Best Regards,
PenciDesign
Thank you very much for your help. Everything is ok. Sorry for disturbing you. <3
I want to do the same on Style 8 and where shall I insert the code? Thank you.
Hi,
If so, please put the code like on this image: https://prnt.sc/v8q3u0
Best Regards,
PenciDesign
Thank you. God bless you ^_^
I apologize, as I have seen it now, this code is shown in Style 10 too and I just want it to be shown in Style 8.
Hi,
Please try change the code you've put to:
Note:
Change the text "PUT YOUR CODE HERE" to the code you want to put there.
Best Regards,
PenciDesign
Thanks ^_^