Archived topic
Issue Woocommerce Shop Category Menu
5 replies · Started by Hugo on May 12, 2020
Hi, i am new in wp
Please i have an error in the element Woocommerce Shop Category Menu.
I cant see the Category menu and only see this
"'name', 'order' => 'asc', 'hide_empty' => true, ); $product_categories = get_terms( 'product_cat', $cat_args ); if ( ! empty( $product_categories ) ) { echo '
'; foreach ( $product_categories as $key => $category ) { printf( '
%2$S
', get_term_link( $category ), $category->name ); } echo '"
Please help me
Hi there,
Where did you get the code from?
Hi,
I get in a page named Shop in the theme niche.
I was customizing this page but i don`t know why in the place that Shop Category Menu i see this code.
Did you check Execute PHP in the hook element?
I checked but i have this message "Unable to execute PHP as DISALLOW_FILE_EDIT is defined."