John Kostly
Forum Replies Created
-
Ok, this is happening with all base level terms in the default category.
The one reported above isn’t respecting the theme settings for the headers
And this one, isn’t showing the sidebar at all.I’ve disabled all plugins, except Spectra and astra, and the problem continues. No error messages.
I can tell you it is absolutely with the #secondary item, the CSS for this is not the same and for some reason its getting set to width 100% when it should be less then this. I don’t think the media query is setup right, or maybe a css file isn’t getting included.
This was fine, I regenerated assets and then I noticed it was broken. Not sure if the regenerated assets failed.
Forum: Plugins
In reply to: [Spectra - WordPress Gutenberg Blocks] Spectra Hooks@mohsinbsf I fixed it, the hooks above are right. I’m not sure what I did wrong, but eventually I started getting it to work.
add_filter( ‘uagb_post_query_args_grid’, ‘filter_post_query’, 12, 2 );
add_filter( ‘uagb_post_query_args_masonry’, ‘filter_post_query’, 12, 2 );
add_filter( ‘uagb_post_query_args_carousel’, ‘filter_post_query’, 12, 2 );Got a different bug, but will file another issue.
Forum: Plugins
In reply to: [WooCommerce] Custom Taxonomy CPT assigned to WooCommerce Breaks TaxonomyYou all did me dirty on this one. Don’t expect any more help solving your bugs. Fix your process.
Forum: Plugins
In reply to: [WooCommerce] Custom Taxonomy CPT assigned to WooCommerce Breaks TaxonomyTried it again, after update, the taxonomy page is working again. Not showing the custom taxonomy though on the admin edit page. From what I can tell, the queries are also not begin handled right.
- This reply was modified 6 months, 3 weeks ago by John Kostly.
Forum: Plugins
In reply to: [WooCommerce] Custom Taxonomy CPT assigned to WooCommerce Breaks TaxonomyThis isn’t custom code, this is a WordPress standard
Install CPT UI, or any of the others (there are dozens).
Add a taxonomy to products.
Share the taxonomy with another content type.
Create multiple types of content assign them to terms in the custom taxonomy?
Notice the taxonomy page not showing anything except products now? And its showing blank pages? Its broken. No Code needed. CPT isn’t custom code, its using core wordpress functionality.Go back into CPT UI, turn off products for the custom code. See how its NOW showing the custom content again? Wow!
The shop takes over the CPT Taxonomy display as soon as you assign it to products. I see no way to stop this from happen. It happens with all themes, and all Custom Post Type plugins that follow the WordPress standard. Your Woocommerce is the one doing things to break WordPRess.You’re ignoring the bug, and this is hurting your users.
- This reply was modified 6 months, 3 weeks ago by John Kostly.
I’m now having problems with the join beign ignored, I believe its because the taxonomy isn’t registered, so the join is getting removed by wordpress or ignored. Ommph.
I created a custom control for the woocommerce products instead. I store it with the taxonomy, but I am keeping the taxonomy unregistered for now. Once I can tap into Spectra better, I will use that to display them with a custom modification to their query. That will give me products on the pages that match my categories. Thank you for your time and help.
No errors are in the logs.
As far as I’m concerned, they probably just have to fix it so there is an if statement in there, and that if statement loads the post template when it comes accross a post type it doesn’t know. If I could find the hook, I could probably do it myself.
Its with Woo Commerce, as you said. I tried multiple themes, including wordpresses default ones.
WooCommerce is about to deny the issue entirely and not provide support. Which is crushing.
I may have to hack something to add the category manual as an extra field
Forum: Plugins
In reply to: [WooCommerce] Custom Taxonomy CPT assigned to WooCommerce Breaks TaxonomyIts probably a minor bug as well, as EVERYTHING works but the actual display. I suspect its not calling the template of the content type I have in there, and so its only showing empty blocks.
Is there any way to turn off the woocommerce display of the multiple view of the new CPT only. If I can use my theme’s loop I would be happy. But it appears that Woo is taking over the theme, and adding their magic.
I just need a way to reference these taxonomies on the products so I can show them on content type. This is a massive problem, and I’m amazed you’re not having more people complaign.
I turn it off because it breaks it, sorry. It was on. Here, I can leave it on and provide a link.
NSFW when its working: https://pricelessgemstone.com/toy-types/all-toy-types/ (Its not)
Let me know when you see it, it just doesn’t list anything but products. It clearly has spaces, but its either a templating problem or another issue.
Honestly, I don’t care if products show up on this at all on this taxonomy. I only want to reference them for showing on other content types.
- This reply was modified 6 months, 3 weeks ago by John Kostly.
Yea, its happening in all of the CPT plugins. woo Commerce isn’t playing by the wordpress rules.
I’m about to use a different platform as they’re giving me the “Custom Code is beyond this forums capabilities”
I’m amazed more people are not complaining about this. I see a lot of people doing this in the past, and it worked. But now its failing, and they’re abandoning these customers.
function cptui_register_my_taxes() {/**
* Taxonomy: Toy Types.
*/
$labels = [
“name” => esc_html__( “Toy Types”, “pricelesssgemstone” ),
“singular_name” => esc_html__( “Toy Type”, “pricelesssgemstone” ),
];
$args = [
“label” => esc_html__( “Toy Types”, “pricelesssgemstone” ),
“labels” => $labels,
“public” => true,
“publicly_queryable” => true,
“hierarchical” => true,
“show_ui” => true,
“show_in_menu” => true,
“show_in_nav_menus” => true,
“query_var” => true,
“rewrite” => [ ‘slug’ => ‘toy-types’, ‘with_front’ => true, ‘hierarchical’ => true, ],
“show_admin_column” => true,
“show_in_rest” => true,
“show_tagcloud” => true,
“rest_base” => “toy-types”,
“rest_controller_class” => “WP_REST_Terms_Controller”,
“rest_namespace” => “wp/v2”,
“show_in_quick_edit” => true,
“sort” => false,
“show_in_graphql” => false,
];
register_taxonomy( “toy-types”, [ “post”, “kinky_activities” ], $args );Forum: Plugins
In reply to: [WooCommerce] Custom Taxonomy CPT assigned to WooCommerce Breaks TaxonomyMore research into it, I tried doing it with other plugins then CPT. It breaks on all of them.
I tried it with all themes. It breaks on the default themes.
Meaning this is a Woocommerce bug.
Also, this was working at one point, and now it is definitely broken. I see many other people mention this was the way they did it, and it worked. So this is pretty standard. I’m amazed no one else complained.
This is using default functionality of WordPress. This needs to work, your customers want to do this for a verity of reasons. If we can’t add taxonomies across content type, we got a serious issue. I suspect its a small bug as well, and just with the data. Again, the pager works, and the counts work. ONLY the actual display of the products fail.
I’m going to have to drop support for woocommerce, and go with a different solution if this is not going to even be supported. You probably should consider this a bug and fix it, but its your business.
- This reply was modified 6 months, 3 weeks ago by John Kostly.
- This reply was modified 6 months, 3 weeks ago by John Kostly.