Gregory Karpinsky (@tivnet)
Forum Replies Created
-
Forum: Plugins
In reply to: [WPGlobus - Multilingual WordPress] Known issuesThis issue has been resolved in version 1.0.2
Posting only in an additional language is not handled correctly. The main language’s title has to be entered
The beta-version WPGlobus 1.0.0 has been published today. Please try it out! Thank you!
Forum: Reviews
In reply to: [Menu Icons by ThemeIsle] Very nice !All I do is disable call to enqueue_type_stylesheet()
Forum: Reviews
In reply to: [Menu Icons by ThemeIsle] Very nice !Works for me. I have font awesome in my theme already, so I told the menu plugin that no need to load it again.
Forum: Reviews
In reply to: [Menu Icons by ThemeIsle] Very nice !BTW, I tried unchecking fonts in the menu metabox – it never worked for me. Always came back to the same all checked.
P.S. See the CSS above – I just added
Forum: Reviews
In reply to: [Menu Icons by ThemeIsle] Very nice !To disable ALL icon font CSS:
/** * Do not let Menu Icons plugin load icon fonts, because we already loaded what we need */ add_action( 'get_header', function () { if ( class_exists( 'Menu_Icons' ) ) { remove_action( 'wp_enqueue_scripts', array( 'Menu_Icons', '_enqueue_styles' ), 7 ); } }, 999 );
Then you might need a CSS like this:
.menu-item i._before { margin-right: .25em; }
Forum: Reviews
In reply to: [Menu Icons by ThemeIsle] This plugin is a piece of art!One more thing: the plugin loads all icon fonts CSS, whether used or not.
A quick workaround is:
/** * Do not let Menu Icons plugin load icon fonts, because we already loaded what we need */ add_action( 'get_header', function () { if ( class_exists( 'Menu_Icons' ) ) { remove_action( 'wp_enqueue_scripts', array( 'Menu_Icons', '_enqueue_styles' ), 7 ); } }, 999 );
Then you might need a CSS like this:
.menu-item i._before { margin-right: .25em; }
Forum: Reviews
In reply to: [WPGlobus - Multilingual WordPress] Thank you for your interest in WPGlobusI guess you are right, Jan. We are just learning how to operate www.remarpro.com. Thank you!
Forum: Reviews
In reply to: [IDB Support Tickets] Why Go Free??Sadly, I could not find one either so far…
And @patrickd is absolutely right. If the plugin author does not develop with WP_DEBUG = true, it’s a shame.Forum: Reviews
In reply to: [Testimonials Widget] I am 101% happy with this pluginOne more thing Michael,
I had to run
if ( $query->is_search ) { $query->set( 'post_type', 'post' ); }
in pre_get_posts – to exclude testimonials from search.
Was there a setting for that, which I missed?
Forum: Reviews
In reply to: [Testimonials Widget] I am 101% happy with this pluginReally, I was quite confused when I clicked on the Categories, and saw all my standard Posts cats, with some weird shortcodes, and number of “testimonials”, which had nothing to do with the reality.
I had to “invent” a special category, and then subcats, etc, etc
I sincerely believe, the custom taxonomies must be default.Forum: Reviews
In reply to: [Testimonials Widget] I am 101% happy with this pluginNow I am 101% happy! That setting should be default, IMO.
Forum: Plugins
In reply to: [Debug Bar] [Quick fix] Debug_Bar_WP_Query::render array to string notice@ben Huson:
I have print_r in my second example, when it’s not a scalar, and surrounded by <xmp> (which is a better version of)
Forum: Hacks
In reply to: get_queried_object no longer working with pre_get_posts and pretty permalinksHaving similar problem when calling is_category in pre_get_posts and the category does not exist (404 will follow).
Added patchfunction is_category( $category = '' ) { ... $cat_obj = $this->get_queried_object(); if ( is_null( $cat_obj ) ) { return false; }
Forum: Plugins
In reply to: [Debug Bar] [Quick fix] Debug_Bar_WP_Query::render array to string noticeOr this way:
if ( ! is_scalar( $value ) ) { echo '<li>' . $key . ' => <ol><li><xmp>'; print_r( $value ); echo '</xmp></li></ol></li>'; } else { echo '<li>' . $key . ' => ' . $value . '</li>'; }