Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

WordPress plugin that provides automatic links to definitions of sexuality-related terms.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 readme.txt
Octocat-spinner-32 wp-simple-sex-positive-glossary.php
readme.txt
=== WP Simple Sex-Positive Glossary ===
Author: Meitar "maymay" Moscovitz
Plugin URL: http://maybemaimed.com/playground/wp-simple-sex-positive-glossary/
Tags: 
Requires at least: 2.6
Tested up to: 3.0.1
Stable tag: trunk

Wraps common terms with a link to a definition of that term. Built-in dictionary provides defaults for many sexuality-related phrases.

== Description ==

WP Simple Sex-Positive Glossary automatically turns a number of sexuality-related terms into links that point to well-respected pages that provide definitions of those terms. It's an extremely simple and lightweight way to offer readers context so that you don't have to do the hard work of re-explaining yourself and your vocabulary all the time.

Currently, somewhere on order of ~300 words and phrases including "sexually transmitted infections," "abstinence," "PC muscle," "IUD," and "sexologist" are linked to pages that define those terms. The plugin only maintains a simple mapping of terms to web addresses of the definition pages, not the definitions themselves. The sites the plugin links to include:

* [sexuality.about.com](http://sexuality.about.com/)
* [Scarleteen](http://scarleteen.com/)

Each of these sites have a great glossary of terms, compiled by some of the best sex educators on the planet.

== Installation ==

1. Download the plugin file.
1. Unzip the file into your 'wp-content/plugins/' directory.
1. Activate the plugin from your WordPress Admin Plugins screen.

== Frequently Asked Questions ==

= Can I add my own terms? =
No, not yet. However, you can suggest additions to the built-in dictionary by leaving a comment on [the plugin page](http://maybemaimed.com/playground/wp-simple-sex-positive-glossary/).

= Can I style the glossary links specially? =

Yes. When the plugin turns a term into a link, it adds a `class` of `sspg term` to the `<a>` element. In your style sheet, use a CSS selector like `a.sspg.term { cursor: help; }` to give the glossary links a special rollover style (for instance). You are only limited by your skill and imagination. :)

== Screenshots ==

1. (None yet! Sorry.)

== Changelog ==

= 0.2 =
* Added over 250 more terms.
* Fixed bug where letter case of term dictionary overrode post text.
* Links are no longer added to text that is already a link.
* Massive code simplification.

= 0.1 =
* Initial release.

== Other notes ==

Due to this plugin's use of the PHP Simple HTML DOM Parser library, PHP5 or greater is required.

Standing on the shoulders of giants is the only way to reach higher.
Something went wrong with that request. Please try again.