List of a few important functions for creating wordpress themes and plugins.
Additional post meta data:
- have_posts checks if the posts are available in wordpress database or not.
- the_post takes the current item in the collections of posts and makes it available for use in the iteration of the loop.
- the_id provides the id of the current post in the iteration.
- the_content fetches the content of the current post in the iteration, filters it and displays it.
- the_title provides the title of the current post
Additional post meta data:
- the_category gives the category in which the post was posted.
- previous_posts_link to move back to previous link
- next_posts_link to move next post in the collection
Reference link is http://codex.wordpress.org/The_Loop_in_Action
No comments:
Post a Comment