Buying Editing the WP gallery shortcode output (adding title tag to image link)

Discussion in 'Programming' started by ruffneck119, Mar 7, 2013.

  1. #1
    I am having an issue when I hover over an image, the caption does not pop up (using gallery short code).

    http://www.jimparker.us/about-us/ (hover over the first image)

    <a href="http://www.jimparker.us/wp-content/uploads/contractor-003.jpg" title="" rel="lightbox[9]"><img style="opacity: 1;" class="gdl-gallery-image" src="http://www.jimparker.us/wp-content/uploads/contractor-003-280x355.jpg" alt="About Jim Parker"></a>
    Code (markup):
    As you can see the title tag in the link is blank in the output of the image. I need someone to edit the gallery short code output to make sure something (description or image title) shows up in the <a> title tag and not just title=""?

    I guess you de-register something in the media.php and redo how it's output in the functions.php of my theme.

    Fast PayPal $$$ Payment!!
     
    ruffneck119, Mar 7, 2013 IP