Jason Ryan
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] Custom Taxonomy Not Registering?Here is the output from the Taxonomy category I created:
function cptui_register_my_taxes_video_category() { /** * Taxonomy: Video Categories. */ $labels = array( "name" => __( 'Video Categories', '' ), "singular_name" => __( 'Video Category', '' ), "menu_name" => __( 'Video Categories', '' ), "all_items" => __( 'All Video Categories', '' ), "edit_item" => __( 'Edit Video Category', '' ), "view_item" => __( 'View Video Category', '' ), "update_item" => __( 'Update Video Category', '' ), "add_new_item" => __( 'Add New Video Category', '' ), "new_item_name" => __( 'New Video Category', '' ), "parent_item" => __( 'Parent Video Category', '' ), "search_items" => __( 'Search Video Categories', '' ), "not_found" => __( 'No Video Categories Found', '' ), ); $args = array( "label" => __( 'Video Categories', '' ), "labels" => $labels, "public" => true, "hierarchical" => false, "label" => "Video Categories", "show_ui" => true, "show_in_menu" => true, "show_in_nav_menus" => true, "query_var" => true, "rewrite" => array( 'slug' => 'video-category', 'with_front' => true, ), "show_admin_column" => false, "show_in_rest" => false, "rest_base" => "", "show_in_quick_edit" => true, ); register_taxonomy( "video_category", array( "ultimate_video" ), $args ); } add_action( 'init', 'cptui_register_my_taxes_video_category' );
Forum: Plugins
In reply to: [Custom Post Type UI] Custom Taxonomy Not Registering?Hello –
Sorry for the confusion, see if I can clear this up a bit ??
For example, on the site I used VC’s Grid Builder to create something to grid out CPT’s on a page, and I had added the Post Categories item within the element. When I view the page with the post grid, I get this:
https://screencast.com/t/idFYh5u1Dy3
For testing sake, I had tried attaching WP Core Categories to the CPT and that worked fine and the category had showed where it says “uncategorized” in the screenshot.
For further testing just to rule out VC as the culprit, I installed another plugin that creates “Widgets” that allows for showing a number of custom post types in the footer (like Recent Posts), that too would only show the categories as “uncategorized” as well.
So I am not sure where to go from here and not sure if it is something I had missed in creating the the category taxonomy for my CPT.
Thanks for your time.
Hello –
I have done that and it shows “0” in the UM > User Roles screen:
https://www.screencast.com/t/16rfTxmoTz
Even though there are two Members listed in Users > All Users, which is what prompted me to post here.
Thanks.
+10
OMG, Wildcards stopped working altogether with 4.7.1!!!
Forum: Plugins
In reply to: [Plugin: Custom Post Type UI] – List related posts of same categories.You can now ignore this request as I have to move everything for RCP to the Profile page and create the tabs there. After much frustration, it finally dawned on me that the reason I couldn’t output RCP code within account tabs is because you guys have wrapped the entire Account Page in a form tag! Which makes placing forms within newly created Account Tabs useless. Not sure why you wouldn’t just wrap each of the individual “forms” in their respective tabs, but the whole thing… seems weird.
Disregard the last comment about “what goes into the About tab”, I didn’t realize that you need to build the “form” for it that displays information there.
Issue still exists where the About tab needs to be present in order for any custom tabs to work though.
Thanks
Also, wanted to circle back about the “About” tab. Even though I have added some text by clicking the “add” link in the screenshot, this constantly shows up by default in the about tab?
https://screencast.com/t/wpaTv9xK
What is actually supposed to be here? Am I missing something?
Thanks
Hello –
The plugin developer had made some updates to their plugin and there is no longer any conflict.
I apologize for any inconvenience.
Hello –
Here is the code which was taken from the Ultimate Member website in the documentation section:
/* Extend main profile tabs */ add_filter('um_profile_tabs', 'add_custom_profile_tab', 1000 ); function add_custom_profile_tab( $tabs ) { $tabs['favorites'] = array( 'name' => 'My Favorites', 'icon' => 'um-faicon-heart', ); return $tabs; } /* Then we just have to add content to that tab using this action */ add_action('um_profile_content_favorites_default', 'um_profile_content_favorites_default'); function um_profile_content_favorites_default( $args ) { echo 'All of your favorite posts should show here!'; }
Thanks for looking into this, much appreciated.
Hello –
I had changed it to “first name.last name” and it seems to have corrected it. Haven’t tried reverting back to see if it was just a glitch though. I’ll report back.
Thanks.
Any luck with that? I am looking to dive into RCP as well.
Forum: Plugins
In reply to: [Smart Passworded Pages] Menu Order instead of Post Date?Hello –
Just recently discovered this as we were having the same issue with being redirected to the wrong “first page” upon login. I hate making modifications to plugin files but had no choice in this instance. When can we expect this to be included into the plugin? This is a far more logical solution and provides an easier way to order what page comes first upon redirection.
Thanks.
Nevermind, I found them.
Do you mean you can’t “Network Activate” the plugin and have it work across a network, or you can install it and then activate it on a single site within the network?
Curious as I just found this plugin and need it for a multi-site installation, but just for a single site within the network.