Hide Category from Home Page

Community Forums Forums Design Tips and Tricks Hide Category from Home Page

This topic is: not resolved

This topic contains 6 replies, has 3 voices, and was last updated by  braddalton 1 year, 1 month ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #36336

    L00koutM0re
    Participant
    Post count: 36

    Hi,

    I have a category called ‘photo’ which i want to hide from the home page when ever i put a post into it. Instead i want these posts (from this category) to appear in the primary or secondary sidebar widget in the form of thumbnails only (4 or 6).

    How this can be achieved in Prose theme?

    http://www.outlookpakistan.com
    #36496

    braddalton
    Participant
    Post count: 8823

    Try this http://wpsites.net/web-design/exclude-category-posts-page/

    Use the Genesis featured posts widget to display your thumbnails.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #41147

    L00koutM0re
    Participant
    Post count: 36

    yes thanks but using the featured post widget shows the thumbnail in single column. Can we increase the number of columns so it could cover the entire width of Sidebar?

    #41202

    braddalton
    Participant
    Post count: 8823

    Sure. Use content columns to increase the columns and full page width to extend to the sidebars


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #43307

    braddalton
    Participant
    Post count: 8823

    Modify this code snippet and replace the category i.d and conditional tag with your own.

    Code not displaying? Grab it on Github

    Change this in the code is_page_template(‘page_blog.php’)

    To something like this:

    is_home()


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #43310

    maheshone
    Participant
    Post count: 76

    EDITED

    Wrong thread…


    • This reply was modified 1 year, 1 month ago by  maheshone.
    • This reply was modified 1 year, 1 month ago by  maheshone.
    #43319

    braddalton
    Participant
    Post count: 8823

    Mark this as resolved please because you have 2 threads going for the same question. Thanks.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.