Post Templates

Visual Portfolio creates the Project post type, while the output style for single posts is managed by your installed theme, similar to other Custom Post Types. You can create or modify these templates using code or a special editor, allowing for customized display of your individual portfolio items.

Understanding Post Templates

Post templates determine how individual project pages are displayed on your site. They control the layout, content arrangement, and styling of your project details.

Block Themes

If you’re using a block theme (like those built for Full Site Editing), you can create and modify project templates using the Site Editor:

  1. Go to Appearance β†’ Editor in your WordPress dashboard
  2. Click on Templates in the navigation sidebar
  3. Look for the Single Item: Project template or create a new one
  4. Use blocks to design your project layout

For more detailed instructions on building templates in block themes, refer to the WordPress documentation on Building templates.

Classic Themes

For classic themes, you’ll need to create template files in your theme directory:

  1. Create a file named single-portfolio.php in your theme folder
  2. Use HTML and PHP to structure your project display
  3. Use WordPress template tags and Visual Portfolio functions to display project data

For more information on creating custom templates in classic themes, refer to:

Was this page helpful?