Site logo

[Support request] Add one icon

Home Forums Support [Support request] Add one icon

Home Forums Support Add one icon

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1903733
    Matt

    This seems like it should be simple but I can’t figure out how to put an icon in my content. All the tutorials I look up mention a plugin or install 1500 icons, I would prefer to not use a plugin or install/load 1500 icons. I just need to use a checkmark icon in various locations on my site. Please help. I’ve moved my site from a page builder so I’m a html/css newb.

    #1903747
    Matt

    So… it looks like wordpress has some built-in icons. It says to add this to the functions.php file. Is this correct?

    function my_theme_styles() {
    wp_enqueue_style( ‘dashicons’ );
    }

    #1903808
    Ying
    Staff
    Customer Support

    Hi Matt,

    You are NOT supposed to modify functions.php file unless you are using a child theme:
    https://docs.generatepress.com/article/using-child-theme/

    To add PHP code, you can use one of the methods introduced in this article:
    Adding PHP: https://docs.generatepress.com/article/adding-php/

    I would recommend using GenerateBlocks plugin as your block editor, it has some built-in icons, and you will also be able to use custom icons.

    Here’s a tutorio videos on how to add custom svg icons in GB:
    https://www.youtube.com/watch?v=wdzFximLiQs&t=2s&ab_channel=GenerateBlocks

    Hope this is helpful 🙂

    #1903844
    Matt

    I tried the GenerateBlocks and it crashed the page I used it on.

    There has been a critical error on this website.

    Once I removed it the page loaded.

    ugh

    #1903856
    Leo
    Staff
    Customer Support

    That sounds strange – we haven’t had any reports on this.

    GB is used by lots of users now and most of our site library templates as well so there shouldn’t be an issue like this:
    https://generatepress.com/site-library/

    Does the issue happen if you disable all plugins except GP premium and GenerateBlocks?

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