Wordpress - Theme: Showing a Post with Date and Author



Wordpress theme step by step tutorial - part 6: The wordpress API containts all necessary functions for themes. We just call that built in function. Like previous post, we want to show category name, we just call the_category().In this post, we will show date and author.

We show date and author below title in single post. For this job, create a file name "single.php" within wordpress\wp-content\themes\crown. Enter following code:

The result:



Series this article:
Wordpress - Theme: Installing and Changing Theme
Wordpress - Theme: Building Your Own Theme
Wordpress - Theme: Writing First Code
Wordpress - Theme: Wordpress Code Style
Wordpress - Theme: Showing the Post Excerpt on the Front Page
Wordpress - Theme: Showing Category Name for Each Post
Wordpress - Theme: Showing a Post with Date and Author
Wordpress - Theme: Planning Theme Design
Wordpress - Theme: Writing Basic Code for Two Column
Wordpress - Theme: Splitting Index Become Some Small Parts
Wordpress - Theme: Uniting Various Small Parts
Wordpress - Theme: Separating Stylesheet From Header
Wordpress - Theme: Designing Simple Header
Wordpress - Theme: Placing Content to Body
Wordpress - Theme: Showing Archives, Categories, Links in Side bar
Wordpress - Theme: Creating Footer
Wordpress - Theme: Modifying Single Post Display
Wordpress - Theme: Showing Comments at Single Post
Wordpress - Theme: Showing Comment Form
WordPress - Theme: Showing Trackback,RSS, and Other Detail at Single Post
WordPress - Theme: Showing Title and Other HTML Header
WordPress - Theme: Making Theme Widget Enabled


Tag: wordpress, theme Category: Web Design, PHP Application Post : January 29th 2008 Read: 4,272 Bookmark and Share

blog comments powered by Disqus