Thomas Jaggi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Visual editor not respecting tiny_mce_before_init filter in 3.9In my case:
Old:
$init['theme_advanced_buttons1'] = 'bold,italic,underline,|,bullist,numlist,blockquote,|,link,unlink,|,spellchecker,fullscreen,|,formatselect,styleselect'; $init['theme_advanced_blockformats'] = 'h2, h3'; $init['theme_advanced_styles'] = 'Icon Mail=icon-mail, Icon Phone=icon-phone, Icon Location=icon-location';New:
$init['toolbar1'] = 'bold,italic,underline,|,bullist,numlist,blockquote,|,link,unlink,|,spellchecker,fullscreen,|,formatselect,styleselect'; $init['block_formats'] = 'Header 2=h2;Header 3=h3'; $init['style_formats'] = '[ {title: "Icons", items: [ {title: "Mail", inline: "span", classes: "icon-mail"}, {title: "Phone", inline: "span", classes: "icon-phone"}, {title: "Location", inline: "span", classes: "icon-location"} ]} ]';Forum: Fixing WordPress
In reply to: comment_reply_link not moving my form?Adding the comment’s ID as a second argument to “(get_)comment_reply_link” fixed the issue in my case:
$reply = get_comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])), $comment->comment_ID);Forum: Plugins
In reply to: [Drain Hole] Drain Hole and File Corruption after download…I had an issue with corrupted files as well.
Adding “ob_end_clean();” before outputting the headers fixed it.drain-hole/models/file.php:
Before:
header ("Content-Type: $mime");After:
ob_end_clean(); header ("Content-Type: $mime");Forum: Themes and Templates
In reply to: How to hide widget title when empty?Having the same problem.
To remove the empty line and margin you could use the following workaround:
functions.php:function widget_empty_title($output='') { if ($output == '') { return '<span class="empty"> </span>'; } return $output; } add_filter('widget_title', 'widget_empty_title');CSS:
.widget .empty { display: block; height: 1em; margin-bottom: -2em; /* Assuming the h1 has a margin-bottom of 1em and the line-height is 1 */ }Great!
I guess Google just assumes that a map should load as early as possible. But as far as I know it works just fine if you include the scripts at the end of your markup.
Scribu presents some nice solutions: http://scribu.net/wordpress/optimal-script-loading.html
Couldn’t it be part of the map rendering?
+1
Try <option value=””>-select all-</option> instead.
Worked in my case, but could be browser dependant (only tested in Chrome).Forum: Plugins
In reply to: [Simple Fields] [Plugin: Simple Fields] Drag and drop images not workingI don’t really know what you mean by dragging and dropping images, but I experienced an issue with sorting field groups due to the handle being placed outside the draggable element (URL: action=edit-field-group). I repositioned the handle and it worked fine.
Forum: Plugins
In reply to: Tiger Style Administration – Code Editor Broken?You can fix it by adding this to tiger.css:
#quicktags input { float: none; display: inline; }