![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have added a blog post to my front page and all seems to be working well except I have lost the date, author name and comment. What have I deleted and from where? :)
|
|
#2
|
||||
|
||||
|
Quote:
HTH,
__________________
Charles "Rubeus Hagrid" Clarkson StudioPress on Facebook I'm not really a smart person. I just play one on the Internet. Please use the HTML
or PHP tags for pasting code.Please make your links click-able: this_is_annoying.com http://this_is_not_annoying.com. |
|
#3
|
|||
|
|||
|
I know the theme doesn't but I am talking about the blog post which usually does have author, date and comment. This is the code I have used:
<?php $recent = new WP_Query("cat=&showposts=1"); while($recent->have_posts()) : $recent->the_post();?><h2><?php the_title(); ?></h2><?php the_content(__('Read more'));?> |
|
#4
|
||||
|
||||
|
Quote:
Quote:
HTH,
__________________
Charles "Rubeus Hagrid" Clarkson StudioPress on Facebook I'm not really a smart person. I just play one on the Internet. Please use the HTML
or PHP tags for pasting code.Please make your links click-able: this_is_annoying.com http://this_is_not_annoying.com. |
|
#5
|
|||
|
|||
|
Thank you, I will give it a try.
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Author, Date and Comment Details on all pages | JamesFalconer | General Discussion | 5 | 04-08-2010 11:05 AM |
| Remove the date, author and leave a comment link | karenjill | General Discussion | 5 | 02-18-2010 03:35 PM |
| remove date, comment, tag and author from listing | billhunt | General Discussion | 6 | 12-10-2009 06:29 PM |
| Removing post date & author as well as comment field | digitalaudioservice | General Discussion | 2 | 03-04-2009 12:48 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us