Is there a fronend way to display:none (and on)classes like (5 posts)

  1. Andrew
    Posted 2 years ago #

    Is there a way to display:none (and on) specified classes like <H2>
    BY FRONTEND button?
    The button should be accesible to any frontend user.

  2. viky081
    Posted 2 years ago #

    Can you describe it briefly by this people who can easily get reply back to your thread.
    can you provide the demo url and what you are trying?

  3. jnhghy
    Posted 2 years ago #

    Arindama d: there is no default option that has this feature and what you describe looks pretty custom.

    You'll have to build your own feature for this (a plugin or a function that will give you this feature).

  4. Andrew
    Posted 2 years ago #

    The idea is allow frontend user (any site visitor) to show/hide some portions of the posts text (in homepage) by pressing a button.

    Show/hide button (switcher of trigger?) should work globaly (this is why it should operate with classes) and keep state after page reload.
    A local spoiler is not a solution.

    I cannot provide link yet because my site is on localhost of offline machine.

  5. jnhghy
    Posted 2 years ago #

    if is post related... then there might be some plugins that do this: displays the excerpt and when you click on "show more" (or something like that) will display the full post and then you'll have an option of "show less"...

    this plugin looks promising: http://wordpress.org/plugins/read-more-right-here/

    it uses ajax ... if it's not the one you need check other...

Topic Closed

This topic has been closed to new replies.

About this Topic