Image of blog post

Is it possible to show the related images of a posts only on the home page blog section and not in the posts page?

Thank you


Schermata 2020-10-14 alle 17.31.20.png
135K

Comments

  • edited October 16
    HI 
    Thanks for contacting to us.
    To show desired post on home page blog section  Go to Customizing ▸ Homepage section setting
    Blog settings >> Select your desired category.
    See the snapshot 

    And To hide Homepage blog post from Blog page follow the given below instruction.
    1) Install a plugin Reveal IDs
    2) Create a child theme if not created. 
    3) Copy the file blog.php from Corpbiz  parent theme & paste it in the child theme.
    4) Now edit the file, at line no. 17 you will notice this below line

    $args = array( 'post_type' => 'post','paged'=>$paged);
    In that line, add one more parameter & it become like this. Or replace the whole line with below line

    $args = array( 'post_type' => 'post','paged'=>$paged,  'category__not_in'    => array(13));

    You will notice only ,'category__not_in'    => array(13)  is added. where the value 13  is the category Id which you want to hide  posts on  blog page.
    Above plugin add one column which reveals ID like this http://prntscr.com/ia8xea
    This way you can customize feature to hide  specific categories on blog page.
    Let me know if further need assistance.

    Thanks

  • Hi 
    Did the above solution work for  you ?
    Thanks 
  • Yes!

    Thank You
  • Hi 
    Glade to know that its resolved.
    Look forward see you again at webriti.
    Thanks 
This discussion has been closed.