Sticky Remove Author, Date, Category
-
I am using Platform/PageLines and I have one sticky. I would like just that sticky to not show the author, date and comments sections. Currently those are the three attributes that are on the byline for all posts as defined in the Blog and Posts section of the Page Lines settings.
Can someone please help me with code for the style sheet that I can add to make this happen?
Again, I want the posts to have that byline info, but not the sticky.
I currently have a function that makes the sticky show the whole post and not an excerpt. I got this off a forum.
function dan_sticky_filter($content) { if(is_sticky()) $content = the_content(); return $content; } add_filter('the_excerpt', 'dan_sticky_filter');
[Please post code snippets between backticks or use the code button.]
A bonus would be to remove the “continue reading” at the bottom of the sticky.
I am fairly new to wordpress and php and css so step by step instructions would be really welcome.
Thanks!
- The topic ‘Sticky Remove Author, Date, Category’ is closed to new replies.