[Resolved] Displaying single Custom Post type

Home Forums Support Displaying single Custom Post type

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #1094266
    Ashley Bassett

    Hi – iv’e looked through the support forum and I think I’m after something very simple I can’t resolve from the guidance provided there.

    I’m migrating my site to this theme – which btw, is fab!

    I’ve added an mu-plugin to register a custom post type – ‘portfolio’ (to support the custom post type from the previous site). All good!

    I use WP_Show_Posts to display the portfolio items as required via a shortcode. Still All good!

    However, when I want to view the single portfolio item – I’m having a challenge.

    I’ve copied over the single.php and content-single.php files to my child theme folder.
    Changed the name to single-portfolio.php and content-portfolio.php respectively.
    Changed the -get_tempalate_part to -get_template_part (‘content’, ‘portfolio’) in the single-portfolio.php file.

    However I’m getting a ‘page can’t be found’ result.

    look forward to any guidance.


    PS – can’t add a site to view as it’s a dev site – can provide details but can’t put IP in the URL field below.

    Ashley Bassett

    Please forgive my stupidity. Always the way! it was a permalinks issue.

    Feels free to keep / remove this!



    Customer Support

    Glad to hear you found the issue and the solution 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.