WordPress useful function references (Links)

Purpose: List of reference links when you plan to modify WordPress

Just a list of links that have come handy for me when making changes to WordPress code in PHP. Basic wordpress (and PHP) modification skill level required.

POSTS
http://codex.wordpress.org/Function_Reference/get_post

GET MORE THAN 5 POSTS
$postslist = get_posts(‘category=26&showposts=10’);
http://wordpress.org/support/topic/need-to-show-more-than-5-posts-on-post-category-page

CATEGORIES
http://codex.wordpress.org/Function_Reference/get_categories

GET CATEGORY FROM URL
http://codex.wordpress.org/Function_Reference/get_category_by_path

IS CURRENT PAGE CATEGORY?
http://codex.wordpress.org/Conditional_Tags#A_Category_Page

GET OBJECT URL’s
http://codex.wordpress.org/Function_Reference/get_permalink

Leave a Reply

Your email address will not be published. Required fields are marked *


+ six = eleven

Post Navigation