Jump to content
Sign in to follow this  
riomusi

Which part of code in template.postloop.php handles single post ?

Recommended Posts

riomusi

Hello, I'd like to customize the look of single post. I'd like to take off the date and

title in a single post. I looked into template.postloop.php for 3 hours, but can't figure out where I can do so. Any suggestion? Thanks!

Share this post


Link to post
Share on other sites
Danny
Hi Rio, You don't have to actually mess around with template.postloop.php file to achieve this I don't think. If you add a link to the post in question, this may be done with CSS only.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
riomusi
Hello Danny I've sent the link to you, sorry can't make my site public yet.

Share this post


Link to post
Share on other sites
Danny
Hi Rio, Just sent you a message also, as for the CSS to hide/remove the date and title from a specific page, the code to use is below. Hide the date. [code] .postid-1317 .date { display: none; } [/code] Hide the title. [code] .postid-1317 .entry-title { display: none; } [/code]

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
riomusi
Hello Danny, I understand it can be hide by .postid class, but what I need a permanant way to take off these parts. I can't do manual css editing everytime I add a post. thanks, Rio

Share this post


Link to post
Share on other sites
Danny
Hi Rio, Sorry I thought you mean't a single post as in that post only, not all single posts :P Ok, try this instead: [code] .single .date { display: none; } [/code] [code] .single .entry-title { display: none; } [/code]

Please search our forums, before posting!

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  

×