View Categories

Recent posts settings

< 1 min read

Follow the steps below to set up the Recent Posts section on the home page:

  • Go to Appearance > Customize
  • Go to “Theme Frontpage Setup.”
  • Go to “Recent Posts.”
  • Check or uncheck “Enable Recent Posts” to enable or disable the Recent Posts section on the homepage.
  • Add headings or descriptions accordingly to be shown on section headers and short info.
  • Select “Choose Post Type”:
  • Latest Post > Display the latest post from all posts
  • Select Category > Display the latest posts from the selected category.
  • If you go with the “Select Category” option, select the category that you want to display posts from.
  • Add “Read More Text” for Read More Text.
  • Add “View All Text” to the View All Posts button label.
  • Add “View All Button Link” to link the button to the blog list page.

Now click on “Publish” to save your settings.

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id IN (' at line 1]
SELECT p.ID FROM wpgy_posts AS p INNER JOIN wpgy_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN wpgy_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE p.ID = '0' AND p.ID < 1638)) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id IN (9) AND p.ID NOT IN ( SELECT tr.object_id FROM wpgy_term_relationships tr LEFT JOIN wpgy_term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) WHERE tt.term_id IN (0) ) AND p.post_status = 'publish' ORDER BY p.post_date DESC, p.ID DESC LIMIT 1

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id IN (' at line 1]
SELECT p.ID FROM wpgy_posts AS p INNER JOIN wpgy_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN wpgy_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE p.ID = '5765' AND p.ID > 1638)) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id IN (9) AND p.ID NOT IN ( SELECT tr.object_id FROM wpgy_term_relationships tr LEFT JOIN wpgy_term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) WHERE tt.term_id IN (0) ) AND p.post_status = 'publish' ORDER BY p.post_date ASC, p.ID ASC LIMIT 1

Powered by BetterDocs