Change the place of an element in the page

Posted in: Newspaper
Post count: 22

Hi,

I examined lots the codes but couldn’t fine the single content page. I am using the addtoany plugin for sharing. Everything is OK but I want to change the place of it. It is below the title and the featured image, I want to put it above the title. Which one is the code page to change? Thanks.

http://www.kilsanblog.com/yesil-cevreci-ekolojik/ekokentler-surdurulebilir-yasam-ilkelerine-sahip-yerlesimler/

Post count: 22421

Hello,

This depends on whether the plugin has a shortcode integration or not. If it has a shortcode implementation then use the plugin shortcode inside a do_shortcode function of WP like so:
<?php echo do_shortcode ('your plugin shortcode here'); ?>
And place the function in the loop-single files or the single-tempalte files: https://www.screencast.com/t/WYWW3iNx8 depending on where the get_title function is called. Then you can place the code above the get_title code.

Thank you!

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