is_front_page()

Is the query for the front page of the site?


25 related functions found for: is_front_page

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordsexist, front, is, page, post-typ, post-type, query-php, wp-includes
wp-parser-packageQuery, WordPress
wp-parser-source-filewp-includes/query.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • exist
  • front
  • is
  • page
  • post-typ
  • post-type
  • Query
  • query-php
  • wp-includes
  • wp-includes/query.php
  • query

Top ↑

Description Description

This is for what is displayed at your site’s main URL.

Depends on the site’s "Front page displays" Reading Settings ‘show_on_front’ and ‘page_on_front’.

If you set a static page for the front page of your site, this function will return true when viewing that page.

Otherwise the same as @see is_home()


Top ↑

Return Return

(bool) True, if front of site.


Top ↑

Source Source

File: wp-includes/query.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.