Display Image Excerpts in Pages

  • Admin

    Syahir Hakim

    #11783

    Try this instead:

    .slider_post img.excerpt_thumb{
    display:none;
    }

    For me, the best way to add excerpt image is to use the theme’s graphene_before_post_content action hook, though this may be difficult for you to achieve if you’re not familiar with PHP.

    monitalk

    #11784

    Hi Syahir

    Thanks for your response. I just added the above code to the child’s theme. So far, no dice. I’m going to let it roll a while. The program may just need to synch up.

    Monique

    Admin

    Syahir Hakim

    #11785

    Make sure you activate your child theme in the WordPress admin.

    Admin

    Syahir Hakim

    #11786

    I noticed that there’s an extra } in your child theme’s style.css file before the .slider_post img.excerpt_thumb{ line. Try removing it.

    monitalk

    #11787

    Alright, you’re a genius. It worked!

    Thanks,

    Monique

    Marvelous Mommy

    #11788

    I added the <?php the_excerpt(); ?> back in the in functions.php and then added the

    .slider_post img.tfe{

    display:none;

    }

    in the css like you said and it worked perfectly!! I had adjusted the slider height though since it wasn’t showing the excerpts and I was wondering what the original height was so I could change it back?? It was about 250px right??

    Admin

    Syahir Hakim

    #11789

    You don’t need to remember the default slider height. To use the default value, simply leave the slider height option empty and the theme will use the default value of 220px.

    Marvelous Mommy

    #11790

    Oh good to know! Thanks! 🙂

    Marvelous Mommy

    #11791

    One more thing…

    Now I was wondering how to show more than three excerpt posts at a time?? I have my Settings>Reading set to display the 3 most recent posts.

    I would like to keep my front page showing 3 posts but change my pages to show about 6 excerpts. Any advice??

    Admin

    Syahir Hakim

    #11792

    Use the Custom Post Limits plugin by Scott Reilly.

Viewing 10 posts - 11 through 20 (of 30 total)

  • You must be logged in to reply to this topic.