Delete posts from Home page and “Leave a reply”

Hot WordPress Themes Support Forum WordPress Themes Destinations Delete posts from Home page and “Leave a reply”

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #428
    Milos Stankovic
    Keymaster

    Hi,

    I need to remove the post section on home page and have this as a normal page section. I need this area to look as the same (divided in to two columns) but without a post (just a page). It should look as a normal page.

    Also need to remove “Leave a reply” option from all pages. Can someone please guide me to get these changes done?

    See attachment for areas I’m referring to.

    Website – http://www.srilankaholidayideas.com/

    Thanks

    #912
    milos
    Moderator

    Theme is developed to show two posts on the home page, and in order to change that. the themes code must be hacked.

    Anyway, you can disable comments on certain posts/pages. Click on the Screen Options when you edit the page/post.

    #913
    milos
    Moderator

    I made a mistake regarding the Comments. Actually, you can disable them when you click Quick Edit link under the post name and then disable comments there for the posts where you need to do it.

    #914
    Milos Stankovic
    Keymaster

    Thanks for your help. I managed to disable the comments.

    Can you help me to change the home page. On the Guide (below link) it says that the widgets “Insert & Toolbar” can be used to modify this posts section.

    demo.hotwptemplates.com/index.php?template=destinations – Basic Installation – No Demo – Guide

    Appreciate your help to remove the posts section from home page so that I can use the Widgets “Insert & Toolbar” to configure this area.

    Or I don’t mind if you can let me use 2 pages in this area rather than a 2 posts.

    #915
    Milos Stankovic
    Keymaster

    I have re-coded the front page to show posts in one column rather than the standard set, happy to share if you need it.

    Cheers.

    #916
    Milos Stankovic
    Keymaster

    That will be a great help.Thanks. Can you send this to me. Any possibility of totally taking out the posts section and have it as a page for 2 columns in same format?

    Cheers

    #917
    Milos Stankovic
    Keymaster

    The code below is my “main-home.php” page;

    Code:

    $sticky,
    ‘post_status’ => ‘publish’,
    ‘posts_per_page’ => 2,
    ‘no_found_rows’ => true
    );

    // The Sticky Posts query.
    $featured = new WP_Query( $featured_args );
    global $hpost_class;
    // Proceed only if sticky posts exist
    if ( $featured->have_posts() ){
    ?>

     

    #918
    Milos Stankovic
    Keymaster

    Hi,

    Many Thanks for this. Much appreciate your help.

    Cheers

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.