Your code is OK, however I think the main failure is to call a page #116, if this page not exist on your WP site the front area or HOME page will not display any data. Normaly to avoid page ID # I use the code if (is_page('name-of-page')) {?>
Some times is better than PAGE ID because the ID number not allways is the same on new WP install, just remember to set your permalinks to pretty using /%permalinks%/
Related Posts:
- What is the proper way to get contents of a page?
- Get the Page Content,without generating HTML
- how to display sidebar on pages in wordpress
- the_content of template page
- Use content from one page in another template
- My edits are not saved
- the_content() Returns post content when I want page content
- Retrieve page content and pass to PHP?
- What is the difference between $paged and $page?
- multi page password protection
- Create a “Dummy” parent page for a hierarchy in page listing?
- Custom SQL Query for WordPress page
- Change admin startpage to Pages-page?
- How restrict page for users logged? [closed]
- Only allow new subpages to be created
- Hide Visibility Option From WordPress Publish Metabox
- WordPress 4 and wp_editor() Not Showing Visual/Text tabs
- How to make nested page structure?
- Redirect to a page if ancestors is empty
- Get Order of Meta Box in a Page/Post
- Check to see if page exists problems
- Modify Page Title before output via wp_page_list
- List Child Pages of Parent Parent Page (Child pages from Grand Parent)
- Custom /page/2/ template (different from index.php)
- How to add meta boxes to Pages
- Front Page not showing on Pages
- WordPress pages with hierarchy
- Missing parent page attribute
- Hiding Page by Title from Editing
- Two Search pages, One search form
- Why doesnt ONE of my links in the footer work properly? [closed]
- Create subpage – filter parent pages list
- Use lots of pages, or categories/posts?
- How to have custom tinyMCE buttons break onto next line when too long
- Get page by its ID and display it on another one
- Get all pages that are published
- Add a predefined page to site
- How do i change page template in bulk?
- Determine page content based on page parent
- Weird issue with is_pages() with array
- Missing ‘Page Attributes’ in page edit
- How to show the root webpage on all subpaths
- category slug and page slug same
- New user Registration data imported into Page
- Could be a namespace conflict (?) with login form and register form on the same page
- The concept of non-blog content
- Loading Multiple Comments Pages via Ajax?
- Change base URL of pages created by certain users
- How to place HTML tags in content from the_content()?
- Remove Content edit box from ALL pages (not posts)
- What is full URL for a post?
- How to list a page tree?
- How to create a page and display only the posts with a specific custom field value?
- the_content(); of custom post type treated as an array or object
- Remove comment section from new page
- WordPress pages not working out correctly with HTML
- Change page name in admin list
- Dynamic page with comments
- How to rewrite a page url
- Manage content on multiple pages synchronysly?
- Display pages in alphabetical order
- Print page content with formatting when doing custom SQL query
- get_page() – Only variables can be passed by reference
- Need Help with Custom ModRewrite
- How does wordpress link page templates to individual pages
- Archive limit the text of the_content
- upgrade has caused page content to disappear
- Website jumps to top when scrolling down
- How to fix broken URL – https://mywebsite.com/comments/feed/
- Revert a Draft page to its original version
- Create page template
- Loading ACF Field content on a 404.php page
- Can I use the wordpress loop in pages?
- Add addtional page parameter before loading the page
- When would it be best to hook AJAX functions on a back-end page?
- Get largest page id by title?
- Detecting if I’m on a single, non-post, non-homepage page?
- How to insert current user ID in a shortcode?
- My AJAX requests take 30 seconds to complete
- display different pages content on single page
- Have subdirectory name act as $_GET or $_POST data
- Create page excerpts for landinpage
- Why my site scroll top when end load pages
- Specify parent page template
- Have multiple loops on a page appear after/between page content
- How to make page navigation just below the content?
- WordPress, page 2 shows the same posts as page 1
- How to exclude page in pages module
- get id custom tables on current page
- Parent for a single (single.php)
- Create a new page for each form selection
- pagination does not work with query_posts. Help! [duplicate]
- Subpage Conditional
- How can one get page by pagename if it is a child page?
- Archive with specific keyword by category sorted by date
- How to pass the Querystring in pages?
- I have over 3000 child pages – but I need a different main page
- How to enable automatic search results in WordPress
- How to make a conditional statement that checks if the page is the child of a certain page?
- Edit the text location of a form