Tagged: grid
-
AuthorPosts
-
June 24, 2021 at 11:40 am #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, 4 months ago by alligatorsnc.
June 28, 2021 at 2:45 am #1307625Hey 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,
NikkoJuly 9, 2021 at 12:03 pm #1309365Hi 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!July 11, 2021 at 5:14 pm #1309595Hi alligatorsnc,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- 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 ). - Click ” Submit “.
- 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,
NikkoJuly 12, 2021 at 4:11 pm #1309822This reply has been marked as private.July 13, 2021 at 4:54 pm #1309991Hi 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,
NikkoJuly 15, 2021 at 11:39 am #1310247Ok 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, 4 months ago by alligatorsnc.
July 15, 2021 at 12:33 pm #1310255Hi alligatorsnc,
We’re glad that we could help :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Grid for custom post types’ is closed to new replies.