Wordpress template tags you should know - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software > Tips, Tricks & Tutorials
Click Here to Login
Closed Thread
Thread Tools Display Modes
Old 03-29-2009, 10:01 AM   #1 (permalink)
Techie Beyond Description
Osiris's Avatar
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default Wordpress template tags you should know

Source: Wordpress template tags you should know

If you run a Wordpress blog, you will eventually want to make some modifications to your theme. Perhaps you want to show your tags, not just categories, perhaps you want the date in a different format, you might want to add the URL of the author to each post, there are a lot of things like that which can easily be done with a little knowledge of Wordpress template tags, which are little PHP code snippets, but you don’t have to be a coder to use them.
The great thing about these tags is that they are very well documented “see link above”, and that they are extremely simple to use. You don’t need to know anything about PHP, so let me explain their basic use in common sense language. Wordpress uses a loop, elegantly called “the loop” in “Wordpressian”, which cycles through the posts you have.
If you show 10 posts on your main page, the loop cycles through the latest 10 posts. This means that one the first loop it will pull in the data of your latest post, on the second pass it will look at the second and so on. All the data is pulled, all you need to do is specify what you want to display out of that data, let’s take a look at how.
Osiris is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fan Hole & Radiator Template Downloads Mnpctech Overclocking and Modding 6 03-01-2009 06:21 PM
Sticky Keys Admin Template Help forsythe_99 Microsoft Windows and Software 0 06-20-2007 06:06 AM
ID3 v2.3 tags incorperating album art Trifid Microsoft Windows and Software 1 04-30-2007 12:54 PM

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 06:08 PM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.