Basic functions generally used in WordPress

Sangwan Pankaj Reply 01:31


1. is_page() :- Condition for check if page is displayed. Its return true or false.
2.
is_category() :- Condition for check if category is displayed. Its return true or false. 
3. wp_nav_menu() :- Enabling WordPress 3.0′s Navigation Menu Feature 
4. wp_list_pages() :- Listing All Pages in wordpress
5.
get_excerpt() :- Displays the excerpt of the current post with read more link for display full post. 
6. bloginfo(‘url’) :- Getting the Site’s URL
7. bloginfo(‘template_url’) :- Getting the URL to the Current Theme
8. the_content():- Displays the contents of the current post. 
9. the_title():- Displays the title of the current post.
10.the_time():- Display the time the post was published (uses PHP date formatting as a parameter)





Related Posts

Wordpress 635593189358965271
Copyright by GhostPHP. Powered by Blogger.

Search

Recent Post

Popular Posts

Follow us