WordPress.org

Ready to get started?Download WordPress

Forums

WP-ShowHide
Rome "Press Release" title (5 posts)

  1. Travel Pumps
    Member
    Posted 1 year ago #

    Hello, How can I remove the Press Release title link on this? Please need help.
    Thank you!
    travelpumps.com

    http://wordpress.org/extend/plugins/wp-showhide/

  2. rwilki
    Member
    Posted 1 year ago #

    I'd like to do the same thing except have it be dynamic the way that most shortcodes work. In other words, what ever I put as my text in the shortcode tag, I'd like to appear in the clickable url to activate the shortcode. Having this hardcoded to just say "press release" isn't all that practical...

    I tried adding text in the shortcode, but I see that "pressrelease" is in the script so maybe it's not possible.

  3. raetietjen
    Member
    Posted 1 year ago #

    you can add the show/hide text into the shortcode itself and it will overwrite the "pressrelease" text. If you have multiple show/hides on a page make sure that the type is different for each one.

    Here is an example:

    [showhide type="typeA" more_text="Your more text here" less_text="your less text here" hidden="yes"]
    the hidden content is in here!
    [/showhide]
  4. rwilki
    Member
    Posted 1 year ago #

    Totally awesome. I thought it might work but I would have never gotten this code without your help. Thanks so much Raetietjen!

    Bob

  5. a_ahmed
    Member
    Posted 1 year ago #

    Thank you for this answer.

    I have a problem.

    If I have blocks of text say

    Text paragraph number one

    Text paragraph two

    Text paragraph five

    Whatever

    In each case if I try to put all that in a span or div and do style="font-size: x-small;" only the first paragraph is made x-small the rest are not.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic