Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme » New Versions & Updates »

Patch 128-01: fix issue where CSS for tag clouds was not being applied.


  #1  
Old Jun 6, 2016, 02:14 AM
juggledad's Avatar
juggledad
 
23,511 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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).
Attached Files
File Type: zip functions.zip (3.7 KB, 138 views)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jun 6, 2016 at 02:18 AM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PATCH 3724-01: Custom Menu/SubMenu issue after upgrading to WP 4.4 juggledad New Versions, & Updating 5 Apr 8, 2016 04:07 AM
PATCH 3710-01: fix export issue when WordPress Address and Site Address are different juggledad Old Version fixes and change logs 0 Dec 21, 2012 05:37 AM
[SOLVED] PATCH 373-03: date-modified in post/page .. patch is corrupted dnasir New Versions, & Updating 3 Jan 19, 2012 08:21 AM
PATCH 373-01: Fix issue where one word is not translated juggledad Old Version fixes and change logs 0 Dec 9, 2011 05:21 AM
Updating tag clouds tarragon Sidebars & Widgets 3 Aug 24, 2009 05:44 AM


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


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