Questions tagged [icon]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

How to change mobile menu (toggle) icon in Wordpress - Full Site Editing?

How to change mobile menu (burger) icon on Wordpress 6 using their new full site editing feature or possibly with some plugin? I would like to replace their default burger and close icons to add ...
DearBee's user avatar
0 votes
0 answers
17 views

Plugin Icon does not work correctly

When i click on the icon - nothing happens. Only 404 error appears. The menu is gone, i cant add new plugins. I don't know what the problem is?
Martina's user avatar
0 votes
1 answer
10 views

Icon not shown in Dropdown menus in Twenty Seventeen Theme

I guess I removed the image used for the dropdown menu while cleaning up my site that uses the Twenty Seventeen theme.Now it shows nothing (or a box) next to a dropdown menu which is not ...
Tutul Ahmed's user avatar
0 votes
1 answer
42 views

How to replace plugin icon?

Could be a silly question, sorry for this but is my first wordpress plugin. I would like to change the icon that appears in the update page: How to do this? Unfortunately I cannot find anything in ...
sfarzoso's user avatar
1 vote
1 answer
28 views

What is the `post-status` icon handle when using `@wordpress/icons`?

I'm trying to use the @wordpress/icons npm package: npm install @wordpress/icons --save To display the dashicons-post-status icon within the block editor: import { Icon, postStatus } from '@wordpress/...
Lewis's user avatar
  • 328
1 vote
1 answer
63 views

How can I replace the text at the top of a custom column into a icon?

Question How can I change the text at the top of the column into an icon ? Example a star or a thumbs up. Like the "Comment" field. There is no text, just a icon. The files for the plugin is ...
bjovaar's user avatar
  • 21
0 votes
1 answer
654 views

WordPress Favicon not Working For Images/Videos/PDFs

I am using WordPress with Neve theme, for my site, Favicon is working on posts/pages, but Favicons aren't visible for JPG/PNG/Videos. If I use the Theme Customizer and select the Favicon PNG image, it ...
Aditya Agarwal's user avatar
0 votes
2 answers
115 views

How to edit the default icon of Add Media button?

I am trying to replace the default Add Media icon in my Wordpress site. I searched for the same on the web and got this: How to replace default icon on "Add Media" button? This seems to work ...
Sanu_012's user avatar
  • 103
0 votes
1 answer
89 views

Hover a css icon width other color inside wp_get_attachment_image

I'm using ACF and have inside a loop: <?php echo wp_get_attachment_image( $button_image, 'small', 'sidebar-btn-icon', ["class" => "sidebar-btn-icon" , "alt"=> &...
Bouke's user avatar
  • 1
1 vote
1 answer
18 views

Change via CSS the color of social menu icons

my page is this one and I want to change the pinky color of the icons for another one. I have try several ways in here but I can't.
Paula's user avatar
  • 111
0 votes
0 answers
25 views

Widget Style - Icon Type

I would like to use custom image instead icon from Icon Picker in Widget. Problem is, that icon has size about 70x70px, but if I choose image, and I upload it there, it is much more bigger, even tough ...
SMI9's user avatar
  • 1
0 votes
0 answers
23 views

Export / import

I have a GeneratePress theme website on a multisite wordpress and I am having a problem with duplicating the site. Everything is imported correctly, but one field is always missing after import - ...
Pavel's user avatar
  • 1
0 votes
0 answers
23 views

How to remove the icons corresponding to “by” (author) and “date” from posts?

I figured out how to remove the author and date data from posts, but the corresponding icons still appear. What file or function should I edit to remove those? Update: I've figured out how to hide ...
Hack-R's user avatar
  • 113
0 votes
2 answers
123 views

How to edit original wordpress HTML source code and add icon?

Hello I want to know how to edit wordpress html and add custom html for example I want to add html element like icon beside a link. here is the code: wordpress original source code: <a rel="...
social's user avatar
  • 61
0 votes
1 answer
658 views

Placing Lock Icon on WooCommmerce "Place Order" Checkout Button (WordPress 'ignoring' Changes...)

Trying to do something I thought would be relatively simple. Here is the default woocommerce "Place order" button <button type="submit" class="button alt" name="...
Brian Bruman's user avatar
1 vote
1 answer
790 views

Add icon/badge next to posttitle of specific category

I would like to place an icon in the post title of every article from the category "plus". This is my attempt for function.php, but it doesn't work that way. Can someone please give me some ...
tizian_72's user avatar
0 votes
2 answers
218 views

SVG icons in Twenty Nineteen

The Twenty Nineteen theme uses SVG for its social icons. For example, this is the code for the Google icon: <svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="...
leemon's user avatar
  • 1,708
2 votes
2 answers
937 views

How do I remove the eye icon that shows visibility on login screen and reset password screen

I'm looking for a way to remove the eye icon that shows visibility on login screen (wp-admin and wp-login) and reset password screen (/wp-login.php?action=rp). As you can see on the screenshot below :...
Samuel's user avatar
  • 314
0 votes
1 answer
334 views

Swap SVG icons in child themes

The Twenty Nineteen theme uses inline SVG for its icons instead of icon fonts. The icons are added to the HTML code with the TwentyNineteen_SVG_Icons::get_svg() function. public static function ...
leemon's user avatar
  • 1,708
0 votes
2 answers
97 views

wp_trim_words strips dashicons

I have a strange issue. I am including dashicons on the front-end through add_action( 'wp_enqueue_scripts', 'load_dashicons_front_end' ); function load_dashicons_front_end() { wp_enqueue_style( ...
quantum_leap's user avatar
0 votes
1 answer
1k views

Font Awesome Icons only squares

I have a problem with the icons of font awesome. They are showing, though not all. Some icons just show a square and I don’t know how to fix it. So this is how it looks like: If I go to the console ...
Haidepzai's user avatar
  • 101
0 votes
2 answers
2k views

Expected an identifier and instead saw '<'

I am having difficulty adding a custom svg icon to my Wordpress Plugin, I read on this page https://developer.wordpress.org/block-editor/components/icon/ that to add a custom svg icon to my plugin for ...
Vil Ignoble's user avatar
0 votes
1 answer
2k views

Add custom SVG icons to Social Icon MENU in WordPress Twenty Seventeen Child Theme

I'm having trouble adding custom SVG icons to the Social Icon Menu in WordPress Twentyseventeen Child Theme.The menu works fine with all pre-packaged SVGs included with the theme, but I can't add ...
Kelly's user avatar
  • 291
0 votes
2 answers
3k views

Icons are missing from Visual Editor

The Problem I've been grappling with this bug over several days now to no luck. When editing either a post or a page, all icons in the Visual Editor are missing: As you can see this, includes the ...
Hashim Aziz's user avatar
0 votes
0 answers
504 views

Need to replace some text string on a title

we are using Bridge theme in Wordpress as a basis for a restaurant menu. This menu has titles of food that in the plugin template (restaurant-menu-list-item.php) are called to be printed on the screen ...
generare's user avatar
-1 votes
2 answers
573 views

how to add fa fa icons customize menu using wp_nav_menu function?

how to add fa fa icons customize menu using wp_nav_menu function? wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'footer-menu', 'menu_class' => 'quick-...
Songlyricst's user avatar
0 votes
1 answer
195 views

jQuery for Fade Preload Causes My Site Favicon to Disappear from Tab of Browser

My website's favicon that is seen in tabs of chrome disappears when i use the following jQuery. Removing this script from head makes the icon visible. But why a seemingly simple and unrelated code ...
user avatar
1 vote
1 answer
218 views

CSS to remove “comments count” icon from main page [closed]

as the title suggests, can you help me on how to remove icons on the homepage that show the comment count of each article? I do not know CSS, and I do not know exactly what to change. I am using the ...
Andrew's user avatar
  • 113
0 votes
0 answers
26 views

Custom Icon assigned to menu items not working for multi-site networks

I have assign different custom font icon to each menu item using the_title action hook and is working for single site but not working for multi-site networks. Is there any solution for this issue? How ...
qurina stha's user avatar
2 votes
4 answers
1k views

Set Site Icon programmatically (eg. using `wp cli`)

Wordpress has a "Site Icon" feature that serves correctly-sized favicons and so on to browsers. Is there a way to drive this feature programmatically, eg. by uploading media and setting an option with ...
friism's user avatar
  • 121
0 votes
1 answer
29 views

image on homepage disappeared due to change of permalink name

where to do this in Wordpress backend? I need to add the missing icons for "Smart living" and "Smart workspace" on homepage section - image is not in available in Media - It is in a section of the ...
Christel's user avatar
2 votes
2 answers
983 views

How can a default site icon be set in customizer?

From my research there are only two questions I've found around this topic on this site: How to change in customizer the “site identity” tab required capabilities how to change default icon of custom ...
user9447's user avatar
  • 1,742
0 votes
0 answers
365 views

Where to place a svg chevron down in my custom walker?

i am a bit stuck with the custom walker in my Wordpress theme. I wanted to place a svg chevron down on the first link when a submenu is detected. My theme uses a svg file with all the svg paths. The ...
studiok7's user avatar
3 votes
1 answer
2k views

How can I make my Admin Icon SVG color correctly? [closed]

I am trying to use my own Custom SVG Icon for Wordpress admin menu icon. Below is the contents of the SVG File: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-...
Thomas Harris's user avatar
0 votes
1 answer
161 views

Hide icon and rating when there is no rating entered

Some newbie question regarding PHP. I need to hide star icon when there is no rating for the post: <span class="js-average-rating"><i class="star"></i> <?php echo ...
Njegosh's user avatar
1 vote
3 answers
2k views

Font awesome Icon HTML in widgets disappear on save

I've created a Text widget and put font-awesome icon HTML in editor Text Mode <i class="fab fa-facebook"></i> but toggling to Visual mode makes the code disappears though I can see it ...
Ankit's user avatar
  • 13
0 votes
1 answer
294 views

Taxonomy Category Icon on index page

There are few plugins to add icon to taxonomy's. These plugin show icon only on taxonomy archive or template pages. In my case CPT = event & Taxonomy = event-category & categories are green,...
FRQ6692's user avatar
  • 139
0 votes
1 answer
2k views

How to Change custom post type Dashicon Color

I have seen some example of changing custom Post Type icon colors but nothing for using wp builtin dashicon. I also tried to do this .dashicons { color: red; } which is only changing color of ...
Mona Coder's user avatar
1 vote
2 answers
230 views

Font Awesome Icons Won't Work

I do have font awesome installed with my theme. The icons on my home page was working well before. I dont know why but the shortcodes of my icons now stopped working. I do have empty white square ...
Sinan's user avatar
  • 45
1 vote
2 answers
1k views

How do i add edit shortcut icon in wordpress without using selective refresh

I am developing a theme and I wonder if there anyway I can add a visual edit shortcut without selective refresh? $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; $...
Taj Khan's user avatar
  • 240
0 votes
1 answer
529 views

social icons not showing

TL;DR; social icons not showing on website that's an alias of another website. Longer version: My sister has made a wordpress website and I uploaded it for her because she couldn't work with ftp and ...
turoni's user avatar
  • 101
0 votes
1 answer
241 views

How to reduce the image size inside an icon? [closed]

The below image is a shortcode and it has a separate image. The white Gear in the image is a separate image in size of 32*32 and the blue is a background color for it. I just need to minimize the ...
Praveen Ez's user avatar
4 votes
1 answer
116 views

Extending Genericons in WordPress

With wordpress 4+, is it possible to create our own genericons and add them to the existing list that is bundled with WordPress? I know exactly what I want, which I can design in illustrator, but the ...
klewis's user avatar
  • 826
1 vote
2 answers
445 views

Jetpack social icons in other places on site

I believe Jetpack is using "Font Awesome" to display social icons. This is the css content: "\f203"; to display facebook for example. If I look in the site source I can't find anywhere the "Font ...
Grim's user avatar
  • 43
1 vote
2 answers
220 views

How to Add Custom New Published Post Counter Icon on Top of the Wordpress Site [closed]

I have a technology blog based on wordpress. I would like it to show a icon on top of the menu bar to show new post counter for today. Just like Android Authority website (check here http://prnt.sc/...
Amani Joseph's user avatar
0 votes
1 answer
396 views

Can wp_get_image_editor convert to icon?

I have a very simple question regarding wp_get_image_editor (https://codex.wordpress.org/Class_Reference/WP_Image_Editor). I can crop, resize and save an image like this: $image = wp_get_image_editor(...
Cerere's user avatar
  • 231
0 votes
2 answers
1k views

Icon over thumbnail according to post format

How would I go about adding icons over post thumbnails according to their post format. So for example if I have a post with a post format of audio the thumbnail would show everywhere(widgets, category ...
Madeirense's user avatar
1 vote
1 answer
4k views

Icon font not working on subdomains of multisite

I have a multi site installation consisting of the main domain and various subdomans. The domain and subdomain all use the one theme however the icon font of the theme doesn't display/load an any of ...
Clarus Dignus's user avatar
2 votes
3 answers
4k views

Remove apple-touch-icon link generated by WordPress

I am adding Favicons and Icons to my site manually in a more proper way than what WordPress adds by default. My WordPress is generating the below 4 lines of code automatically. <link rel="icon" ...
Vikram's user avatar
  • 289
145 votes
7 answers
63k views

Disable emojicons introduced with WP 4.2

So WP 4.2 introduced emojis (smileys) that basically adds JS and other junk all over your pages. Something some people may find shocking. How does one completely erase all instances of this?
Christine Cooper's user avatar
  • 8,709