Hi,
You have to edit Startup/layouts/content.post.featured.php file and move this fragment:
(remove this fragment and add "?>" - php end tag.
- Code: Select all
// variable for the social API HTML output
$social_api_output = gk_social_api(get_the_title(), get_the_ID());
?>
<?php if(is_single()) : ?>
<?php if($social_api_output != '' ): ?>
<?php echo $social_api_output; ?>
<?php endif; ?>
<?php endif; ?>
into Startup/layouts/content.post.footer.php file - this file should looks like:
- Code: Select all
<?php
/**
*
* The template fragment to show post footer
*
**/
// disable direct access to the file
defined('GAVERN_WP') or die('Access denied');
global $tpl;
?>
<?php do_action('gavernwp_after_post_content'); ?>
<?php if(is_singular()) :
// variable for the social API HTML output
$social_api_output = gk_social_api(get_the_title(), get_the_ID());
?>
<?php if(is_single()) : ?>
<?php if($social_api_output != '' ): ?>
<?php echo $social_api_output; ?>
<?php endif; ?>
<?php endif; ?>
<?php if(gk_author(false, true)): ?>
<footer>
<?php gk_author(); ?>
</footer>
<?php endif; ?>
<?php endif; ?>