[Support request] lightweight-social-icons

Home Forums Support [Support request] lightweight-social-icons

Home Forums Support lightweight-social-icons

  • This topic has 4 replies, 3 voices, and was last updated 2 years ago by David.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #919295
    Diego

    Hello,
    I would like to add the icon of the website bodas.net to the plugin, but I don’t know how can I do it?

    Please, could you help me?

    Regards,

    Diego.

    #919357
    David
    Staff
    Customer Support

    Hi there,

    which icon or icons do you need to add?

    #919364
    Diego

    Hello!
    I would like the icon of the weddding site: bodas.net
    Its any option of upload a custom icon?

    Regards,

    Diego.

    #919424
    Sebastien

    Hi Diego,

    Just to share my last research..:

    The fastest method to use icons is SVG Inline, but it is not the easiest !
    so,
    * For using classic social icons into GP theme you can use this one (it seems you can also add custom svg icons with this plugin): https://wordpress.org/plugins/gp-social-share-svg/
    * For custom svg icon anywhere, you need to “build” or to copy the <svg> inline code from Icons you need (from website/adobe/icon dedicated website suppliers) into a html bloc.

    What I did to “simply” reuse svg inline is:
    * Build a CPT custom post type called Icon
    * Add a post per Icon
    * Add thesvg inline code in a field
    * Then you can call it using shortcode – get_field() function or/and you can use relationned field of ACF plugin

    good luck =)

    I’m novice, so wait for David he probably has a better idea !! 😀

    #919446
    David
    Staff
    Customer Support

    That particular site is custom built and it uses images for its icons.
    You could simply add your own images PNG’s or SVGs which would be best. To use SVG images in WordPress you need a plugin like Safe SVG or SVG Support.

    The method that Sebastien mentions ( thanks Sebastien ) is the best way to go about creating your own icon library but requires knowledge of Custom Post Types and some PHP.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.