WordPress.org

Ready to get started?Download WordPress

Forums

WP Nivo Slider
remove caption (7 posts)

  1. blueyez
    Member
    Posted 4 years ago #

    how can i remove caption?

    i want to remove:
    Link to post & Post title ( removed editing the .php )
    Caption & Image Title

    <img width="940" height="350" src="http://website.com/wp-content/uploads/2010/03/111.jpg" class="attachment-post-thumbnail wp-post-image" alt="" title="" />

    req: add an option to remove caption / hack.

  2. xinfo
    Member
    Posted 3 years ago #

    even i am looking for this

  3. Army Leaf
    Member
    Posted 3 years ago #

    You can try making the style of the caption color:transparent. then for the black box for the caption, just set the opacity to 0.0. It would make the caption invisible.

    Hope that works out.

  4. synaesthetic
    Member
    Posted 3 years ago #

    Yes Katzietang, I've found the best way is to just set the opacity to 0.0:

    captionOpacity:0.0, //Universal caption opacity

    This is around line 176 in wp-nivo-slider.php in the plugins dir

  5. Lucas Degen
    Member
    Posted 3 years ago #

    In the nivo-slider.css I've set the disply to none.

    .nivo-caption {
    display: none !important;
  6. alex.galpin
    Member
    Posted 3 years ago #

    thank you that worked for me :)

  7. loren.swendsen
    Member
    Posted 3 years ago #

    Nivo Slider won't show captions unless your images have titles. So, one option would be to delete the titles (or leave them blank) via the media manager.

    However, if you are comfortable with editing the template files then look for where the thumbnail is generated and set the title to null in that instance. Example from a theme I just updated:

    <?php the_post_thumbnail( 'full', array('title'=>null) ); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic