• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to user navigation

PopWP

WordPress and Genesis Tutorials

  • Get Started
  • About
  • Archive
  • Services
  • Membership
  • My Account

is_front_page() v/s is_home()

Last Updated on September 14, 2019 Favorited: 0 times

The Visual Conditional tags, The different Settings > Reading here. When shows.

1. Your latest posts >> is_front_page() and is_home() both will work.

URL > example.com

2. A static page having
a) Homepage: A Static Page. ONLY is_front_page() will work.
URL > example.com

b) Post Page: None (-Select-)

3. A static page having

a) Homepage: A Static Page (Frontpage) is_front_page() will work.
URL> example.com

b) Post Page: 2nd Page(Blog/post page) is_home() will work.
URL > example.com/blog/

This makes you clear that when a conditional tag will work on different Reading settings to do the stuff or function.

Categories: Free Content, Snippets

Reader Interactions

Primary Sidebar

Search

WPEngine WordPress Hosting, Perfected.

Hosting You are looking for?.
Perfect solution for small business to global enterprise.

Learn more

StudioPress Genesis Theme Framework

The No.1 Theme Provider.
Creative, SEO rich Theme for all niche projects.

Learn more

Categories

  • Free Content
  • Genesis Tutorials
  • Premium Content
  • Snippets
  • What's New?
  • WordPress Tutorials

Tag Cloud

Archive Background Section blog canvas menu center logo columns conditional tags CSS CSS Grid custom Customizer custom post type Custom Post Types custom template Custom Widget effect eNews Extended Featured Image front-page Genesis Genesis Sample header right hero section Image Background js layout left menu Logo menu Navigation Menu newsletter post page related posts responsive menu search search widget Shrinking Logo site header slide in-out Stylesheet Template Utility Bar Video Background widgets WordPress

Built with Genesis Framework + WordPress by Aryan Raj

  • Contact
  • FAQ
  • Disclaimer
  • Privacy Policy
  • Copyright Policy
  • Terms of Service