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”
- How to get current page ID outside the loop?
- WP Page and Subdirectory with same name
- How to inject custom url path for page ?
- How to display page title+link of page created by user
- get_posts() seemingly ignoring post_type
- How to redirect a page to subdomain?
- How can I split long posts into pages?
- Custom query for sidebar isn’t returning results
- Serve specific “template” page at any URL that ends in its slug
- WordPress redirects me to posts page after editing one page
- date_query seems to be ignored by wp_query
- Is it possible to query from external database? [duplicate]
- JQuery Plugins in WordPress
- Page menu not showing in admin, new Page button missing in toolbar too
- WordPress Page doesn’t load the template selected
- Custom folder for wordpress page templates
- Can I use Pages like a Wiki
- Create multiple pages with tables from json file
- Multi-layered WP_Query
- `offset` WP_Query argument dont work via `pre_get_posts`
- Pagination of custom page with custom fields query
- Attaching a file to a page without adding to media library?
- Requiring a Visitor to Enter a Password Each Time They visit a Page
- Two different layouts for the same post
- My page title turns into a h2 tag – What to do?
- problem with loading pages
- Content not displaying on page
- Blank white space where header was [closed]
- Display child pages on homepage template
- Set order acs and no paging for archive page
- Query Posts From Multiple Post Types
- Displaying Results From Custom Taxonomy Query