Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1307293

    Hi there

    I can’t find the right way to display a grid with cusotm post type, like a product grid but for some CPT.
    I created this posts with the plugin CPT UI and I would liek to display the posts in a standard page via a grid(just because the archive template need to be completely edited).

    What’s the best way?
    Thanks in advance!

    • This topic was modified 3 years, 5 months ago by alligatorsnc.
    #1307625

    Hey alligatorsnc,

    We apologize for the delayed response.
    Have you tried to set the Blog Layout to Grid Layout in Enfold > Blog Layout?
    Whatever is set in there should be copied by the archives page of that specific post type unless the Blog Layout is set to Use the advance layout editor to build your own blog layout (simply edit the page you have chosen in Enfold->Theme Options as a blog page)

    Best regards,
    Nikko

    #1309365

    Hi Nikko and thanks for your answer

    I realized I wasn’t clear in the first message, I’ll explain with an example, I created a new post type called “Capitolati” and I also created categories inside it For example “Cat1” “Cat2” and so on.. now in this Capitolati posts I’ll upload just a pdf url, so the content will be just the pdf to download, now the categories appear like this https://www.officineditrevi.com/categorie_capitolati/bonifiche/ here you can see “Capitolato 1”

    I would like this ategories to appear like this https://www.officineditrevi.com/categoria/software-di-monitoraggio/, like the product categories, with a sidebar and with the item “caoitolati” itself like product layout.

    Is it possible?
    Thanks again!

    #1309595

    Hi alligatorsnc,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( to be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1309822
    This reply has been marked as private.
    #1309991

    Hi Antonella,

    Thanks for giving us admin access.
    I can’t find a way to make it like the product categories since it’s fetching woocommerce code in order to build it, the nearest that I could get is to change the layout to use the Grid Layout but you’ll need to do two things:
    1. Add this code in functions.php of the child theme:

    add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); 
    
    function avia_change_category_blog_layout($layout, $context){
    	if($context == 'archive') $layout = 'blog-grid';
    	return $layout;
    }

    2. Add a featured image for each capitolati

    Best regards,
    Nikko

    #1310247

    Ok got it, Thanks a lot for your time and your support!

    I have one last question, To edit also the sidebar content? I would like to put in this sidebar like a category list, is it possible?
    https://www.officineditrevi.com/categorie_capitolati/discariche/

    Thanks a lot!

    EDIT: I found it, stupid question, I didi in the Theme Options
    Thanks a lot again!
    have a nice day

    • This reply was modified 3 years, 5 months ago by alligatorsnc.
    #1310255

    Hi alligatorsnc,

    We’re glad that we could help :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Grid for custom post types’ is closed to new replies.