Display Image Excerpts in Pages

  • thajekku


    I am trying to display images next to the excerpts in my pages like this – http://marvelousmommy.com/category/giveaway/ I got it working with a plugin called “Thumbnail for Excerpts” however it made the images in the slider show up twice!

    So (in functions.php) I removed <?php the_excerpt(); ?> from

    <div class=”slider_post_entry”>

    <?php the_excerpt(); ?>

    “><?php _e(‘View full post’, ‘graphene’); ?>

    <?php do_action(‘graphene_slider_postentry’); ?>


    and it worked however it also removed the text excerpt so I’m left with only the image, the title, and the ‘view full post’ button.

    Could you tell me the best way to go about displaying images in the pages excerpts without affecting the slider?? Should I remove the plugin and replace the code or should I keep the plugin and alter the CSS class to display: none on the slider??

    I appreciate your time and help! Thanks so much!

    Amy @ Marvelous Mommy




    Hi Amy:

    I hope that you get feedback soon. I am trying to resolve the very same issue.



    Syahir Hakim


    The easiest way is to just hide the second image in the slider using CSS:

    .slider_post img.tfe{



    Hi Syahir:

    Exactly where should I post: .slider_post img.tfe{





    Syahir Hakim


    If you have a child theme, put it in your child theme’s style.css file.

    Otherwise, use the WordPress theme editor to edit the theme’s style.css and put it at the bottom of that file. Note though if you use this way, the change would be lost the next time you update the theme.



    That did not work. I a still getting double images in the slider.


    Syahir Hakim


    Please provide the URL to your site so that I can take a look.



    Hi Syahir

    This is my site: http://www.bestmoneytalk.com/

    However, now I can’t get back my first image and lost the slider.



    The slider came back, but I still don’t have the first image. Also, now my excerpt images are missing. I am trying to get them back.



    What is your best suggestion for adding pictures next to the excerpts on the home page?

Viewing 10 posts - 1 through 10 (of 30 total)

  • You must be logged in to reply to this topic.
Graphene Themes Forum