global $post;
if($post->post_parent=='certain page'){
/// Her goes your code......
}
Remember ‘certain page’ is your parent page id.
Related Posts:
- Get page id by template
- How can I keep the content of my pages version controlled?
- How do I convert a page’s title to lower case?
- page title, parent tilte and grand parent title
- WordPress page edit does not save selected template
- Manual excerpts for pages not working on Search
- How do I set and list page_template with wpcli?
- How to get post or page excerpt using post_excerpt
- Different fields in My Profile page depending on user role
- Object gets unwanted width and height
- Automatically set page order on create page
- Is it possible to set a page template on a dynamic home page (articles list)?
- What’s the most minimal way in which a page can be hooked into WP?
- Associate Page with User
- Page with page template not using template in Preview
- Subpages return 404 error [closed]
- wordpress with many custom styled static pages
- Limit the number of pages created by the paging
- One page – Multiple parents?
- How to re-order pages en-masse
- User capability of create page/new page
- A function like is_page() but returns true if on any sub page of given page
- How to get the excerpt of a page before more tag?
- how to get specific page content
- Using page slug in array
- Shortcode produces blank page
- How to create a page that contains a list of post titles from specific categories?
- How WordPress manages nested dropdown?
- Get all children page ID’s including parent by title
- How to modify the default WordPress ‘Pages’ widget to have titles on the anchor tags?
- Creating a 3-column layout on a WordPress Page
- Create page that is not deletable
- I have index.php and other files, how do I display other pages?
- is_home() returns TRUE on page template
- Location-Based Pages displaying results near customer
- Blank Pages with # URL & Google
- Created php page in wordpress – Error Page can not be reached
- Adding New Users to Your WordPress Site for edditign only one page
- How to add pagination to a single wordpress page with lot of text
- Multiple alias for single page
- Removing Parent Page URL While Keeping the Navigation Intact
- Organizing Your Pages
- IF user is logged in only show certain page
- No Appearance panel is shown
- How to have a separate page? What should be the link to that page?
- the_content of template page
- Post Fetching Ignoring Sort_Column?
- loading a javascript on a WP PAGE
- WordPress theme: Add page content to the bottom of the Contact form
- When will body has class “page-id-0”
- How to show ‘tags’ in ‘WordPress Pages’ [not Posts]
- How can I change “page” (as in foobar.com/page/5) to another word?
- determine whether content is of type Page or a Post and display accordingly
- Check if the child page has sibling pages, and bookmark current page
- pre-existing data, and entities
- How do I evaluate a get_posts array with is_page?
- Automatically generate pages from SQL
- require_once not working
- Undefined index: post in NOTICE while adding meta box
- Displaying posts on homepage – Template Page
- is_single(); Question
- How to make title for home to be News, but if page has parent then its name else just post/page name
- Next Page & Previous Page links – skipping a single page – how?
- advanced paging in wordpress
- How do you set the default page in WordPress?
- How to use the full page
- anchor tag in header not working on other pages except the home page
- Using WP just to edit pages of an existing site
- $page = get_page_by_title CONTAINS
- Exclude child pages args array
- Set parent page based on custom metabox value
- Add string to page title if post in specific category
- How to make transition slider load before home page
- Odd twitter meta data description on all pages
- Include parent page in list of child pages
- URL redirect to home page issue in word press site
- How to sorted Parent Page in WP-admin
- how can i display children of my parent page in one of the children page (wordpress)
- How to select what posts goes into which custom page template?
- How to include a query_vars value in document_title_parts?
- Deleted WordPress page appears in Google Search Results
- WordPress redirects to login page when I enter url.com/index.php
- How to see the dashboard of a downloaded wordpress website?
- Calling JavaScript for specific page irrespective of whichever theme you select
- Check if sidebar is active on page with id
- How can I get the page from menu as posts?
- Post id(login page) not found
- Setting Default Screen Options
- Content template when adding a new page
- Auto-Create Pages from Template Directory
- different single.php for different page templates
- Passing variables through a href link from one page to another page
- displaying child pages in columns when on a parent page
- page wordpress add extra unwanted stuff
- How to align bold,italic and underline in wp-admin?
- Parent – Child Pages and Templating in wordpress
- How to remove the trackback and pingback text on the bottom of my pages?
- How to display text of a page in home or custom page?
- How do I count the number of pages a user has seen on my site, and force them to log in after a certain amount