Display Image Excerpts in Pages
-
Admin
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.Admin
Make sure you activate your child theme in the WordPress admin.
Admin
I noticed that there’s an extra
}
in your child theme’sstyle.css
file before the.slider_post img.excerpt_thumb{
line. Try removing it.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
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.
Oh good to know! Thanks! 🙂
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
Use the Custom Post Limits plugin by Scott Reilly.
- You must be logged in to reply to this topic.