A simple plugin for building a glossary on your WordPress website. It is built using custom post types and compatible with WordPress 3.0+.
Features
- Ads a custom post type Glossary to your WordPress Blog.
- Does everything a regular Post does, but keeps Glossary terms separate.
Download
The Plugin can be download from the WordPress Plugin Directory.
Installation
- Upload the `simple glossary` folder to the `/wp-content/plugins/` directory, or upload the ‘simple glossary.zip’ file to plugins -> Add New -> Upload
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Ad necessary code to your theme to create a glossary page
FAQ’S
- How is this plugin so simple yet so awesome, and for free?
- Simple answer, this awesome developer saw the need and made this awesome plugin, plus I’m generous like that, but donations are graciously accepted!
- Are you going to ad support ‘for a short link’ so you do not have to ad code to the theme?
- Probably not, I want to keep the plugin as simple as possible and for my requirements it is easier to use php and css to ad it to my theme.
Future Developments
- A front end term submission form
- Widget that display a set number of random glossary terms
- Comment below with any suggestions or requests
Any comments, help, suggestions, errors, etc can be left in the comments section below. Thank you and enjoy!
Hello,
simple question, please. How to make the glossary visible on a page, with shortdode ? how it looks ?.
Thanks in advance!
RR
Hey, There is no short code yet, the plugin is very basic. This may come in a future release. You will need to create two template files, one for the archive, and one to display the individual terms.
Create single-glossary.php to display the individual terms.
Create archive-{posttype}.php to display an archive of the terms.
You will need to style these with CSS.
Below is an example for Querying the glossary anywhere in the theme.
$args = array( 'post_type' => 'glossary', 'posts_per_page' => 10 );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
the_title();
echo '
the_content();
echo '
';
endwhile;
Sorry the plug-in is not super user friendly for someone experienced with coding and wordpress. A good place to start is the WordPress Codex on custom post types.
I hope this helps.
Hey! I downloaded your Simple Glossary plug-in and it’s awesome! You stated that you would be able to add tagging functionality if we asked, so I’m asking! Let me know if you would be able to do this.
Thank you so much for this awesome plugin!
Steven
Steven thanks for the request. I’ll work on it while I have time, no promises, but I’m currently in Brazil teaching windsurfing for the next 6 months, so it won’t be until after that.
If you want to follow my windsurfing at all, check out WindDude.com
Cheers, and thanks for the support.
hello,
an important feature is that they are recognized and automatically linked in the post-added terms in the glossary
Thanks in advance
D
This may come in a future release.
Is there a live front end demo of the plugin? If not it’d be helpful to have… Auto-tagging is super important, but I imagine hard to code efficiently for a large glossary. You might look at the plugins that automatically inject Affiliate links on words…
the live demo will be coming shortly on one of my pages, auto-tagging will hopefully come in a future release. This plugin will never automatically inject affiliate links.
Graet plugin, but are there directions on creating the a-z page?
You need to create at least one php page, and name it archive-glossry.php.
If you want to distinguish glossary posts from single posts create a single-glossary.php page.
Include the code below on the .php page you just created.
Use CSS to style to your liking.
$args = array( ‘post_type’ => ‘glossary’, ‘posts_per_page’ => 10 );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
the_title();
echo ‘
‘;
the_content();
echo ‘
‘;
endwhile;
Hope this helps! I’m working on Simple-Glossary 2.0 but it’s a month or 2 away.