How do I hide author, put show date and category information in clip style posts?
Hide author info in post clips
Started by
fingerprinz
, Dec 29 2010 02:12 PM
5 replies to this topic
#1
Posted 29 December 2010 - 02:12 PM
#2
Posted 29 December 2010 - 06:24 PM
the post-clips have static metabar options because it's a much smaller space but we can create a hook to add/change/remove whatever you want. Make sure you have the Base theme activated and add this to your functions.php file in Base
`
add_action('pagelines_loop_clipmeta_end','custom_meta_clip');
function custom_meta_clip(){
?
}
`
#3
Posted 29 December 2010 - 07:44 PM
Thanks Adam, but does not work. Get a blank screen when I copy the above code in my base functions.php. Can't access the Control Panel nor the site. Thanks for your help. markus
#4
Posted 30 December 2010 - 03:20 AM
You'll want to delete functions.php and then re-upload the original and then simply use CSS to accomplish what you're after:
`.metabar .sword, .post-author{display:none}`
Thanks, Bryan
#5
Posted 30 December 2010 - 12:05 PM
Thanks Bryan. Author is now gone. But how do I ad Category information to clip style posts?
#6
Posted 30 December 2010 - 01:44 PM
@Markus I didn't try Adam's code, but it looks like the issue is just a couple of missing PHP tags. You could try this:
`
function custom_meta_clip(){
?>










