is_front_page [ WordPress Function ]
| Uses: | |
| See: |
|
| Returns: |
|
| Defined at: |
|
Is the query for the front page of the site?
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()
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- is_front_page() - WordPress Codex
Description. This Conditional Tag checks if the main page is a posts or a Page. This is a boolean function, meaning it returns either TRUE or FALSE. It returns ...
codex.wordpress.org - Conditional Tags « WordPress Codex
is_front_page(): When the front of the site is displayed, whether it is posts or a Page. Returns true when the main blog page is being displayed and the 'Settings ...
codex.wordpress.org - WordPress › Support » if is_front_page not working
[resolved] if is_front_page not working (9 posts). sp00f. Member Posted 2 years ago #. im trying to add to my index.php a code that if its the front page of the site, ...
wordpress.org - Difference between is_home() and is_front_page()NSpeaks
Oct 11, 2010 ... Most of the WordPress Conditional Tags are easy to understand and pretty self- explanatory with their terminology but these two tags ...
nspeaks.com
Kullanýcý Tartýþmalarý [ wordpress.org ]
- James Morrison on "Stop is_front_page || is_home returning TRUE on posts page"
- alchymyth on "Stop is_front_page || is_home returning TRUE on posts page"
- James Morrison on "Stop is_front_page || is_home returning TRUE on posts page"
- James Morrison on "Stop is_front_page || is_home returning TRUE on posts page"
- SocialBlogsite on "post type challenge"
- soulcis on "conditional display of widget"
- keesiemeijer on "conditional display of widget"
- soulcis on "conditional display of widget"
- marcus32 on "is_front_page side bar showing on the blog section"
- Josh on "Can't get the if-else conditional tag to work"