Featured image appearing in posts
-
Hi!
I need help trying to stop my featured image appearing in posts and just on the blog page. I’ve looked at a few forums and nothing seems to be working.
My theme is clarity and my code for single.php looks like this, can’t find anything about thumbnails? Help
<?php get_header(); ?>
<?php clarity_main_before(); ?>
<div class=”col9″ id=”content”>
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( ‘inc/loop’, get_post_format() ); ?>
<?php endwhile; ?>
<div class=”post single” id=”comments”>
<?php comments_template(); ?><?php else : ?>
<?php endif; ?><?php clarity_main_after(); ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>The blog I need help with is: (visible only to logged in users)
-
-
Hi nataliesimm
Are you wanting to to remove the featured image from the Home Page preview?
-
If that is the case use the following custom CSS.
.featured-image, .cat-links { display: none; }Select Appearance > Customize > CSS from your Admin Dashboard and enter the custom CSS there.
You need to be on the WordPress.com Premium Plan for custom CSS to save. You can only preview custom CSS on the free plan.
-
Hey, no i’m trying to remove the featured image from showing in the post. I want it to show on the homepage, but then it shows before the text when you lick through to the post – that’s where I don’t want it to show.
Thanks.
-
Hmmm …. I’m not seeing a featured image on the actual posts page.
Just your header image, menu and then the posts text.
-
Are you looking at bigsocietygirl.com? That’s the site i’m working on, it’s different to bigsocietygirl.wordpress.com
-
On the homepage it should be there, but then if you click on the post the same image appears twice, and that’s because the one at the top is set as the featured image
-
Bigsocietygirl.com is a self hosted WordPress.org installation.
This support forum is for sites that are hosted with WordPress.com
WordPress comes in two flavours. WordPress.com and WordPress.org
This article does a good job of explaining the differences –http://en.support.wordpress.com/com-vs-org/
For self-hosted WordPress sites like yours, you can get help in the WordPress.org support forums – http://WordPress.org/support/
I still had look at your blog at bigsocietygirl.com and you can use the following custom CSS to hide the featured image.
img.attachment-full.wp-post-image { display: none; }Let me know if you need any more help with this.
-
Hey,
Thanks for your help, whereabouts in the CSS should I put the code? (I’m not familiar with CSS unfortunately…
And thanks for the tip on .org and .com, literally had no idea and it’s my first post :)
-
-
Thanks…I have that plugin :) but there’s loads of different headings for CSS, which one does it go under and where? Would I put it somewhere in the original code I pasted?
So confused :(
-
Are you on the page that says – CSS Stylesheet Editor?
Click Appearance > Edit CSS
Just paste it in at the top and click the Save Stylesheet button.
-
Ohh I see… it didn’t work, it stopped all the featured images from showing on the home page :/
-
-
-
I think this will do the trick.
.single-format-standard .wp-post-image { display: none; } -
- The topic ‘Featured image appearing in posts’ is closed to new replies.