Categories: WordPress

List of WordPress functions and their meanings

Share

WordPress is an online open source website creation tool written in PHP language. It is probably the easiest and most powerful blogging tool and website content management system (or CMS) in existence today.

For example, famous blogs like TechCrunch and Mashable are both on WordPress.

WordPress is free and can be downloaded for self-hosted installations from WordPress.org. It can also be used as a hosted service via WordPress.com.

Below is the list of some basic useful functions which is used in WordPress Themes.

  • <?php bloginfo(‘name’); ?> – Title of the Blog
  • <?php wp_title(); ?> – Title of a Specific Page
  • <?php bloginfo(‘url’); ?> – Exact URL for the Site
  • <?php bloginfo(‘description’); ?> – Site’s Description
  • <?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
  • <?php get_header(); ?> – Displays Header.php file content
  • <?php get_footer(); ?> – Displays Footer.php file content
  • <?php get_sidebar(); ?> – Displays Sidebar.php file content
  • <?php comments_template(); ?> – Displays Comment.php file content
  • <?php the_content(); ?> – Displays the Content of the Post
  • <?php the_excerpt(); ?> – Displays the excerpt that is used in Posts
  • <?php the_title(); ?> – Title of the Specific Post
  • <?php the_permalink() ?> – Link of the Specific Post
  • <?php the_category(‘, ‘) ?> – Category of a Specific Post
  • <?php the_author(); ?> – Author of the Specific Post
  • <?php the_ID(); ?> – ID of a Specific Post
  • <?php edit_post_link(); ?> – Edit link for a Post
  • <?php next_post_link(‘ %link ‘) ?> – URL of the Next Page
  • <?php previous_post_link(‘%link’) ?> – URL of the Previous Page
  • <?php get_links_list(); ?> – Lists all links in Blogroll
  • <?php wp_list_pages(); ?> – Lists all Pages
  • <?php wp_get_archives() ?> – List Archive for the Site
  • <?php wp_list_cats(); ?> – Lists all Categories
  • <?php get_calendar(); ?> – Displays the Built in Calendar
  • <?php wp_register(); ?> – Displays Register Link
  • <?php wp_loginout(); ?> – Displays Login/Logout Link only to Registered Users

Recent Posts

Editorial Elevation: Refined Writing Services

Introduction The influence of words is more significant than ever in a digital age. Whether…

6 hours ago

Top Advantages of Augmented Reality in Healthcare

The success of any tech innovation depends on its share in various industries and business…

1 day ago

Recover From Google Penalties in 10 Steps in 2024

Facing Google penalties can be a daunting challenge for businesses relying on organic search traffic.…

2 days ago

What is the Future of Artificial Intelligence?

Technology, undeniably, has made our lives easier. But the advent of artificial intelligence has been…

2 days ago

Role of guest post services in SEO

Guest post services have become an essential tool for businesses and individuals looking to increase…

2 days ago

Top Programming Trends You Need to Know in 2024

Programming continues to evolve at a rapid pace, with new trends and technologies emerging every…

2 days ago