Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Theme Extensions

Home / Forums / Virtue Theme / Theme Extensions

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
December 18, 2020 at 3:13 pm

Hello Team Kadence!

I’m doing some work on a site and noticed that even with the Portfolio and Woocommerce extension turned off the options for the blocks still show under the Home Layout. Other options appear to be gone (as expected). I was looking at the code and found this for Woocommerce:
$field = Redux::getField( OPTIONS_SLUG, 'homepage_layout' );
unset( $field['options']['disabled']['block_three'] );
unset( $field['options']['disabled']['block_nine'] );
unset( $field['options']['disabled']['block_ten'] );
Redux::setField( OPTIONS_SLUG, $field );

But they are still present (I even disabled my child theme, and plugins, and ran just Virtue Premium). Same with the Portfolio extension. Is this a bug/something you can recreate?

  • The forum ‘Virtue Theme’ is closed to new topics and replies.