View Categories

Adding portfolio to the site or home page (Pro Only)

< 1 min read

Portfolio features are only available in the premium version. Before enabling the portfolio section on the home page, we need to add portfolio items with a custom post type. For this, follow the steps below:

  • Go to Portfolio > Add New.
  • Click on “Add New.”
  • Add “title”
  • Add Content
  • Add a category on the right side.
  • Add a featured image at the side.

Now click on “Publish” to add the portfolio item. You can add as many portfolios as your requirements allow.

Now it’s time to enable the portfolio section on the home page. Follow the steps below to enable the portfolio section on the home page:

  • Go to Appearance > Customize
  • Go to “Theme Frontpage Setup.”
  • Go to “Portfolio.”
  • Check or uncheck “Enable Portfolio” to enable or disable portfolio sections on the homepage.
  • Select the layout of the portfolio section in “Choose Section Layout.”
  • Add “Heading” and “Description”, buttons and button links accordingly.

Now click on “Publish” to save and enable the portfolio on the home page.

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 < 1747)) 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 > 1747)) 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