Useful Word Press Function List With Their Meanings

1 Answer(s)

Useful Word Press Function List With Their Meanings

bloginfo(‘  ‘);  Function


< ? php bloginfo(‘url’); ?>  : Exact URL for the Site

< ? php bloginfo(‘description’); ?> :  Site’s Description

< ? php bloginfo(‘name’); ?> :  Title of the Blog, or Blog Name

< ? php bloginfo(‘template_url’); ?> :  Location of Site’s Theme File

< ? php bloginfo(‘stylesheet_url’); ?> :  Link to the Style.css location

< ? php bloginfo(‘rss2_url’); ?> :  RSS Feed URL for the Site

< ? php bloginfo(‘pingback_url’); ?> :  Pingback URL for the site

< ? php bloginfo(‘version’); ?> :  WordPress Version Number

 

wp_title();


< ? php wp_title(); ?> : Title of a Specific Page

 

header();


< ? php get_header(); ?> – Displays Header.php file content

 

footer();


< ? php get_footer(); ?> – Displays Footer.php file content

 

sidebar();


< ? php get_sidebar(); ?> : Displays Sidebar.php file content

 

comments_template();


< ? php comments_template(); ?> : Displays Comment.php file content

 

the_content();


< ? php the_content(); ?> : Displays the Content of the Post

 

the_excerpt();


< ? php the_excerpt(); ?> : Displays the excerpt that is used in Posts

 

the_title();


< ? php the_title(); ?> : Title of the Specific Post

 

the_permalink();


< ? php the_permalink(); ?> : Link of the Specific Post

 

the_category(‘, ‘) ;


< ? php the_category(‘, ‘) ; ?> : Category of a Specific Post

 

the_author();


< ? php the_author(); ?> : Author of the Specific Post

 

the_ID();


< ? php the_ID(); ?> : ID of a Specific Post

 

edit_post_link();


< ? php edit_post_link(); ?> : Edit link for a Post

 

next_post_link(‘ %link ‘)


< ? php next_post_link(‘ %link ‘) ?> : URL of the Next Page

 

previous_post_link(‘%link’)


< ? php previous_post_link(‘%link’) ?> : URL of the Previous Page

 

get_links_list();


< ? php get_links_list(); ?> : Lists all links in Blogroll

 

wp_list_pages();


< ? php wp_list_pages(); ?> : Lists all Pages

 

wp_get_archives()


< ? php wp_get_archives() ?> : List Archive for the Site

 

wp_list_cats();


< ? php wp_list_cats(); ?> : Lists all Categories

 

get_calendar();


< ? php get_calendar(); ?> : Displays the Built in Calendar

 

wp_register();


< ? php wp_register(); ?> : Displays Register Link

 

wp_loginout();


< ? php wp_loginout(); ?> : Displays Login/Logout Link only to Registered Users

 

Answered on October 5, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.