Support » Plugin: Easy Property Listings » How to fix missing SVG Icons with DIVI Theme

  • ResolvedPlugin Author Merv Barrett

    (@mervb1)


    We introduced a adjustment to how SVG Icons are output into the theme using the wp_body_open function that has been added to WordPress 5.2 and should be added by theme developers to the header.php file to allow hooking inside the <body tag.

    The Divi theme is missing this new function, so we created a simple helper plugin you can install to load the SVG icons using the Divi Themes, et_before_main_content hook.

    Visit our Code library to download the simple plugin or see the readme on adding the hooks to your functions.php file

Viewing 1 replies (of 1 total)
  • Plugin Author Merv Barrett

    (@mervb1)

    We have implemented a better solution in Easy Property Listings 3.4.32 so the above process is NOT required.

    We re-factored the fix and for themes missing the wp_body_open function we are first attempting to load the icons using wp_body_open, but if they are not loaded then we are falling back to load in the footer which fixes both the favicon and missing icons.

    ​= 3.4.32 September 23, 2020 =
    Fix: Further enhancements to loading SVG icons as many themes are missing wp_body_open. SVG’s now fallback to load in the footer.

    Full Change Log

Viewing 1 replies (of 1 total)
  • The topic ‘How to fix missing SVG Icons with DIVI Theme’ is closed to new replies.