Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #619828

    Hi,

    It appears that the Category pages of the Enfold theme aren’t rendering properly. Please see screenshot of general layout of a the category item admin page and specifically the Yoast SEO plugin panel where the snippet editor field isn’t even visible. This plugin is working with most other themes we’re working with at the moment.

    Any ideas what is happening at the moment?

    • This topic was modified 8 years, 8 months ago by prembo. Reason: Fixing up image links
    #620416

    Hey prembo,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Regards,
    Rikard

    #620500

    Hi,

    I have the same problem.

    in Woocommerce categories, Yoast SEO snippet Editor not working.

    #620938

    Hi Rikard,

    I’ve added login details of the temporary account I’ve created for you in the original post.

    Thank you.
    Prembo.

    • This reply was modified 8 years, 8 months ago by prembo.
    #622966

    Hey!

    please upgrade to Enfold v3.5.4. Deactivate all plugins but Yoast, to check if one is causing any conflict.

    Regards,
    Andy

    #623504

    OK I will try to upgrade to v3.5.4 and let you know how it goes. Thanks Andy.

    #625747

    Hi,

    alright, we wait for you reply about it.

    Best regards,
    Andy

    #625896

    Hi Andy,

    I’ve upgraded to Enfold 3.5.4 and deactivated & all plugins (except for WooCommerce which is required to be able to see the Categories section of course).

    And still no difference. The category admin page still doesn’t look right and also there Yoast plugin (which has now been updated to 3.2.4) still does’t work. By the way, the there is the following error on the Category Admin page… Pretty sure this is related to the cause. None of the other admin pages (e.g. Product) have this error…

    TypeError: jQuery(‘.av-woo-colorpicker’).wpColorPicker(); is not a function, jQuery(‘.av-woo-colorpicker’).wpColorPicker() is not defined (anonymous function) — term.php:504

    Thank you.
    Prem.

    #627063
    #628199

    Hi Andy,

    I’ve tried all the steps in the “Having problems after updating to WordPress 4.5? Please read this first!” post and unfortunately, no difference. The category page is still not quite right. :-(

    Thank you.
    Kind regards,
    Prem.

    #628498

    Hey prembo,

    /wp-content/themes/enfold/config-woocommerce/admin-options.php line 253

    modify
    jQuery(‘.av-woo-colorpicker’).wpColorPicker();

    to
    jQuery(‘.av-woo-colorpicker’).wpColorPicker;

    That’s all.

    #629010

    Hi @prembo,

    Did you try @kostastd recommendations and did you have any luck with them?

    Regards,
    Rikard

    #629066

    Yeap

    error fixed

    #629088

    Hi @rikard,

    Yes just tried @kostastd’s workaround and it has sorted out the issue. @kostastd – thanks very much for sharing the fix.

    Will this fix be rolled out in the next version of Enfold?

    Thank you.
    Prembo.

    #630342

    Hi,

    We will forward this to Kriesi.


    @kostastd
    : Thanks for taking a look though I’m not sure how those things are related. :)

    Best regards,
    Ismael

    #630554

    @Ismael: Welcome.

    Error message (java inspector) said that .wpColorPicker() is not a function. So, what can be .wpColorPicker if is not function? Just tried to remove () and problem fixed. I think kriesi developers knows better.

    #631355

    Hi,

    glad you could solve the issue. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Best regards,
    Andy

    #639119

    The solution provided is NOT a solution. It renders the function useless. wpColorPicker() fails because the dependency (jQuery wp-color-picker) gets not loaded on the “product category edit screen”.

    In /wp-content/themes/enfold/config-woocommerce/admin-options.php change line 229 from
    if($hook_suffix == 'edit-tags.php' && isset($_GET['taxonomy']) && $_GET['taxonomy'] == 'product_cat'){
    to
    if( $hook_suffix == 'edit-tags.php' || $hook_suffix == 'term.php' && isset($_GET['taxonomy']) && $_GET['taxonomy'] == 'product_cat' ){

    This will make sure wp-color-picker script and style will be enqueued on term.php which is the category product edit page.

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Enfold – Category admin not working properly & can't use Yoast SEO plugin panel’ is closed to new replies.