• Resolved rolandassisla

    (@rolandassisla)


    Hi

    Is it possible to use mine svg icons?
    Replace the plugin svg sprite with mine svg sprite?
    Or
    Can I replace specific icons svg with mine svg, I want to replace (eg. I use only F, IN, Mail)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Robin Cornett

    (@littlerchicken)

    Sure, you can do that. It’s a simple filter to disable Scriptless from loading its own SVG icons:

    
    add_filter( 'scriptlesssocialsharing_svg', '__return_false' );
    

    If the IDs in your SVG sprite file don’t match up with what the plugin expects, you can change the IDs by following the example in the FAQ.

    This code can be added to your theme’s functions.php file–just please make sure your files are backed up and practice safe coding. Hope this helps get you started.

    Thread Starter rolandassisla

    (@rolandassisla)

    Thank you

    Everything works fine

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SVG replacement’ is closed to new replies.