remove , date ,comment, tag etc from category archive view

Community Forums Forums Design Tips and Tricks remove , date ,comment, tag etc from category archive view

This topic is: not resolved

This topic contains 10 replies, has 2 voices, and was last updated by  braddalton 1 year, 11 months ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #18455

    mailalon
    Participant

    Hello

    I am using grid loop to show articles in grid in a category however i would like to remove all the unnecessary info from the grid

    date

    tags

    author

    filled under

     

    do i need to remove a code from some file ? or is there any setting i am missing ?

     

    Thanks

     

    #18599

    braddalton
    Participant

    Install the Genesis Simple Edits plugin and remove the shortcodes.


    #18633

    braddalton
    Participant

    That will remove from single posts as well. You can also use this code to remove the post meta and post info from archive pages only by using a conditional tag:

    http://www.briangardner.com/code/customize-post-info/

    http://my.studiopress.com/snippets/post-meta/

    http://my.studiopress.com/snippets/post-info/


    #18640

    mailalon
    Participant

    wonderful. Ill check it out many thanks.any idea how to add a frame around grid posts like in pinterest ?

    #18656

    braddalton
    Participant

    Whats the url to your grid posts?


    #18677

    mailalon
    Participant

    Hi Brad,

    http://www.mathgamesite.com/1st-grade/

    of course all thumbnails in the grid  will have same size .

     

    i went to your site, thanks for the great content there – i will spread the word.

    btw, at a letr stage i will need some paid work to be done on it (more advanced stuff) are you open for that ?

     

    Best,

    Alon

    #18883

    braddalton
    Participant

    Yes, always happy to accept work.

    To add styles to a specific category archive page you can use a custom class and use the class as your selector with a declaration for the border property:

    http://my.studiopress.com/snippets/custom-body-class/

    add_filter( ‘body_class’, ‘add_body_class’ );
    function add_body_class( $classes ) {
        if ( is_category( ‘1st-grade’ ) )
        $classes[] = ‘custom-class';
        return $classes;
    }
    

    #18893

    mailalon
    Participant
    This reply has been marked as private.
    #18899

    braddalton
    Participant
    This reply has been marked as private.
    #18900

    mailalon
    Participant
    This reply has been marked as private.
    #18967

    braddalton
    Participant

    If you only want to remove this info and meta data from a category, you can hide it using CSS:

    .category-4 .post-info .post-meta {
        display: none;
    }
    

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

You must be logged in to reply to this topic.