It’d great if this can automatically add the support for CPT.
To add support for genesis layouts for newly registered CPT, we can use:
From then, maybe you can automatically add it to the settings page of the plugin for the archive and single page of the new CPT.
I found this plugin is very handy but lack of support for new CPT
Thanks for your feedback, and the use of my plugin – muchly appreciated!
Currently the plugin cares about “hidden” layout stuff not available in Genesis settings or other plugins/ child themes — focusing on various archives, taxonomies or special pages.
General – in post screen – layout support the plugin does not provide but I think about adding something like that to the next version. Problem here is: that should only be for post types that appear on frontend and have archives available — otherwise it makes not much sense.
The current custom post type support is hand-picked from plugins/ child themes that fit into the above criteria and where it really makes sense to have more stuff available.
WooCommerce & Jigoshop have integration plugins for Genesis, as well as bbPress, these already add the inpost layout settings for Genesis. For “Easy Digital Downloads” (EDD), I made the integration plugin myself and added that too.
So all the needed logic for filtering out fitting post types might add some overbloat — but I’ll definitely think about adding some stuff to the next version (but not promising it).
Have you any specific post types from plugins or such where you’ll need it?
Thanks, Dave 🙂
I think it shouldn’t be specific specific post type, because user might use different name for a same type of cpt 🙂
Maybe you can first check all post type registered in a website. See the a screenshot here http://i.imgur.com/HNknw.jpg . Two at the bottom are my new cpt.
I already know what you mean but it’s not that easy to implement and doesn’t make sense for a lot of post types that do not interact with Genesis archives etc.
Adding inpost layout support you can always do via:
add_post_type_support( 'post_type_id_here', 'genesis-layouts' );
or combined with inpost Genesis SEO settings support: add_post_type_support( 'post_type_id_here', array( 'genesis-layouts', 'genesis-seo' ) );
For the Genesis Layout Extras plugin I need first to know if the post type supports frontend display of archives and which taxonomies or so exist. This all makes it more complicated.
I see if I could make something like that into one of the next versions.
Thanks, Dave 🙂
So, the big update for version 2.0.0 is now live, oh yeah! 🙂
It includes new alternate layout options such as “Content/Sidebar-Alt” etc. as well as improved post type support. That means you can add support for layouts (inpost screens) globally for all public post types. Also, with Genesis 2.0 you can then add additional support for Genesis Archive Settings – for public post types with ‘archive’ support.
Hope you like it.
Thanks, Dave 🙂
I just did the update and now all of a sudden all my sidebars are at the bottom of my pages. I have default set to be content/sidebar. I’ve played around a bit with the new layout settings and can’t get my sidebar back to the position its supposed to be.
I’m wondering if others are having the same issue?? What can I do to resolve this??
Please start a new topic for each new issue — this topic here is already resolved. Otherwise it confuses new users. Thanks.
Any URL handy?
What child theme do you use?
There were no options changed! All existing options have still the same ID.
To have a look myself a temporary admin account on your site would be of great help, if you want you can contact me at: http://genesisthemes.de/en/contact/
Could you try this:
Disable all alternate layout options from the plugin – means: uncheck all check boxes in the 2nd meta box.
Then set the default layout in GENESIS THEME SETTINGS to content/sidebar.
Then go again to the plugin settings and scroll below to the sections and try to set another option.
Thank you! I’m so sorry this is the first time I’ve ever posted on a forum so go figure I go about it the wrong way. Thanks for the heads up.
I took a look at my code and after some playing around I found 2 extra digits in my margin code. Somehow when I installed the app it added those 2 numbers to the code. Once I removed them it was resolved.
Thank you for your feedback, I am glad, you could resolve the issue!!
I hope you’ll find the plugin still useful.
No prob with the forum – glad you asked. If it was a bug on my behalf you would have helped in fixing it 🙂
Sorry if I did sound harsh – was not intended!
Have a great day, Dave 🙂
- The topic ‘Support for Custom Post Type’ is closed to new replies.