WordPress.org

Forums

Slideshow
Insert Description as text instead of link (4 posts)

  1. mchen
    Member
    Posted 1 year ago #

    How to insert the text as <p> instead of link?

    http://wordpress.org/plugins/slideshow-jquery-image-gallery/

  2. frods
    Member
    Posted 1 year ago #

    Hi Mchen,
    I'm not really sure what your actual questions is, but this may work for you

    1)
    create your slideshow, save it.
    2)
    get the "code snippet" from your slide show setting page. It looks like this:
    [slideshow_deploy id='6242']
    3)
    <p>[slideshow_deploy id='6242']</p>

    Did that answer your question?

  3. mchen
    Member
    Posted 1 year ago #

    Hi frods,

    Thank You for answering my question. That's not what I am asking. I created the code snippet like you said and insert the title and texts. Everything is working fine in IE browser, except on FireFox. When I roll over the showslide in FireFox, I can't highlight the texts like it supposed to in IE.

    Do you understand my question?

  4. srfrmac87
    Member
    Posted 1 year ago #

    Navigate to \wp-content\plugins\slideshow-jquery-image-gallery\views\SlideshowPluginSlideshowSlide\

    Edit frontend_attachment.php

    For me it is on line 105 and 106 but search for the lines containing this code:

    <?php echo !empty($title) ? '<h2><a ' . $anchorTagAttributes . '>' . $title . '</a></h2>' : ''; ?>
    <?php echo !empty($description) ? '<p><a ' . $anchorTagAttributes . '>' . $description . '</a></p>' : ''; ?>

    Replace that with this code:

    <?php echo !empty($title) ? '<h2>' . $title . '</h2>' : ''; ?>
    <?php echo !empty($description) ? '<p>' . $description . '</p>' : ''; ?>

    The following code was removed:

    <a ' . $anchorTagAttributes . '>

    and

    </a>

    This will keep all formatting the same and only remove the link. Hope that answers the question!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Slideshow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.