Community Forums › Forums › Archived Forums › Design Tips and Tricks › Featured Custom Post Types for Genesis in Gallery Pro
Tagged: custom post types, featured posts
- This topic has 12 replies, 4 voices, and was last updated 4 years, 10 months ago by asbilly92.
-
AuthorPosts
-
November 3, 2019 at 2:27 am #494421ShmickMickMember
Hello,
I'm using the Featured Custom Post Types for Genesis widget with Gallery Pro to display 6 photos on my homepage. At the moment it seems I can only have them ordered according to date (either ascending or descending). I want to be able to order them, almost like a menu.
Is this possible?
At the moment I'm using Portfolio Items but it seems I'm limited in how I can custom order them whether using Posts, Gallery Items or Product Items.
Am I missing something really basic within the Featured Custom Post Types for Genesis widget? Or is it just not possible to order them specifically how you want?
I hope I've made it clear.
https://doublemoondesign.com/
Thanks in advance for any help you can offer.
Cheers,
MickNovember 3, 2019 at 4:04 am #494423AnitaCKeymasterThe Featured Custom Post Types for Genesis plugin has not been updated in 3 years. That was a plugin a developer created on Github that never went into the WordPress plugin repository, so you use it at your own risk. Another developer expanded on that plugin and it's now a premium plugin called Six/Ten Press Featured Content{aff}.
Since the theme developer, Design by Bloom, recommended the plugin you should reach out to them for support.
You can search the plugin repository for a plugin for ordering content. I know there are quite a few out there.
Need help with customization or troubleshooting? Reach out to me.
November 3, 2019 at 4:34 am #494425Brad DaltonParticipantThe plugin includes some WP_Query parameters for order and orderby including menu_order. These are the only options coded into the form for the widget.
<label for="<?php echo esc_attr( $this->get_field_id( 'orderby' ) ); ?>"><?php _e( 'Order By:', 'featured-custom-post-type-widget-for-genesis' ); ?> </label> <select id="<?php echo esc_attr( $this->get_field_id( 'orderby' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'orderby' ) ); ?>"> <option value="date" <?php selected( 'date', $instance['orderby'] ); ?>><?php _e( 'Date', 'featured-custom-post-type-widget-for-genesis' ); ?></option> <option value="menu_order" <?php selected( 'menu_order', $instance['orderby'] ); ?>><?php _e( 'Menu Order', 'featured-custom-post-type-widget-for-genesis' ); ?></option> <option value="title" <?php selected( 'title', $instance['orderby'] ); ?>><?php _e( 'Title', 'featured-custom-post-type-widget-for-genesis' ); ?></option> <option value="parent" <?php selected( 'parent', $instance['orderby'] ); ?>><?php _e( 'Parent', 'featured-custom-post-type-widget-for-genesis' ); ?></option> <option value="ID" <?php selected( 'ID', $instance['orderby'] ); ?>><?php _e( 'ID', 'featured-custom-post-type-widget-for-genesis' ); ?></option> <option value="comment_count" <?php selected( 'comment_count', $instance['orderby'] ); ?>><?php _e( 'Comment Count', 'featured-custom-post-type-widget-for-genesis' ); ?></option> <option value="rand" <?php selected( 'rand', $instance['orderby'] ); ?>><?php _e( 'Random', 'featured-custom-post-type-widget-for-genesis' ); ?></option> </select>
1. Anything outside these options would require a rewrite of the plugin.
Or
2. Use of another plugin which includes the options you want.
There's no filter for the WP_Query args
November 6, 2019 at 7:50 am #494484asbilly92ParticipantJust seeing this and it's relevant to a project I have now with a Genesis based child theme.
2 part Question:
I realize that the Featured Custom Post Types for Genesis plugin is not current. So first part of my related question is: is there a safe/current widget out there for displaying custom post types (with custom fields) in a widget that can be brought in to say a home page?
2nd part of my question. From Brad's comment above am I understanding that even the other plugin mentioned Six/Ten Press will not do what I need (that being displaying CPT'S via a widget on the home page); do I have that correct?
Any and all answers appreciated 🙂
November 6, 2019 at 8:29 am #494485Brad DaltonParticipantNovember 6, 2019 at 9:27 am #494486asbilly92ParticipantThank you Brad, I actually did see that but didn't mention it because it doesn't look like he's done anything it for a while... is that still ok to use?
November 6, 2019 at 9:39 am #494487AnitaCKeymaster@asbilly92 what is it that you are trying to do that you think Six/Ten won't work for you? I just put that on a customer site and it works well.
*Edit: The Genesis Featured Widget Amplified plugin will REMOVE Genesis Featured Posts all together. So if you want to use that in a different area, it will be gone. Six/Ten Featured Content leaves the default Genesis Featured Posts active - but, it has a setting you can check to deactivate it if you don't need it.
Need help with customization or troubleshooting? Reach out to me.
November 6, 2019 at 11:19 pm #494504Brad DaltonParticipantTry it out and see if it still works. He did say he was going to keep it updated.
November 7, 2019 at 1:36 pm #494542asbilly92ParticipantWow Anita and Brad thank you! Makes me feel better that it will be kept updated, awesome I will try it!
Anita, all I want to do really is pull one featured 'reveiw' into a section on a home page; nothing to complicated; just didn't realize that the usual Genesis Post Type Widget didn't work with the CPT's 🙂 Now I know!
Thank both of you!
November 9, 2019 at 2:50 pm #494587AnitaCKeymasterAhhh you could have also used Genesis Featured Page Advanced then - https://wordpress.org/plugins/genesis-featured-page-advanced/. I love that plugin!
Need help with customization or troubleshooting? Reach out to me.
November 11, 2019 at 6:52 am #494611asbilly92ParticipantOk wow, another one to check out, and so this one Gene Featured Page Advanced will pull in CPT'S then?
Thank ya!
November 11, 2019 at 1:16 pm #494623AnitaCKeymaster@asbilly92 - you can add your Custom Links to CPTs with the plugin, along with custom text, custom images, etc.
Need help with customization or troubleshooting? Reach out to me.
November 13, 2019 at 8:49 am #494661asbilly92ParticipantWow, thank you so much so helpful!
Much appreciated!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.