Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter vincurekf

    (@vincurekf)

    Solved it. Thank you for your time Joy!

    In the end it was my fault. I was setting up the options only inside if(is_admin()) check, not realizing that the options should be created for the fronend too. This in turn affected the customizer UI after the preview iframe was reloaded.

    It’s still pretty weird behavior.

    Thread Starter vincurekf

    (@vincurekf)

    To add to your previous reply. I’ve had custom options in title_tagline, a text field and image field. Both hidden right after page loaded. Inspecting the code, I foud that both, li section elements and li control elements have style="display: none;" added.

    And I am 100% sure I am not hiding them.
    Just recently, before updating WordPress to version 5.2.2, everything worked fine.

    Thread Starter vincurekf

    (@vincurekf)

    Thank you for your reply @joyously , hoever, can you please share some example code? Going by the documentation I should be good. The options are rendered in the HTML. They are visible when inspecting the code. But they are being hidden after page load by, I assume, wordpress.

    Can you please provide me with example code?

    EDIT: All the top levels are defined as sections.
    Here is how I currently do it:
    https://pastebin.com/8LWxRpQT

    Basic setup, following the documentation.

    • This reply was modified 5 years, 3 months ago by vincurekf.
    • This reply was modified 5 years, 3 months ago by vincurekf. Reason: example pastebin
    Thread Starter vincurekf

    (@vincurekf)

    Fixed it by using working solution from plugin:

    $slug = 'myslug';
    $taxonomy_name = $slug . '-tag';
    //
    $labels = Array(
      'name' => 'Tags',
      'singular_name' => 'Tag',
      'search_items' => 'Search Tags',
      'all_items' => 'All Tags',
      'edit_item' => 'Edit Tag',
      'update_item' => 'Update Tag',
      'add_new_item' => 'Add New Tag',
      'new_item_name' => 'New Tag'
    );
    $args = Array(
      'label' => sprintf( '%s: Tags', $slug ),
      'labels' => $labels,
      'show_admin_column' => True,
      'hierarchical' => False,
      'show_ui' => True,
      'query_var' => True,
      'rewrite' => Array(
        'with_front' => False,
        'slug' => ltrim(sprintf('%s/tag', $slug), '/')
      ),
      'show_in_rest' => True,
    );
    register_Taxonomy($taxonomy_name, $slug, $args);
    //
    

    I am too getting this error, in addition I am getting:

    Failed to load plugin: wordpress from url https://dev.bistrotrento.cz/wp-includes/js/tinymce/plugins/wordpress/plugin.min.js

    and

    Failed to load content css: https://dev.bistrotrento.cz/wp-includes/js/tinymce/skins/wordpress/wp-content.css?ver=4.8.2

    It’s on clean installation, version 4.8.2, all plugins deactivated.

    Thread Starter vincurekf

    (@vincurekf)

    Hi,
    yes, it is similar, but since that was not resolved, and it’s your plugin that is causing the issue, i tried turning off all other plugins, but that did not helped.

    And it definitely is the joyride/subscription popup box that should appear in the menu after plugin activation.

    So can you please point me to some solution that does not involve completely turning off our multilanguage, advanced custom fields and other plugins so yours can work (which it’s not).

    Is there a way to disable the annoying joyride/popup box? PHP script i can run, some API point in your plugin i can call to tell your plugin i don’t want to see that box?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)