This is my first contribution to the WP community! It is a start, and I hope time permitting to advance the features in this plugin. This plugin aims to consolidate your post information into a collapsible panel (using jQuery) that can save space on your page.
You can see what it looks like below on this post, and you can test the interaction from the main page.
Usage
<?php
if (function_exists('postinfo')) {
postinfo();
}
?>
Changelog
1.6
- Fixed word count when using the read more command (was giving word count for excerpt not post).
1.5
- Added CSS sprite to reduce image flash.
1.4
- Added JavaScript callback to designate graphically box can be minimized
- Changed text for toggle to be more descriptive
- Tweaked CSS
1.3
- Altered link for comments on single post entries
1.2
- Added graceful degradation for users without JS
1.1
- Converted to jQuery from script.aculo.us (uses jQuery bundled with WordPress)
- Added support for tags
- Added extensive styling including the famous Fam Fam Silk Icons
- Reorganized code
1.0
- Initial release
Considerations
I’ve noticed different styling results when using the function on single post pages and the loop on other pages. Be sure to test both for differences.
To Do
- Add an option page to choose the toggle effect and select information to be displayed. (Obselete)
- Add icons.
- Add ability to degrade for users w/o JS enabled.
- Clean up plugin code.
@GlimGlider: I have a donate button on this page, but it’s not necessary.
For readers:
He needed to add a clear to the last list item.
li.words {clear: left;
}
thanks so much chris. Just donated! I’m not rich so I couldn’t afford to donate a hundred bucks but why not have a beer on me? :-D Appreciate your hard work
Hey Chris got a problem. You might have already noticed that I use the shortcode in each of my posts to minimize clutter in the main page and give the user an option to ‘read more’.
Problem is: your plugin is counting words from the beginning of a post right till the end of the shortcode, and then it is not counting words from the rest of the post.
Is there a way to fix it? Because if not, I’d have to either forget about using ‘more’ shortcode, remove them from all my posts, or remain happy with giving visitors wrong information.
Hope you’d look into it. Thanks
@Gimli: I fixed it and published 1.6.
wow that was fast man! Just updated and now the words counter is showing accurate info even with the More shortcode inserted. Thanks! Really appreciate ur help :-D
Hey Chris got a question, not a feature request or bug: If u haven’t noticed already, I don’t use tags in my site at all because I don’t really get the point. Is there a very easy way to get rid of the ‘Tags’ section in Post Information 1.6? I just tried deleting the code that starts with li.tags in .css file and then saw it gone for good but the space it occupied still remained. Here’s a screenshot of what I saw: twitpic.com/8ie96/full (please add http:// before the URL ’cause I can’t do it here cause if i do my comment will be likely detected as spam)
@Gimli: I can add that option in a future release. For now you can remove lines 47–48 in the PHP file.
that worked perfectly. Thanks!
[…] 3. WordPress post information plugin […]
how u doing chris? Hope everything’s fine with you. I was wondering…
Instead of clicking, how about hovering? I was 99 percent successful in implementing that, believe it or not, by simply replacing ‘.click’ with ‘.hover’ in line 25 of the file post-information.php.
the problem with the rest 1% is that when i ‘hover’ out, the post information window didn’t close. I had to hover on it again to make it close.
So my question is: I fairly believe it’s nothing but a few more words I would need to add or replace a bit above or below line 25. Can you give me a hint?
Thanks once again :P
You have to add a callback event to hide the hover. Here’s the jQuery documentation on the event.
I did add the code inside thesis:
thesis/lib/functions/oop_functions.php
function thesis_loop_posts() {
if (have_posts()) {
if (function_exists(‘postinfo’)) {
postinfo();
}
And it works :)
fixed…added the space code for HTML and the overlapping issue was gone :)
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in JavaScript. It is an on demand feature. […]
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in JavaScript. It is an on demand feature. […]
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in JavaScript. It is an on demand feature. […]
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in JavaScript. It is an on demand feature. […]
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in JavaScript. It is an on demand feature. […]
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in JavaScript. It is an on demand feature. […]
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in JavaScript. It is an on demand feature. […]
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in JavaScript. It is an on demand feature. […]
is there a way i can edit the date and stuff to my own values
@rage: Yes, you can edit the plugin file to use whatever you’d like.
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in […]
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in JavaScript. It is an on demand feature. […]
[…] WordPress post information plugin […]
[…] WordPress post information plugin […]
I’m loving this plugin because not only it’s helpful for the visitors and authors of the site but also it adds that aesthetic beauty too. Well, I’m not so lucky with it yet on my site… it just come out all broken up and not showing good at all. Please take a look at http://www.xpozeet.com. Maybe you can give me some advice on how to fix it. Thanks for such a nice plug.
@Ron: Thanks for the kind words. I looked, and you have a lot of JS being loaded including different libraries (Mootools, jQuery). My code runs in compatibility mode, but I’d guess something is conflicting with another JS plugin. Try and remove all and re-add until you find out which one breaks everything.
@ Chris: The theme I’m using actually came embedded with a set of JS so it’s gonna be hard to determine what’s causing this because i have very little knowledge in that department.
I just went to your Contact link to make an offer to you to help me fix it but I realize that you are no longer taking on WP/Web Design. Well, I’ll deactivate it for now, maybe someone will come along and know a fix. Thanks for the plug and response.
[…] Post Information […]
[…] WordPress Post Information Plugin […]
[…] 2. WordPress post information plugin […]
[…] WordPress Post Information Plugin […]
[…] Este plugin tiene como objetivo consolidar la información de su articulo en un panel accesible (usando jQuery) que se puede ahorrar espacio en tu página. Puedes descargarlo de aquí […]
[…] WordPress Post Information Plugin […]
[…] 3. WordPress post information plugin […]
[…] 6. WordPress post information plugin […]
[…] WordPress Post Information Plugin […]
[…] WordPress Post Information Plugin […]
Very nice thank you took me a while to find the loop but it new it couldent hide forever lol
Thank You
Great Plugin
Dave
[…] 3. WordPress post information plugin […]
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in JavaScript. It is an on demand feature. […]
[…] The job of this plugin is to consolidate your post into a panel so that you can save a vast amount of space. Click here to visit the website. […]
[…] Eklenti Ana Sayfas? […]
[…] Eklenti Ana Sayfas? […]
[…] WordPress Post Information Plugin. This simple plugin allows you to view post meta information by using the toggle function in JavaScript. It is an on demand feature. […]
[…] Eklenti Ana Sayfas? […]
[…] Eklenti Ana Sayfas? […]