Custom post layout not working

Hello.
I’m trying to get the post title and meta above the featured image on my post page. I’ve copied the content.php file to the correct location and I’m using this code within it:

>

  <?php x_get_view( 'integrity', '_content', 'post-header' ); ?>

  
<?php x_featured_image(); ?>
<?php x_get_view( 'global', '_content' ); ?>
<?php x_get_view( 'integrity', '_content', 'post-footer' ); ?>

Still not working. Not sure what’s going on.

Hi Jonathan,

Your code should achieve your desired order between the post title & meta and the featured image. I’m assuming you’re already using a child theme to achieve that. So assuming the directory of your child theme is pro-child, can you confirm that you’ve added the content.php file this location pro-child/framework/views/integrity, since you’re using the Integrity Stack?

Thanks.

Yes, that’s correct.

Okay thanks for confirming. Also, is the child theme the Active theme? If yes and the change still hasn’t reflected, please send us you login details in a secure note. It would help if you can include ftp details.

Thanks.

Yes, the child theme is the active theme. I’ll send you the login and FTP details.

Guess what. I just double checked and the Child theme is not the active theme.
Someone (the client) has some explaining to do!

Thanks for your help and sorry for the trouble. I know better than this, I just didn’t expect for anyone to be changing the active theme on me.

Hi Jonathan, I think you got it right the first time around. But I’m glad it’s sorted now. No trouble at all. We’re just here when you need us.

Cheers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.