View Categories

Adding category post sections to the home or front page

< 1 min read

Follow the steps below to setup the category post section on the front or home page:

  • Go to Appearance > Customize.
  • Go to “Front Page Settings.”
  • Go to “Category Posts.”
  • Check or uncheck “Enable Category Posts” to enable or disable the section.
  • Select a category to display posts from the category that you have chosen.

Note: The advertisement option is only available for the pro version.

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 = '1753' AND p.ID < 5756)) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id IN (36) 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 = '5800' AND p.ID > 5756)) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id IN (36) 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