Change tooltip in tag cloud

The argument topic_count_text_callback cannot do what you need, because it doesn’t get the term ID and the taxonomy as arguments. This should be fixed in core. I think I will write a patch for that later. Update: I have written a patch for Ticket #21198. The milestone is 3.6, so the following answer will be … Read more

Jquery in Child Theme

First off, jquery is most likely already enqueued by the main theme. But if not, the proper way is to call wp_enqueue_script(‘jquery’) in a function for the action hook wp_enqueue_scripts. Example: function enqueue_jquery() { wp_enqueue_script(‘jquery’); } add_action(‘wp_enqueue_scripts’, ‘enqueue_jquery’). This code would need to be added to the functions.php file for your child theme. You would … Read more

Can I use complex HTML with Twitter Bootstrap’s Tooltip?

This parameter is just about whether you are going to use complex html into the tooltip. Set it to true and then hit the html into the title attribute of the tag. See this fiddle here – I’ve set the html attribute to true through the data-html=”true” in the <a> tag and then just added in the html ad hoc as an example.