Theme Support Forum
Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums
-
#12701
On August 20, 2012 at 4:29 am
How can I add or attribute different authors to a post while logged in as the admin? For some posts, I do not wish to be listed as the author, but I’d like to be able to publish other authors’ work while logged in as the admin.
Secondly, how can I remove the date and comment information that pops up when I search articles/pages? When I hover over the featured image from the search screen, the date and comment boxes appear from the corners.
#18587
On August 20, 2012 at 3:39 pm
Try this plugin:
http://wordpress.org/extend/plugins/post-author/
and to remove the dates/comments from search page posts, Open search.php and remove these lines(Appear 3 times):
<div class="date_meta"><?php the_time('d'); ?><?php the_time('S'); ?> <?php the_time('M'); ?></div>
<div class="block_comm"><?php if (!empty($post->post_password)) { ?>
<?php } else { ?><div class="comments"><?php comments_popup_link( __('0</br>Comment', 'zenon'), __('1</br>Comment', 'zenon'), __('%</br>Comments', 'zenon'), '', __('Off' , 'zenon')); ?></div><?php } ?></div>
#18588
On August 20, 2012 at 3:45 pm
One more thing: I only want to delete the dates/comments from “Page” results in the search function, not “Post” results. Is there a distinction I can make?
#18589
On August 20, 2012 at 3:48 pm
can you share the saerch page where you posts and page boths appearing?
#18590
On August 20, 2012 at 9:57 pm
#18591
On August 20, 2012 at 10:01 pm
Go to Appearance> Editor and select “stylesheet” from right and add this line to the very bottom:
.lay1 .type-page .date_meta,
.lay1 .type-page .block_comm{display:none;}
Hello! this is Towfiq, a passionate web developer from Bangladesh, building website templates for almost 4 years and sharing them with the world. Most of my designing/ programming skills are self taught. Providing free Wordpress themes to wordpress enthusiasts is another one of my passions.
When I am not building templates, I listen to music, read books, paint and travel.
x