• Resolved hairyhobo

    (@hairyhobo)


    Hello

    Is it possible to display your CPT’s as a list?

    To explain, i have created a CPT and added custom fields using ACF. The CPT has then been styled in elementor. If i look at one of the posts it just has a image on the left and details on the right.

    To show all the CPT’s elementor wants your to use one of their archive widgets. This gives you options on how to display the archive, however what this widget does is show a collection of mini previews to the CPT’s like what you see when you create a blog.

    How can i just display all my CPT’s in a list, so on a page i just see a list of the CPT’s ive added and not the mini preview of them all before clicking through and seeing that single CPT information.

    Hopefully that makes some sort of sense

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    All in all, it does make sense for what you’re going for, but it’s not something that Custom Post Type UI handles at all. We don’t deal with or have settings for how things are displayed to visitors.

    All of the Elementor widgets and whatnot are just querying for the content to show, and displaying them however which way each widget is supposed to.

    There may be other widgets that are closer to what you’re looking for, you may need to do some sort of custom solution.

    We also have a premium extension named “CPTUI-Extended” which may be of interest to you. Available layouts can be seen at: https://pluginize.com/cpt-ui-extended-features/ May or may not be of interest to you.

    https://pluginize.com/plugins/custom-post-type-ui-extended/

    Thread Starter hairyhobo

    (@hairyhobo)

    So how do you go about displaying a CPT??

    That default layout in the extended feature plugin is kinda how i want it but without the read more, so its just displaying a pic on the left and all the details i have entered in and created in the Custom Post.`

    I am basically creating a list of vehicles for sale that just needs some where easy for for the client to enter in the details and then they just all appear on a page.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    At least out of box, the way to view the posts are very much like you would standard posts, with an archive, much like the “blog”. Say you set your post type to true for “have archive” and your post type is named “movies”. To see that archive, you would visit https://www.mysite.com/movies/ and it’d show you the archive very much like your blog stream.

    Most often though, people use the content and display in various places, like sidebars, widgets, modules, etc. But those need to be provided by plugins/themes and set to grab that data. This is where CPTUI doesn’t handle things. Our focus is on making sure they’re registered and ready to be used and displayed.

    For your cases specifically, Elementor offers method to say “grab my posts from my ‘movie’ post type” but how they’re displayed isn’t quite what you need.

    Thread Starter hairyhobo

    (@hairyhobo)

    yep, i just need to miss out that mini post preview and get straight to the content in a list. But i have no idea on what to search for.

    I have been looking and trying “display custom post” plugins but they dont seem to work with the CPTUI plugin.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Can you link me to those “display custom post” plugins you refer to? There’s nothing special that need to be done for things to work with CPTUI specifically. Other thing just need to be able to find the post types registered πŸ˜€

    Thread Starter hairyhobo

    (@hairyhobo)

    I tried
    https://wordpress.org/plugins/posts-in-page/

    But this wouldn’t pick up the slugs from CPTUI that i created, it only seemed to like the wordpress posts. This plugin seemed to have a lot of options of what you can display.

    I tried this one…
    https://wordpress.org/plugins/display-custom-post/

    It would display them, but it seemed limited.

    As im thinking about it, the ACF fields i see on the CPT ive created… is that information actually in the post? Or can i only see it because i have created a template for single posts in elementor and used the dynamic fields to display it??

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    What shortcodes did you try with those?

    ACF fields are stored as post meta last I checked, not inside say the post_content and thus the posts table.

    I’d put a lot of likelihood on the work already done with single post templates and Elementor and dynamic fields all playing a part in what you have working already.

    One of our strengths with our plugin is that we’re really easy to use to get things registered. One of the proverbial weaknesses could be that that’s the only part we really focus on, at least with the free plugin. People have come up with so many ways to make use of post types and taxonomies, that there’s no great way we can add more to it to facilitate ease with all the possibilities.

    So we do what we can to help those who are trying to achieve their own specific needs.

    CPTUI-Extended mentioned earlier tries to provide some basic content display, but also has some other spots that can help handle some of our more frequent support topics without having to resort to non-coders dealing with code.

    Thread Starter hairyhobo

    (@hairyhobo)

    I tried the all posts short code for Posts in pages and categories but neither worked.

    So yep, elementors single post has styled it but i cant see anything which by passes the archive grid and just displays all the actual posts, or an archive which displays all the info within that post in a archive list.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    At this point, the support staff for either of those plugins are going to be better fit than I am, for what may be going on there. We’re not doing anything special that should prevent things though.

    Thread Starter hairyhobo

    (@hairyhobo)

    I thought that would be the case, but i just wondered if you had come across this sort of thing before or knew of anything that might work with your plugin to display it. I just thought someone would of created a way of displaying CPT’s in this way as it seems to be a popular way of creating a product without having to install woocommerce.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    All matter of intent and each site having its own needs. CPTUI is just a single piece in the overall proverbial puzzle. πŸ˜€

    Thread Starter hairyhobo

    (@hairyhobo)

    Dont i know it, but i think this puzzle has been solved. Elementor got back to me with this plugin to use… https://dudaster.com/ecs/

    They are supposedly developing this feature in to elementor but im sure its a long way off, anyway the above plugin solved my problem and gives the option to make product lists using CPTUI/ACF with elementor and the above plugin!!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Awesome, sounds like you’re on your way at this point.

    Let us know if you need anything else.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘CPT list display’ is closed to new replies.