Karem
Forum Replies Created
-
Forum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu item————-!!!!CAUTION – ITS NOT WORK AT ALL – ITS breaks THE THEME!!!————-
\\\\\\//////
( (0) (0) )Forum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemArtisteer support say:
I see the issue that you faced.
This issue is related to the fact that our menu items do not support html tags anymore, since there were some issues when using long menu items in WordPress.
If there was a long name of the menu item, WordPress cut it somewhere and put three dots instead of showing the whole name.
Because of this some tags were incorrectly cut and there were some issues with displaying.However, if you want to use tags like <i>, <b>, <span>, etc., I can provide you with a workaround.
You need to go to the file your_theme/library/navigation.php, line 273
change this:
$title = strip_tags(apply_filters(‘the_title’, $this->title, $this->id));
if (theme_get_option(‘theme_menu_trim_title’)) {
$title = theme_trim_long_str($title, theme_get_option($level == 0 ? ‘theme_menu_trim_len’ : ‘theme_submenu_trim_len’));
}to this
$title = apply_filters(‘the_title’, $this->title, $this->id);This workaround will help use tags in menu item names.
So now <span> tag that you’re using to insert an icon won’t be cut, and you’ll see the icon in the navigation menu.
Please let me know if you have any issues as for this workaround.
Best regards,
Elvira B
Extensoft, Inc.
/ Artisteer
Artisteer – The Automated Web Designer
https://www.artisteer.comForum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemIt’s Done
When I find a solution to the problem – keep you posted
TNXForum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemOk i send e mail to theme auther
now i want to donate to
link please?Forum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemcan you try to find way it’s work under all wp default themes & not work in Artisteer theme?
1. this is my css file – not work even when i add css code
https://www.tzahalah.halevi.info/wp-content/themes/tzahala11/style.css2. this is wp default css file – working without adding any code
https://www.tzahalah.halevi.info/wp-content/themes/twentytwelve/style.cssForum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemno it’s not Office tools
but please see when i add ‘.menu-item-76’ in ‘CSS Classes’ field in ../wp-admin/nav-menus.phpForum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemForum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemArtisteer it’s generator of theme program
it there something to do ?
Forum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemmy theme it’s Artisteer theme
when i use ‘Twenty Thirteen’ theme && all default themes of wp – its works without adding any CSS!!!what you think about this?
Forum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemForum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemOK its works
what about the other icons in other pages?
seems it’s do not work
Forum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemdid you mean to Put that code in ‘CSS Classes’ field of nav-menu or in ‘style.css’ file?
Forum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemSorry
https:// Try AgainForum: Plugins
In reply to: [WP SVG Icons] SVG icons in menu itemi put this code
<span data-icon=""></span>
in the page title & page body & menu item – [in ../wp-admin/nav-menus.php inside ‘title’ field]
but in menu item i didnt see any iconthe site is here
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] newsletters archive pageHele
is theres a news for Newsletters Archive Page?