hmmux
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Custom Post Order] Reordering breaks table styleLooks like problem was solved and everything works as it should with Advanced Custom Fields Pro 5.7.10. Thank you for reaching out.
Forum: Plugins
In reply to: [Simple Custom Post Order] Reordering breaks table style@harrison-3 is right, I turned off Advanced Custom Fields Pro (5.7.9 is my version) and everything works as expected. Anyway it’s one of the most popular WP plugins with 1+ million users as least. Why do you mark all the topics as solved?
Forum: Plugins
In reply to: [Maintenance Mode] Indicator loses style in backend when translatedThanks for quick response. I’ll post my language translation in github ??
Forum: Plugins
In reply to: [Maintenance Mode] Indicator loses style in backend when translatedNone ?? I’ll try to explain better.
Admin bar class is defined here:
if ($is_enabled) {$status = _x('Enabled' ...
The class is “Enabled” in default lang. This is where you assign it:
public function ($wp_admin_bar) {
$indicator = array('meta' => array('class' => $status...
If I translate _x(‘Enabled’) for example to ‘идэвхж??лсэн’ (Mongolian), situation in admin bar looks like this:
<li id="wp-admin-bar-ljmm-indicator" class="идэвхж??лсэн">
But in public function style() background class is defined like
#wp-admin-bar-ljmm-indicator.Enabled { background: rgba(159, 0, 0, 1) }
So the background doesn’t become red.
Forum: Plugins
In reply to: [ITRO Popup Plugin] Customizing Close button?Needed to customize Enter and Leave buttons when switching to different languages, but I’m using Polylang and not WPML anymore.
Just so if anyone finds it useful i’ll post it here:
// itro popup i18n fix
function steve_front_end_function() {
if ( !is_admin() ) {
if (function_exists('itro_update_option')) {
$lang = pll_current_language();
if ($lang == 'de') {
itro_update_option( 'enter_button_text', 'Oh jah!!!' );
}
else {
itro_update_option( 'enter_button_text', 'Right away sir!' );
}
}
}
}
add_action( 'wp_loaded', 'steve_front_end_function');
Forum: Plugins
In reply to: [ReOrder Posts within Categories] ajax not workingthanks a lot, setcookie!
wonderful timing, I just started using this plugin today and after some time I found out, that ajax is not working.For me the row fields were visible only in the first tab (ACF4).
So my quick workaround was to insert another trigger after advanced-custom-fields-row-field/js/input.js $(document).live(‘acf/setup_fields’..:$(document).live('acf/fields/tab/show acf/fields/tab/hide', function(e, postbox){ if (postbox.hasClass('acf-row-wrap')) { if (postbox.hasClass('acf-tab_group-show')) { postbox.children().each(function(){ $(this).removeClass('acf-tab_group-hide').addClass('acf-tab_group-show'); }); } } });
Forum: Plugins
In reply to: [Search Everything] Disable Frontend-Stylesheet?You can do it without modifying plugin files, just write in your functions.php:
function dequeue_badly_written_se() { wp_dequeue_style( 'se-link-styles' ); } add_action('wp_enqueue_scripts', 'dequeue_badly_written_se');