MNetto
Forum Replies Created
-
Forum: Plugins
In reply to: [Resizable Editor Sidebar] Sidebar vanishing in latest WPI can confirm this issue. Some websites and users are affected, others not.
I managed to get a scroll-to-top by adding the following JS in my theme:
$('#em-wrapper').on('click','.em-pagination.em-ajax a',function(){
$('html, body').animate({
'scrollTop': $('#em-wrapper').offset().top - 0
},'slow');
});For a page load on pagination links you need to deactivate ajax. But I don’t know how to do that and if this is even possible in the current version. I tried
define('EM_AJAX', false);
in config.php, but that doesn’t work.Forum: Fixing WordPress
In reply to: document files missing in media library when opened via media tabOkay then I know that. Thank you.
However, I think it’s a bit unclear that you can add images, video and audio, but no files. The File block is a media block too.Forum: Fixing WordPress
In reply to: document files missing in media library when opened via media tabHi Sania, thanks for your reply. I encountered the issue on a blank WP install, latest version, default WP theme.
The PDF files are present in media library, but not visible when you open the media library like discribed.
Forum: Developing with WordPress
In reply to: Update custom field when post is stickyThanks for your reply. I use several custom fields as post layout options and one should be a checkbox for making the post sticky. I know, it doubles with the native checkbox in the sidebar, but to be more foolproof for the client I’d like to extra add it in one place with my other options. That’s why I need to sync a custom field with the sticky status (if possible).
Thank you for your quick response. I changed the shortcode accordingly but all values still end up in a single option:
<option value="ChinaPeruNepal">ChinaPeruNepal</option>
@joneiseman: Thanks, I forgot about this option. But it shouldn’t be on dashboard at all, since booking is globally disabled. Client editors are wondering what ‘Events Manager Bookings’ is.
Forum: Plugins
In reply to: [Simple Page Ordering] No click & drag using v2.4.2 and WordPress 6.0.2Please fix/undo this. Or make it optional. Since 2.4.2 I can not order ACF field groups anymore ??
For the time being I rolled back to 2.4.1Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] access for editor roleWorks. Thank you!
Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] access for editor roleSorry ??. In fact it’s not default in Polylang.
I had overlooked that I once gave editors permission to Polyang in functions.php:add_action( 'admin_menu', function() { if ( ! current_user_can( 'manage_options' ) && function_exists( 'PLL' ) ) { add_menu_page( __( 'Strings translations', 'polylang' ), __( 'Languages', 'polylang' ), 'edit_pages', 'mlang_strings', array( PLL(), 'languages_page' ), 'dashicons-translation' ); } } );
But still, it would be handy to optionally allow editors (translators) to use TTfP.
Forum: Plugins
In reply to: [My Favorites] js doesn’t work in resultThank you very much! Now it works.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] excerpt shows custom field nameWorks. Thank you!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] indexing ACF file fieldThanks! Bookmarked.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] indexing ACF file fieldThank you. It works, but not if the field is a subfield of a repeater or flexible content field. Can this be done with subfields too?