Sounds like your news-box isn’t using clean methods for pulling posts. I’m guessing that you are not using the get_posts() function. You’re probably creating a new WP_Query
object from scratch?
Try using get_posts()
, as it will take care of keeping the original page query clean for you.
Related Posts:
- When should you use WP_Query vs query_posts() vs get_posts()?
- Add infinite scroll to content splitted post
- Get the content of a specific page (by ID)
- How can I keep the content of my pages version controlled?
- Proper way to get page content
- WP_Query vs get_posts
- What methods to use to create small, editable pieces of text for static pages?
- Editing Complex Pages in Visual Mode
- Get wp_get_attachment_url outside of loop
- How to know if get_posts() failed?
- WordPress parent select need to be removed
- Multiple areas of dynamic content in a page
- Get posts by meta data OR title
- Modify theme to get page excerpts on front page
- Can not switch the queried post in pre_get_posts hook
- WP_query category__in not working, only pulls from first category
- Static files or dynamic WP pages for “static content”?
- The entire content of my WordPress page has disappeared
- What is the proper way to get contents of a page?
- How to echo excerpts with wp_list_pages?
- how to get specific page content
- Get the Page Content,without generating HTML
- Creating a custom search for a specific post type
- Location-Based Pages displaying results near customer
- Weird orderby => post__in issue
- How can I get the homepage from the loop?
- Having wordpress page accesss issue under sub-directory
- How to make my category archive behave like a page
- The concept of non-blog content
- Is there a reason why Pages are not publicly_queryable?
- How to retrieve attachments from child pages of a specific Page?
- Check return value of get_posts
- Custom page with queries returns 404
- Why posts array is empty?
- Query specific Pages
- How to give classname to post if post has no content?
- If I use a static page-slug.php for a page, is the database still queried?
- How To Render Shortcode In AJAX Response?
- Related Posts function not working
- How do I evaluate a get_posts array with is_page?
- append one page content into another
- Unable to paginate a custom page query
- Query pages based on tags
- Show content if page is a grandchild of top level page
- Two different pages that share the same content?
- How to query for a page, get data, then query for child pages of that page
- Get all pages to display at once
- upgrade has caused page content to disappear
- Prioritising and Ordering Posts By Category Name Using A Custom Loop
- How to get an array of pages ID by some page’s slug and all its children pages in get_posts() function?
- How to get meta key list efficiently?
- Add the same content to multiple pages
- Cannot pull WYSIWYG content
- Editing pages from dashboard
- What’s the best way to manage sections on a page?
- Ordering Posts by parent category, name ascending
- include exception inside theme for empty widget area
- How to get sort content by page id?
- When should you use WP_Query vs query_posts() vs get_posts()?
- Add text to the bottom of particular pages
- Retrieve posts in custom post type and specific taxonomies
- Filter posts by author selected in page
- WordPress ultra slow if I click on posts?
- Retrieve page content and pass to PHP?
- Use get_posts() with ‘post’ and ‘page’ queries at the same time?
- How to get from sql query page id and retrieve it url and title
- Query page: preserve page formating
- A Depth Like Parameter For “get_posts”
- Rewrite URL custom search query
- When to use WP_query(), query_posts() and pre_get_posts
- Check if wp-login is current page
- How to get current page ID outside the loop?
- How to limit the number of posts that WP_Query gets?
- Contact Form on WordPress Sites?
- Page returns 404 with POST variables, but not without
- Custom templates not showing up in template dropdown
- Get page id by template
- order by numeric value for meta value
- Should we trust the post globals?
- Query multiple custom post types in single loop
- Page template query with WP_Query
- Using pre_get_posts on true pages and static front pages
- How to get page title with the page ID?
- Show more than 20 items in pages or posts edit dashboard
- Allowing user to edit only certain pages
- Wp get all the sub pages of the parent using wp query
- How to display last 3 posts (recent posts) in a static page?
- How to display page content in a page template?
- How to give paged links custom title?
- How to set post slug when using wp_insert_post();?
- How to load javascript on custom page template?
- How to configure WordPress to handle 75,000 pages?
- How to update page status from publish to draft and draft to publish
- Check if is on child-page of a particular page
- Change page template programmatically ?
- Conditional tag to check if ‘page.php’ is being used?
- Return only Count from a wp_query request?
- Customizing the URLs of WordPress Login and Sign-up Pages?
- Get the ID of the latest post
- How to disable posts and use pages only