Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter typotamer

    (@typotamer)

    Found it!

    In the plugin editor, open the file:

    testimonial-rotator/testimonial-rotator.php

    Look for:

    $show_title = isset($atts['hide_title']) ? false : true;

    and replace with:

    $show_title = isset($atts['hide_title']) ? false : false;

    Ta-Da! ??

    JeremyBorum

    (@jeremyborum)

    Perfect! Simple. This allows for titles in the quote list that do not appear in the widget. Love it.

    It’s best not to edit the core of a plugin if you can avoid it. Your changes will be overwritten when you update. There is another method you can use that seems to have more options than the widget provides.

    Add the shortcode to a text widget.
    [testimonial_rotator id=121 hide_title="true"]

    You may need to add this to your functions.php to enable shortcodes in widgets.
    add_filter('widget_text', 'do_shortcode');

    Using this method it also picked up the scrolling transition effect I had in the settings. Using the widget it only seems to use fade. I would like to see a list off all the shortcode attributes.

    Another option would be to ask the author to add the option to the rotator settings and/or the widget settings. ?? Please. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hiding Title in Rotator Widget’ is closed to new replies.