All Projects → lesterchan → wp-showhide

lesterchan / wp-showhide

Licence: other
Allows you to embed content within your blog post via WordPress ShortCode API and toggling the visibility of the cotent via a link.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to wp-showhide

wp-ban
Ban users by IP, IP Range, host name, user agent and referrer url from visiting your WordPress's blog.
Stars: ✭ 19 (-9.52%)
Mutual labels:  wordpress-plugin, lesterchan
wp-useronline
Enable you to display how many users are online on your WordPress blog with detailed statistics.
Stars: ✭ 37 (+76.19%)
Mutual labels:  wordpress-plugin, lesterchan
wp-serverinfo
Display your host's PHP, MYSQL & memcached (if installed) information on your WordPress dashboard.
Stars: ✭ 15 (-28.57%)
Mutual labels:  wordpress-plugin, lesterchan
wp-dbmanager
Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up, optimizing and repairing of database.
Stars: ✭ 63 (+200%)
Mutual labels:  wordpress-plugin, lesterchan
WPGlobus
WPGlobus is a family of WordPress plugins assisting you in making bilingual / multilingual WordPress blogs and sites. This is a development repository. The stable version is on WordPress.org.
Stars: ✭ 40 (+90.48%)
Mutual labels:  wordpress-plugin
react-slide-toggle
React component re-implementation for jQuery.slideToggle feature
Stars: ✭ 42 (+100%)
Mutual labels:  toggle
toggle
Vue 3 toggle component with labels, custom slots and styling options (+Tailwind CSS support).
Stars: ✭ 75 (+257.14%)
Mutual labels:  toggle
togglific
Do you find web animations distracting? Togglific provides a distraction-free web experience!
Stars: ✭ 17 (-19.05%)
Mutual labels:  toggle
disable-drop-cap
Plugin to disable drop cap in Gutenberg editor paragraph block.
Stars: ✭ 11 (-47.62%)
Mutual labels:  wordpress-plugin
ng-toggle
Bootstrap-styled Angular Toggle Component
Stars: ✭ 14 (-33.33%)
Mutual labels:  toggle
PygameWidgets
A module for use with Pygame. Includes fully customisable buttons, textboxes, sliders and many more, as well as the ability to create and run animations on these widgets.
Stars: ✭ 34 (+61.9%)
Mutual labels:  toggle
ld-redux
A library to integrate launch darkly with react redux
Stars: ✭ 33 (+57.14%)
Mutual labels:  toggle
wordpress-geo-mashup
Official repository for Geo Mashup, the plugin that makes WordPress into a GeoCMS. Documentation:
Stars: ✭ 60 (+185.71%)
Mutual labels:  wordpress-plugin
react-toggle
A React UI Component to display an awesome Toggle Button control
Stars: ✭ 17 (-19.05%)
Mutual labels:  toggle
wp-webauthn
🔒 WP-WebAuthn allows you to safely login to your WordPress site without password.
Stars: ✭ 85 (+304.76%)
Mutual labels:  wordpress-plugin
wp-email
Allows people to recommend/send your WordPress blog's post/page to a friend.
Stars: ✭ 16 (-23.81%)
Mutual labels:  lesterchan
code-embed
🧩WordPress plugin to make embedding of code in posts really, really easy
Stars: ✭ 20 (-4.76%)
Mutual labels:  wordpress-plugin
wordpress-plugin
IMPress for IDX Broker
Stars: ✭ 20 (-4.76%)
Mutual labels:  wordpress-plugin
affilicious
Affilicious, the Wordpress WooCommerce for affiliates. Use products. shops, price comparisons, details and more for free.
Stars: ✭ 17 (-19.05%)
Mutual labels:  wordpress-plugin
memberful-wp
Better membership software for WordPress.
Stars: ✭ 37 (+76.19%)
Mutual labels:  wordpress-plugin

WP-ShowHide

Contributors: GamerZ
Donate link: http://lesterchan.net/site/donation/
Tags: show, hide, content, visibility, press release, toggle
Requires at least: 3.0
Tested up to: 5.9
Stable tag: trunk

Allows you to embed content within your blog post via WordPress ShortCode API and toggling the visibility of the content via a link.

Description

By default the content is hidden and user will have to click on the "Show Content" link to toggle it. Similar to what Engadget is doing for their press releases. Example usage: [showhide type="pressrelease"]Press Release goes in here.[/showhide]

Usage

  1. By default, content within the showhide shortcode will be hidden.

  2. Example: [showhide]Press release content goes in here.[/showhide]

  3. Default Values: [showhide type="pressrelease" more_text="Show Press Release (%s More Words)" less_text="Hide Press Release (%s Less Words)" hidden="yes"]

  4. You can have multiple showhide content within a post or a page, just by having a new type.

  5. Example: [showhide type="links" more_text="Show Links (%s More Words)" less_text="Hide Links (%s Less Words)"]Links will go in here.[/showhide]

  6. If you want to set the default visibility to display.

  7. Example: [showhide hidden="no"]Press release content goes in here.[/showhide]

  8. You can style the content via CSS that is generated by the plugin. Here is a sample of the generated HTML. Note that pressrelease is the default type.

<div id="pressrelease-link-1" class="sh-link pressrelease-link sh-hide">  
  <a >  
    <span id="pressrelease-toggle-1">Show Press Release (4 More Words)</span>  
  </a>  
</div>  
<div id="pressrelease-content-1" class="sh-content pressrelease-content sh-hide" style="display: none;">Content</div>
  1. With the example above, here are the following styles you can use in your CSS:
.sh-link A { }  
.sh-content { }  
.pressrelease-link { }  
.pressrelease-link.sh-hide A { }  
.pressrelease-link.sh-show A { }  
.pressrelease-content { }  
.pressrelease-content.sh-hide { }  
.pressrelease-content.sh-show { }

Build Status

Build Status

Development

https://github.com/lesterchan/wp-showhide

Translations

http://dev.wp-plugins.org/browser/wp-showhide/i18n/

Credits

Donations

I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.

Changelog

Version 1.04

  • NEW: Added aria-hidden and aria-expanded to elements

Version 1.03

  • NEW: Added .sh-link and .sh-content as a standard class name on top of the type specific class name.
  • NEW: Added do_shortcode() to allow shortcode to be parsed within ShowHide

Version 1.02

  • FIXED: Some theme uses .hide as display: none and hence I have changed .show to .sh-show and .hide to .sh-hide to advoid conflicts.

Version 1.01

  • NEW: Added additional show or hide class to the link and content depending on the visiblity of the content to allow more precise CSS styling.

Version 1.00 (01-05-2011)

  • FIXED: Initial Release

Upgrade Notice

N/A

Screenshots

  1. Show More - Press Release
  2. Hide More - Press Release
  3. Editor - Short Code

Frequently Asked Questions

N/A

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].