Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress is home page

is_front_page()
/* is_front_page() returns true if the user is on the page or page of 
posts that is set to the front page on Settings->Reading->Your homepage 
displays. */
is_home() 
/* is_home() return true when on the posts list page, 
This is usually the page that shows the latest 10 posts. */
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged: #wordpress #home #page
ADD COMMENT
Topic
Name
2+6 =