Image title in Lightbox

resolved (5 posts) (2 voices)

  1. parkerhere
    Member

    When using Fancy Images how can I make the title of the image show up in the Lightbox display?

    Attachments

    1. Title_question.JPG (81.1 KB, 0 downloads) 9 months old
    Posted 9 months ago #
  2. Elliott
    Support

    Hello parkerhere,

    Open up /wp-content/themes/awake/lib/shortcodes/18-images.php and around line 78 you should see this,

    'height' => '',

    On the next line add this,

    'title' => '',

    Next change line 101 to this,

    'title' => $title,

    And do the same for line 140.

    Let us know if that works for you.

    Posted 9 months ago #
  3. parkerhere
    Member

    I'm new to this so please bear with me. When you say "add this to the next line" do you mean add another line? Next do I still change line 101 or would it now be 102?

    I'm learning.
    Thanks,

    Posted 9 months ago #
  4. Elliott
    Support

    You would hit enter to go to a new line and then add it but it should not matter in that case.

    Around line 101 you should see something like this,

    'title' => '',

    Change it to this,

    'title' => $title,

    And do the same on line 140 (or around line 140).

    Posted 9 months ago #
  5. parkerhere
    Member

    Got it! Thanks...

    Posted 9 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme