Plugin Time

Yeah, I’ve got another new plugin. This one is called Content Show/Hide and I’ve been using it for some time now. Content Show/Hide grew out of my old Movable Type blogging days. I believe that I used this plugin when I used MT before switching to WordPress. To me, it seemed that there were a few things missing from the plugin; well at least from the “ease of use” standpoint. The first problem is that if you wanted a different message show you had to hack in to the code of that plugin. This plugin gives you an Admin Panel page that allows you to customize how the (more) tag works; whether to show more of the entry on the same page or to open the entire entry in a new page. It also allows you to easily set the message displayed by the (more) tag.

To install this plugin, simply drop it in the “wp-content/plugins/” directory. Then go to the “Plugins” area of your Admin Panel and activate the plugin. To configure the plugin, go to the “Options” area of your Admin Panel and select the “ShowHide” entry. There are three configurable elements.

  • Show More - This is the message displayed when you want your readers to display the entire post on a new page. It replaces the [more] WordPress entry tag. If it is left blank, then no link to display the entire post on a new page will be available for the reader.
  • Show More Right Here - This is the message displayed when you want your readers to display the entire post in the current position on the same page. It replaces the [more] WordPress entry tag. If it is left blank, then no link to display the entire post in the current position on the same page will be available for the reader.
  • Hide - This is the message displayed when you want your readers to close up the entire post back to the original state on the same page. It is the mate to the “Show More Right Here” entry above and MUST be defined if the “Show More Right Here” tag is defined. If the “Show More Right Here” tag is defined and the “Hide” tag is not defined, the “Hide” tag will be replaced with a default value.
  • NOTE: Both “Show More” and “Show More Right” Here cannot be left blank! If both are left blank, the Show More message will be used with a default message.
  • NOTE: You can have entries in both the “Show More” and “Show More Right Here” tags. The entry will then give the option to the reader that they can view the entire post displayed on a new page or displayed at the current cursor position.

All the credit here for the original programming goes to scriptygoddess. I simply took what she did and expanded it a bit and wrote an Admin Panel interface. Thanks, scriptygoddess, for the excellent plugin.

Filed under: Computer Stuff,
 
     


     
 

1 Comment

Click here to see the RSS feed for comments on this post.

  • MinJun said:  
    (On November 16th, 2006 at 9:53 pm)

    WOW, thanks!
    This Plugin is really great and for me it even works perfect combined with the Evermore WP-Plugin. Evermore puts automatically a “more” code in each post (you only have to edit a post if you don’t want the “more” code in it).

    Thanks again :)
    MinJun

 
     
     
 

Sorry, the comment form is closed at this time. It's like trying to take a picture with the lens cap on.