WordPress.org

Ready to get started?Download WordPress

Forums

Feature request: acronym/links filter (5 posts)

  1. MathiasBynens
    Member
    Posted 10 years ago #

    A built-in acronym filter, and maybe a link filter too would be very nice. I know there's phpGiggle, but I'd prefer a built-in thingie in WordPress.
    If you don't understand what I'm talking about, read this: we could have this acronym array in our my-hacks.php or something, and then it filters all acronyms in the posts, so we won't have to type all this HTML whenever we use a term such as "CSS".
    Cheers,
    MaThIbUs

  2. OperaManiac
    Member
    Posted 10 years ago #

    http://photomatt.net/scripts/acronymit
    _____________
    The sig you hate!
    Why Opera? 1 2 3 4

  3. MathiasBynens
    Member
    Posted 10 years ago #

    Yeah I embedded it by adding the function to my-hacks.php and then editing wp-includes/vars.php. I just added this filter (at the bottom of the file):
    add_filter('all', 'acronymit');
    Cheers,
    MaThIbUs

  4. OperaManiac
    Member
    Posted 10 years ago #

    just dont use any of these acronyms in an image or link name...
    _____________
    The sig you hate!
    Why Opera? 1 2 3 4

  5. MathiasBynens
    Member
    Posted 10 years ago #

    Of course. This shouldn't be a problem though, as URI's are not likely to use uppercase letters.
    Cheers,
    MaThIbUs

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.