Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions & Updates (http://forum.bytesforall.com/forumdisplay.php?f=54)
-   -   Patch 128-01: fix issue where CSS for tag clouds was not being applied. (http://forum.bytesforall.com/showthread.php?t=23499)

juggledad Jun 6, 2016 03:14 AM

Patch 128-01: fix issue where CSS for tag clouds was not being applied.
 
1 Attachment(s)
Issue: some version between WP 4.1 and WP 4.5.2 changed the way the link HTML was being produced for tag clouds. This change caused the CSS in 'widgets_tagcloud.css' to be ignored. The following fix will correct this issue.

edit function.php and change line 242 from
HTML Code:

        $tags = preg_replace_callback("|(class='tag-link-[0-9]+)('.*?)(style='font-size: )(.*?)(pt;')|",
to
HTML Code:

        $tags = preg_replace_callback("|(class='tag-link-[0-9]+)( t.*?)(style='font-size: )(.*?)(pt;')|",
or you can replace the existing 'montezuma/functions.php' with the attached file (after unzipping it).


All times are GMT -6. The time now is 06:03 AM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.