Marco Panichi
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Schema.org: WebPage instead of Organization?Ok thank you
Forum: Plugins
In reply to: [Custom HTML Block Extension] Possible bug when Gutenberg is disabledWorkaround: I’ve hidden editor when visual is displayed, with this code into functions.php
add_action( 'admin_head', 'theme_admin_css' ); function theme_admin_css() { echo '<style> #mceu_24:not([style*="display: none"]) + .wp-editor-area + #monaco-editor-container { display: none; } </style>'; }
I solved, client side, using jQuery.
This is the structure of the code I used, I hope it helps someone:
add_action('wp_footer', 'my_custom_select'); function my_custom_select() { $posts = new WP_Query(array( ... )); $options = ''; if( $posts->have_posts() ) { while( $posts->have_posts() ) { $posts->the_post(); $options .= "field.append($('<option>').attr('value', '".get_the_ID()."').text(\"".get_the_title()."\"))\r\n"; } } wp_reset_postdata(); echo "<script type='text/javascript'> jQuery(document).ready(function($) { var field = $('#my_custom_select'); field.empty(); field.append($('<option>').attr('value', '-1').text(\"- select -\")) $options }); </script>"; } }
Same problem here :/
Thank you very much!
If it helps anyone, here is the list of tweaks options
file_editor => boolean true disable_xmlrpc => string (6) "enable" allow_xmlrpc_multiauth => boolean false rest_api => string (14) "default-access" valid_user_login_type => string (4) "both" force_unique_nicename => boolean false disable_unused_author_pages => boolean false
- This reply was modified 1 year, 5 months ago by Marco Panichi.
- This reply was modified 1 year, 5 months ago by Marco Panichi.
Forum: Requests and Feedback
In reply to: Gutemberg in support forum!? UGLY!Thank you.
Yes! Did.
No, I solved, but I don’t remember how :/ Maybe I’ve just set everything again and then everything gone ok
Forum: Plugins
In reply to: [Yoast SEO] Unable to get rid of the automatic update notificationHi Maybellyne,
I don’t have any cache plugin; I’ve tried to deactivate and reactivate the plugin but the problem persists, see https://i2.paste.pics/e7d9e020567d5cd5ff62f09855384c6e.png
- This reply was modified 2 years, 2 months ago by Marco Panichi.
Forum: Plugins
In reply to: [Yoast SEO] Unable to get rid of the automatic update notificationHi Devnihil,
I don’t use any plugin to manage update (never used).
Forum: Plugins
In reply to: [Yoast SEO] Unable to get rid of the automatic update notificationUp
Forum: Plugins
In reply to: [Yoast SEO] Unable to get rid of the automatic update notification(it happens to me on various sites all updated to the latest version, so I assume it’s a bug of this version)
Hi @nlpro, thank you very much!
Forum: Plugins
In reply to: [Yoast SEO] “This page contains the following errors”SOLVED.
It was a conflict with the plugin LEGAL BLINK https://wordpress.org/plugins/legalblink-policy/
Thnak you for your support!
Forum: Plugins
In reply to: [WP Show Posts] [BUG?] Category disappear if has no postsHi Ejcabquina, ok, thank you.