Unfortunately, that is a premium theme and it is not support here since we can not download it and look at the code. Have you asked for support from the author?
I have, but haven’t heard back yet. Here is the single.php code. Its pretty straight forward.
<?php
/**
* Single Post Template - this is the template for the single blog post.
*/
get_header();
if(have_posts()){
while(have_posts()){
the_post();
//get all the page data needed and set it to an object that can be used in other files
$pex_page=new stdClass();
$pex_page->slider='none';
$pex_page->layout=get_opt('_blog_layout');
$pex_page->sidebar=get_opt('_blog_sidebar');
//include the before content template
locate_template( array( 'includes/html-before-content.php'), true, true );
//include the post template
locate_template( array( 'includes/post-template.php'), true, false );
}
}
//include the comments template
comments_template();
//include the after content template
locate_template( array( 'includes/html-after-content.php'), true, true );
get_footer(); ?>
[Please use the code buttons for posting code here]
I understand but that code is not straight forward. From the look of it, it’s using some templating so I don’t think the code is happening on this file.
I would look at these two files since it seems to be using them:
includes/html-before-content.php
includes/post-template.php
And of course, create a child theme so you don’t lose your changes when you update the theme. http://codex.ww.wp.xz.cn/Child_Themes
Ok I will check there..
And thank for the tip about the child theme. I really don’t want to destroy the one I have.
I’ll read through these and see if I can get it to work.