is_page [ WordPress Function ]
is_page ( $page = '' )
| Parameters: |
|
| Uses: |
|
| See: |
|
| Returns: |
|
| Defined at: |
|
Is the query for a single page?
If the $page parameter is specified, this function will additionally check if the query is for one of the pages specified.
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- is_page() - WordPress Codex
Description. This Conditional Tag checks if Pages are being displayed. This is a boolean function, meaning it returns either TRUE or FALSE. This tag must be ...
codex.wordpress.org - Conditional Tags « WordPress Codex
function is_tree( $pid ) { // $pid = The ID of the page we're looking for pages underneath global $post; // load details about this page if ( is_page($pid) ) return ...
codex.wordpress.org - Use WordPress' is_page() To Display Custom Content | Travis Berry
Use WordPress' is_page() To Display Custom Content. Published: 2010-01-11. Something that comes up on a regular basis is how to display certain content on ...
www.travisberry.com - Using if is_page() Wordpress conditional statement - Stack Overflow
The slug for your Articles page has to be defined as articles . This is set in the edit page interface, see these directions.
stackoverflow.com
Gebruikersdiscussies [ wordpress.org ]
- matthisco on "Dynamic sidebar - only show on certain page"
- Chip Bennett on "Dynamic sidebar - only show on certain page"
- matthisco on "Dynamic sidebar - only show on certain page"
- taifurbau on "Meta Refresh in Header using is_page"
- taifurbau on "Meta Refresh in Header using is_page"
- MickeyRoush on "[Plugin: Another Wordpress Classifieds Plugin] Deregister awpcpstyle.css ?"
- awpcp on "[Plugin: Another Wordpress Classifieds Plugin] Deregister awpcpstyle.css ?"
- MickeyRoush on "[Plugin: Another Wordpress Classifieds Plugin] Deregister awpcpstyle.css ?"
- mastertechmag on "Meta Refresh in Header using is_page"
- modhack on "List page with parent css class"