Jump to content
Sign in to follow this  
skins31

Unique image on sticky post

Recommended Posts

skins31

Hi, I'd like to show a unique image at the top of the sticky post on index.php - I don't want this image to be the first image in the post. The image should be seen only on the index page - and the main image within the single post page should not be seen on the index page. I have tried using thumbnail - but I end with a thumbnail and a main image all on the index page which is not what I need. Here's the site http://cambridgevisitor.co.uk - so the Rezonenz image needs to be a different image to that in the single post page. cheers p

Share this post


Link to post
Share on other sites
kastelic

You could place both images and hide one on each page with CSS. For example: .home .yourimageclass {display:none} .page-id-123 .yourotherimageclass {display:none} This is just sample CSS, the page id needs to be adjusted and the images need a class added to them.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×