Dzikri Aziz
Forum Replies Created
-
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] CrashesHello,
Can you make sure that the core WordPress files are complete? If so, please try the plugin with the default theme.
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] Add DripIconsThe easiest way is to create a font pack with Fontello.
- Grab the SVG icons from GitHub
- Follow the video guide in the FAQ
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] Issues with W3Hello,
Unfortunately, I’m not familiar with W3TC to suggest anything. I’ll find some free time to try and debug the issue.
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] Icon Pack not appearingNope, no change was made related to font packs. Perhaps you need to reenable the pack from the settings meta box? See https://ps.w.org/menu-icons/assets/screenshot-7.png?rev=979807
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] Icons from font awesome? Removed a lot of icons…Please see the Upgrade Note.
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] how to get Image icon urlExample code:
$items = array(); foreach ( wp_get_nav_menu_items( 2 ) as $item ) { $item->icon = array_filter( Menu_Icons_Meta::get( $item->ID ) ); $items[] = $item; }
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] how to get Image icon url$items = array(); foreach ( wp_get_nav_menu_items( 2 ) as $item ) { $item->icon = array_filter( Menu_Icons_Meta::get( $item->ID ) ); $items[] = $item; }
Example result:
Array ( [0] => WP_Post Object ( [ID] => 1363 [post_author] => 1 [post_date] => 2016-05-26 16:08:05 [post_date_gmt] => 2016-05-26 16:08:05 [post_content] => [post_title] => Home [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => home-2 [to_ping] => [pinged] => [post_modified] => 2016-05-29 12:20:36 [post_modified_gmt] => 2016-05-29 12:20:36 [post_content_filtered] => [post_parent] => 0 [guid] => https://src.wordpress-develop.dev/site02/?p=1363 [menu_order] => 1 [post_type] => nav_menu_item [post_mime_type] => [comment_count] => 0 [filter] => raw [db_id] => 1363 [menu_item_parent] => 0 [object_id] => 1363 [object] => custom [type] => custom [type_label] => Custom Link [title] => Home [url] => https://src.wordpress-develop.dev/site02/ [target] => [attr_title] => [description] => [classes] => Array ( [0] => ) [xfn] => [icon] => Array ( [type] => dashicons [icon] => dashicons-admin-home [position] => before [vertical_align] => middle [font_size] => 1.2 [svg_width] => 1 [image_size] => thumbnail ) ) [1] => WP_Post Object ( [ID] => 1364 [post_author] => 1 [post_date] => 2016-05-26 16:08:05 [post_date_gmt] => 2016-05-26 16:08:05 [post_content] => [post_title] => [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => 1364 [to_ping] => [pinged] => [post_modified] => 2016-05-29 12:20:36 [post_modified_gmt] => 2016-05-29 12:20:36 [post_content_filtered] => [post_parent] => 0 [guid] => https://src.wordpress-develop.dev/site02/?p=1364 [menu_order] => 2 [post_type] => nav_menu_item [post_mime_type] => [comment_count] => 0 [filter] => raw [db_id] => 1364 [menu_item_parent] => 0 [object_id] => 1086 [object] => page [type] => post_type [type_label] => Page [url] => https://src.wordpress-develop.dev/site02/about [title] => About [target] => [attr_title] => [description] => [classes] => Array ( [0] => ) [xfn] => [icon] => Array ( [type] => image [icon] => 963 [url] => https://src.wordpress-develop.dev/site02/wp-content/uploads/sites/2/2012/12/triforce-wallpaper-150x150.jpg [position] => before [vertical_align] => middle [font_size] => 1.2 [svg_width] => 1 [image_size] => small-icon ) ) [2] => WP_Post Object ( [ID] => 1365 [post_author] => 1 [post_date] => 2016-05-26 16:08:05 [post_date_gmt] => 2016-05-26 16:08:05 [post_content] => [post_title] => [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => 1365 [to_ping] => [pinged] => [post_modified] => 2016-05-29 12:20:36 [post_modified_gmt] => 2016-05-29 12:20:36 [post_content_filtered] => [post_parent] => 0 [guid] => https://src.wordpress-develop.dev/site02/?p=1365 [menu_order] => 3 [post_type] => nav_menu_item [post_mime_type] => [comment_count] => 0 [filter] => raw [db_id] => 1365 [menu_item_parent] => 0 [object_id] => 1062 [object] => page [type] => post_type [type_label] => Page [url] => https://src.wordpress-develop.dev/site02/amazon-store [title] => Amazon Store [target] => [attr_title] => [description] => [classes] => Array ( [0] => ) [xfn] => [icon] => Array ( ) ) );
Notice the
icon
key added to each item. For image icon in the last item on the above example, the attachment ID is963
and the selected size issmall-icon
which you can pass towp_get_attachment_image*
functions to get the actual URL.Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] Last 3 menus have no iconsThis is related to your PHP settings. See
https://www.ads-software.com/support/topic/menu-size-limit
https://core.trac.www.ads-software.com/ticket/14134Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] Mobile menu with SVG icons falls apartLooks like your theme has some special styling applied for small screens. Please consult the author and ask for guidance about this. I’m not familiar with the theme.
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] How to remove font awesome stylesheet linkSo I’ve taken a look at the source HTML of your site. You’re correct that the Font Awesome CSS from Menu Icons is still loaded. However, it’s being loaded after Menu Icon’s CSS file (
menu-icons-extra-css
). This means that there’s an active plugin/theme that’s loading/enqueuing that CSS.You may ask “Why didn’t the said plugin load its own FA CSS?”. It’s because the one from Menu Icons has greater version number and so Menu Icons replaced its source URL.
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] How to put a space between the icon and textThank you for reporting this issue. Please update to
0.10.1
.Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] How to remove font awesome stylesheet linkHello,
Font Awesome’s CSS shouldn’t be loaded when you disabled it. Perhaps you’re using a caching plugin and need to flush/clear the cache first?
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] icons doesn't appearHello,
Please see the FAQ and make sure your theme doesn’t remove the default hooks in the menu items (please consult the theme author about this).
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] menu test popupYou will need to write a custom css rule for this. The plugin doesn’t have this feature.
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] Cant see any icon in adminThis should be fixed in the latest version.