Affinite.io
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [GTM Kit - Google Tag Manager & GA4 integration] Price in GTM is not correctOK, I solved this with the gtmkit_datalayer_item_data filter.
Thank you for your help.Forum: Plugins
In reply to: [GTM Kit - Google Tag Manager & GA4 integration] Price in GTM is not correctDone
Forum: Plugins
In reply to: [WooCommerce] Product visibility missing in Gutenberg editorI am not talking about post status, but about product visibility – search, catalog etc.
Forum: Plugins
In reply to: [WooCommerce] Product visibility missing in Gutenberg editor// enable gutenberg for woocommerce
function activate_gutenberg_product( $can_edit, $post_type ) {
if ( $post_type == 'product' ) {
$can_edit = true;
}
return $can_edit;
}
add_filter( 'use_block_editor_for_post_type', 'activate_gutenberg_product', 10, 2 );
// enable taxonomy fields for woocommerce with gutenberg on
function enable_taxonomy_rest( $args ) {
$args['show_in_rest'] = true;
return $args;
}
add_filter( 'woocommerce_taxonomy_args_product_cat', 'enable_taxonomy_rest' );
add_filter( 'woocommerce_taxonomy_args_product_tag', 'enable_taxonomy_rest' );Hello, i used this snippet.
Here is what i see in admin https://pasteboard.co/F0ztvfFTKUdO.png

When I fill in the custom login url, wp-login.php is still accessible
Viewing 5 replies - 1 through 5 (of 5 total)