How to display Custom Post Types (Custom Post Type UI plugin used)

Community Forums Forums Design Tips and Tricks How to display Custom Post Types (Custom Post Type UI plugin used)

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  TraceyR 11 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #60405

    TraceyR
    Participant
    Post count: 12

    Hi there,

    I’ve used the plugin “Custom Post Type UI” to create custom post types on my test site, as I want to show a few products (each one is a separate post).

    I’ve got the taxonomy & post type set up, and have created one custom post, but haven’t discovered the way to have them show up in a sort of listings page – is there some PHP or HTML that I can add to a page (or perhaps in the theme function PHP file) to do this?

    I have a “Shop” page, which has some code on for a shopping cart, but I also want to display a grid listing of other products not in the shopping cart – all on the same page.

    (Note: these aren’t products that can go into a shopping cart as they aren’t for sale on my site – I’m just displaying them & then linking to other sites)

    Any ideas/tips would be much appreciated!
    thanks
    Tracey

    http://traceyrissik.co.uk/shop/
    #62670

    cdils
    Participant
    Post count: 421

    Hey Tracey,

    Sounds like you’re needing a custom archive template? Can you give a usage example of what type of post types and taxonomies you’re wanting to combine on a single page?

    This link might help you start thinking about archive templates automatically included in WP: http://codex.wordpress.org/Template_Hierarchy

    Here’s another article on creating an archive page for a CPT: http://www.carriedils.com/custom-post-type-archive-template/

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    #62791

    TraceyR
    Participant
    Post count: 12

    Hi Carrie,

    Thanks for the useful links, much appreciated – I managed to find a way around it that worked ok but the link to the Genesis CPT plugin is useful for future reference!

    Many thanks…
    Tracey

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.