Looks like you have the Posts for Page plugin installed. I don’t know where you have put that code you mention, but the page is generated by the shortcode, which says that output should be limited to the beauty category. You probably don’t need to write code yourself. Read the manual of the plugin and change the shortcode accordingly.
Related Posts:
- Displaying the last post on static homepage
- Having trouble with customizing blog posts on the home page
- Insert div after every three posts in home.php [duplicate]
- Handling error states with admin_post
- Add Adsense code in index.php
- get_the_content if it contains multiple lines it results in SyntaxError
- Looking to exclude blog posts from category Previous/Next buttons
- Automatic Excerpt Not Working
- Using a javascript file to access a get posts array
- Make custom field meta not display if there is not data in it
- WP Insert Post function – Insert Post Thumbnail
- Get_the_author doesn’t return author name
- Trying to make php run in a post
- How can I hide Home in my menu in a specific page?
- Remove posts after a given amount of time
- Hide wordpress field if data is empty in post!
- Trying to add attribute to my posts’ featured image
- How to show part of the_content?
- How to set a min number of words for a blog post
- Get post id in a function when edit/add a post
- Which hook/action will help me solve my problem?
- Post + form + action + results on the same page
- Loading index.php contents which located outside blog folder for post single page
- get post content of particular post by url
- Post repeating with infinite scroll
- Get children post mime type using parent post_ID wp_post
- Display related posts without a plugin
- Count posts on multisite with blog id
- Making (and edit existing) posts with ID included
- Parsing Menu Items and Blog Posts
- Pagination on Custom Post
- How to show an entire post content and not also the excerpt?
- Why is a wp function used in current PHP namespace’s callback not resolved to global scope?
- WordPress query undefined offset in loop
- WP_Query: getting posts where custom field exists
- Increment paged on WP_Query
- Add new post in existing categories using wp_insert_post
- How do I add more options to the post-new.php page?
- get post id from wp_insert_post for get_template_part
- Modify main query before it run without pre_get_post
- .html end of URl affected to SEO?
- Displaying content on posts page based on category
- how to make an array of post id’s in is_single
- Loading Posts & Category with Ajax
- Four posts per row [closed]
- array_rand not working correctly?
- Update if post with specific title exists
- Need help removing […] after excerpt
- Update value of a associative array with update_post_meta
- Pagination in single.php
- Advanced Query posts
- My Custom Post Type AJAX Query is Returning no posts – why?
- How to get post image caption by index
- posts_per_page displays only 2 posts instead of 4 posts
- Inside Array – “unidentified index” error with “prepare was called incorrectly” despite not calling the prepared statement with wordpress [closed]
- Is there anyway I can call the year once?
- Check $post->ID against multiple values
- Don’t update modified post date when user add a product review or comment?
- Limit the number of characters/words in an excerpt for a related posts section
- Posts missing on author page
- How to allow users to save list of posts in wordpress?
- WordPress recent post
- Closing Comments conditionally in comments.php
- How to center all text body in single.php at once?
- Related Posts: if there is no category use tags
- image on homepage disappeared due to change of permalink name
- My blog posts section seems to be rendering the other blog posts inside the first? :/
- How do if all posts has this category ID then do this
- Get current_post in reverse order with pagination
- Getting error in sql query
- Setting at job with shortcode not working
- How do I get the featured post to share on Social Media and show on Individual Post pages?
- PHP tag in post content makes wordpress go crazy
- Unable to get Post Category Name and URL
- Dynamically Create Posts Via XML File
- Basic PHP question (displaying post title over thumbnail) [closed]
- insert thumbnail image from php script
- Post from front end form to post_meta
- media_handle_sideload() returned post_id being incremented
- Saving Post redirects to 404 page when php $_GET variable in post body
- Use page.php for front page
- Insert wordpress tags below posts via functions.php
- How can I add WordPress Audio Player as featured audio in Audio Blog Posts?
- Trying to see if page is category or single and displaying title with appropriate heading tag
- Adding if statement to content for homepage
- I want Page titles and excerpts to show up on home.php in certain order
- How to customize posts in WordPress by using HTML and CSS?
- Adding slides to an existing carousel manually
- foreach all the post
- How to create a loop that will display one post and stop?
- $post->ID calls for current page, but what is the code to call for any new page created and published in WordPress?
- Not able to see the error [closed]
- Blog Posts not sorted and pagination not adjusted after filtering some category
- Add multiple HTML attributes to an Elementor button
- How to use a conditional statement in a post loop but not count towards the “posts_per_page” if false
- Bulk data save in custom table
- How to change post date and post time in WordPress automatically with a function
- Global update of records after import WP All Import Pro
- Display posts based on the selected category when no subcategory is chosen
- How to display only the first 2 words of a post title