Plugin Directory

Changeset 1557001


Ignore:
Timestamp:
12/18/2016 05:01:30 PM (9 years ago)
Author:
aviket
Message:

VocaTip.php updated.
font color of content changed to red
capitalzation of contents removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vocatip/trunk/VocaTip.php

    r1556997 r1557001  
    1010 */
    1111function vocatip($atts, $content) {
    12     $content = ucwords($content);
     12   
    1313    static $tooltipID = 0;
    1414    $attrs = shortcode_atts(array(
     
    2626    $tooltipID++;
    2727    $output = '<span class="tooltipster" id="tooltipster' . $tooltipID . '" title="">';
    28     $output .= $content;
     28    $output .= '<font color="red">';
     29    $output .= $content;
     30     $output .= '</font>';
    2931    $output .='</span>';
    3032    $image = $attrs['image'];
    3133    $title = $attrs['title'];
     34     $content = ucwords($content);
    3235    $tooltipContent = '<span class="tooltipster_content"><strong><b>' . $title . '</b>' . $attrs['text'] . '</strong></span>';
    3336    ?>
Note: See TracChangeset for help on using the changeset viewer.