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.
even i am looking for this
katzietang
Member
Posted 1 year 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.
synaesthetic
Member
Posted 1 year 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
Lucas Degen
Member
Posted 1 year ago #
In the nivo-slider.css I've set the disply to none.
.nivo-caption {
display: none !important;
alex.galpin
Member
Posted 1 year ago #
thank you that worked for me :)
loren.swendsen
Member
Posted 1 year 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) ); ?>