Custom Icons are not working

This topic is: not resolved

This topic contains 6 replies, has 5 voices, and was last updated by  Sean Green 5 years, 4 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16421

    jorcheclunie
    Participant

    Custom Icon packs are not working, when you upload the file from Icomoon the preview doesn’t recongnize the icon name or wrap in order to call them. You can’t use the shortcode since the plugin doens’t give you any name for the icon.

    In the console an error appears with the following message:

    Uncaught TypeError: Cannot read property ‘replace’ of undefined

    Attachments:
    You must be logged in to view attached files.
    #16630

    masanz1280
    Participant
    Post count: 1

    They neither work for me…

    #17047

    Julian Rucker
    Participant
    Post count: 3

    I’m having this issue as well. I had the icons working originally. And they show up in the preview. When I add the container the container shows up. Is there an issue with the way my icons are setup or how they are named?

    #17794

    wpsvghelp
    Participant
    Post count: 9

    I am having this very same problem as the original poster it seems. The following line shows an error of “Cannot read property ‘replace’ of undefined”. I cannot view the Icon Preview or generate a shortcode for any Custom Icons. See attachment

    The error’s line is:

    iconClass = iconClass.replace( ‘wp-svg-custom-‘ , ” );

    …………………..

    My second attachment is a second error, which I am unsure is related, but seems to be related to this plugin as I don’t have other plugins which handle svg’s or fonts or icons in any way.

    The error in the console states:

    GET https:// t e s t . c o m/test/wp-admin/svgxuse.js 404 ()

    Any assistance or explanation would be extremely appreciated. Thank you.

    • This reply was modified 5 years, 8 months ago by  wpsvghelp.
    • This reply was modified 5 years, 8 months ago by  wpsvghelp.
    • This reply was modified 5 years, 8 months ago by  wpsvghelp.
    Attachments:
    You must be logged in to view attached files.
    #17800

    wpsvghelp
    Participant
    Post count: 9

    Edit: Edit’s not working because I edited three times buuuut… Removed all plugins. Set theme to Twenty Seventeen default WordPress theme.

    No change – icons do not show in Icon Preview or change the generated shortcode to anything but

    [wp-svg-icons icon="" wrap=""]

    #17801

    wpsvghelp
    Participant
    Post count: 9

    Here is an attachment showing the exact download I used and tried to upload. I tried using both the SVG download and the Font download, but neither work.

    Attachments:
    You must be logged in to view attached files.
    #18163

    Sean Green
    Participant
    Post count: 2

    Anyone ever find out the solution to this?

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.