Archived topic
Add image to the latest posts Blog page
3 replies · Started by jdaco on November 15, 2017
Hello, in the page where I want to show my latest posts I want to include an image to be displayed at the very top of container with the latest posts. When editing th Blog page there is no place for adding some content?
When editing that page, I see the post ID is 34, then I went to GP Hooks and tried something like this:
<?php if(is_page( '34' )) {?>

<?php } ?>
I tried various sections but I don´t see the image.
What I am missing?
Thank you!
Jorge
Hi there,
Try is_front_page() && is_home()
More info here: https://codex.wordpress.org/Conditional_Tags#The_Blog_Page
Hi Leo, thanks for your fast response.. in my case I used is_home() and yes it worked!
For the record I placed the php code in GP Hooks - Inside Content Container
Thank you!
No problem!