Social Media Widget
Custom icons not displaying (22 posts)

  1. Mark Scott
    Posted 4 years ago #

    I'm trying to use the custom icons for this widget, but I'm doing something wrong. No icons are appearing.

    The path to my icons according to FileZilla is: /wp-content/themes/executive/images/follow-icons-32/

    So in the Custom Icons URL is: http://www.scottnunez.com.au/wp-content/themes/executive/images/follow-icons-32/

    In the Custom Icons Path is: /var/www/html/www.scottnunez.com.au/wp-content/themes/executive/images/follow-icons-32/

    Your help will be most appreciated.


  2. carolgreenie
    Posted 4 years ago #

    I just had the same problem. URL was easy enough to figure out (and yours looks right) but the custom icons pack full path is more difficult.
    You need to paste this into the top your header.php (just delete it again once you're done):


    Then when you visit your page, the full path will appear at the top of the page - this is what you need for the custom icons path - with your extra "/wp-content/themes/executive/images/follow-icons-32/" at the end.
    Good luck.

  3. Mark Scott
    Posted 4 years ago #

    Hi, thanks for your help.

    I must have done something wrong because all that displayed was the code you gave me!

  4. padiscubacd
    Posted 4 years ago #

    I am also having the same problem and I followed the instructions above. Any ideas what I am doing wrong? These are my links.



    Thanks in advance!

  5. Sheila
    Posted 3 years ago #

    Too bad the developer isn't responding to this. I know I have the correct paths (verified by host) and NADA! I really liked this widget. I'm going to try emailing him and if I get anything I'll post back here.


  6. Mark Scott
    Posted 3 years ago #

    After no reply from the developer, I ended up changing the images in the default image gallery to use the ones I wanted!

  7. Sheila
    Posted 3 years ago #

    Mark, that's smart. Of course if you ever upgrade they'll be overwritten. I wanted them to be a different size than is provided. I was hoping by using custom images the size I wanted they'd display at that size. I'll try your idea and see if that works for me. Thanks.

  8. Sheila
    Posted 3 years ago #

    Well that was not satisfactory. I was able to replace the 6 icons with the ones I wanted but only 5 of them displayed. I tried to add a new folder for 25px images but they're not seen. I ended up just using the 32s and using CSS to space them better. I wanted 25 so they'd all fit in one line and the 16px are just too small for my needs.

  9. Sheila
    Posted 3 years ago #

    I heard back from the author immediately and he was very helpful. I'd missed a key factor...

    The reason it's not working is that your icons aren't named the same as mine.

    I thought I had it in my FAQ, but apparently I forgot to include it. I will add it in a later version.

    Your icons should be named the same as mine.

    AND....he also said... sorry for not responding to that thread. I've got a lot going on right now. I'm working essentially 12-14 hours per day and the new Star Wars MMO just released, so I haven't dedicated a lot of time to checking in on my plugin. I usually just wait for e-mails to come in to help people that way.

  10. Mark Scott
    Posted 3 years ago #

    hoffmangraphics, thanks for all the updates.

    I really like the flexibility of this plugin, compared to other similar ones, so it'll be great to be able to get it working properly.

  11. DesignerElla
    Posted 3 years ago #

    Aw. One reason I tried THIS plugin is that another one required PNGs (and non-custom names, but I do sometimes prefer GIFs - btw I already had the correct path thanks to my hosts' help files before Googling/coming here). This one does, too, but it's not in the readme.txt. THAT was my answer. Oh well. Just did some more pic editing.

    I also would have preferred to either have a preface (or after) with descriptions of how my icons are custom - for Google Images (I don't mind, personally). OR alt tags for each image.

    Ah, well, but that could be a tip for a developer.

    BTW, I tried this plugin for that reason, and I stayed for better ones. :-)

  12. brianfreytag
    Posted 3 years ago #

    Also make sure your icons are named properly.

    They need to be exactly the same as what I name my icons... for example:


    You can find them by going to wp-content/plugins/social-media-widget/images/default/32 and taking a look at the file names.

  13. sn315on
    Posted 3 years ago #

    I just had a huge issue with getting my custom icons to show. I had to go to my host and find out the actual path to my site, then I put that in and it worked.

  14. mvirtualoffice
    Posted 3 years ago #


    I was able to get the customized icons to work as well. If you use hostgator, you can read a detailed instructions here (http://mvirtualoffice.com/my-virtual-technologies/social-media-widget-getting-your-custom-icons-to-work/)

    The bottom line is that I got it to work using the following format (in my case):

    * CUSTOMS ICON URL - http://wwww.yoursite.com/wp-content/icons

    * CUSTOM ICONS PATH - /home/your-cpanel-user-id/public_html/wp-content/icons

    For those of you with Hostgator, you can also read more info here (http://support.hostgator.com/articles/hosting-guide/lets-get-started/server-path-absolute-path)

    Brian, thanks a lot for your awesome widget!

  15. pmpksamy
    Posted 3 years ago #

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 434688 bytes) in /home/efyselfc/public_html/wp-includes/media.php on line 258 please help me out this error repeated all times

  16. elianab
    Posted 3 years ago #

    I wasn't able to figure out my custom icons path, so I used the Custom Services Section, and put my own icons there. It was working fine, until I added a link to LinkedIn. And then the LinkedIn icon got replaced by the word LinkedIn.
    If it's possible to make it work the way I have it, that would be great. But now I see my custom icons path probably didn't work because my icons had an upper case first letter, and the developers doesn't.

  17. Mark Scott
    Posted 3 years ago #

    Hey, I've come back to this after setting up a friend's site.

    Thanks, mvirtualoffice, your instructions worked for me!

  18. helgatheviking
    Posted 3 years ago #

    getting the custom path is obviously a huge pain.... it also changes if working on a dev server before going live. i think it would be much simpler if the plugin just looked for an /icons folder in your theme. (left the customiconsurl and path for backcompatibility)

    /* Get Plugin Path */
    if($icon_pack == 'custom') {
    	$smw_path = $customiconsurl ? $customiconsurl : get_stylesheet_directory_uri() . '/icons';
    	$smw_dir = $customiconspath ? $customiconspath : get_stylesheet_directory() . '/icons';
    } else {
    	$smw_path = SMW_PLUGINPATH . 'images/' . $icon_pack. '/' . $icon_size;
    	$smw_dir = SMW_PLUGINDIR . 'images/' . $icon_pack. '/' . $icon_size;

    i tried working on a solution that would test the existence of the file without need a path, getimagesize() seemed promising, but didn't play well when the image wasn't there (was supposed to return false).

  19. EvolveDesigns
    Posted 3 years ago #

    This is probably a stupid questions but I'm first and foremost a designer, this is my first developer job on a dynamic site like wordpress, but my client's hosting is through godaddy.com, does anyone know where I can find the absolute path there? I don't know why its so tedious to link these images up this way.

  20. helgatheviking
    Posted 3 years ago #


    create the file they discuss, upload it to the location you need to know the path to, and then visit that URL. the resulting page will tell you the path.

    agree this is highly inconvenient, b/c most people just flat don't know the file path. the point is that the plugin performs a check as to whether the icon image exists before displaying it, but i'd rather take a broken image once than have to deal w/ paths.

    as a "designer" be prepared from some headaches. have you considered working with a wordpress developer?

  21. DanielL5
    Posted 3 years ago #

    Totally unnecessary to require both a URL and the full Path. Bad dev practice. I am tempted to ditch this plugin purely because of the awkward nature of adding custom icons. It should be really easy.

  22. helgatheviking
    Posted 3 years ago #

    agreed. the if(file_exists()) that checks if the image is there is overkill. if we provide the wrong URL, show us a broken image. a broken image is well worth the ease of not needing to know full paths. if this were on github i'd send a pull request... that's a pretty easy patch.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Social Media Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic