30
Jun
05

Using WordPress tags? Don’t forget to re-apply the tags patch!

Thanks to Joseph and my blogroll, I saw the WordPress 1.5.1.3 security update. I forgot to re-apply the tags patch from Felix Wong’s tags plugin the first time through. Doh! Thanks for posting this, Joseph.


5 Responses to “Using WordPress tags? Don't forget to re-apply the tags patch!”


  1. 1 jim wilde Aug 11th, 2005 at 21:55 UTC

    Hi,

    Sorry to bother you, but the comments on the developers site were not helpful. I just started with wp. I’m trying to install the tags plugin. Do I need to change the theme (connections) to use tags?

    Thanks,

    Jim

  2. 2 jim Aug 13th, 2005 at 08:00 UTC

    Hi Jim,

    Yes, you need to tweak your theme. It can be a bit of a pain, depending on what theme you’re running. Basically what I did was rip out the category code from J-blue and bolted in the code to list the 12 most-posted tags.

    What theme are you thinking of using?

    Jim

  3. 3 jim wilde Aug 13th, 2005 at 15:44 UTC

    Hi,

    Thanks for getting back to me. I’m using connections.

    Jim

  4. 4 jim Aug 14th, 2005 at 00:22 UTC

    I wasn’t familiar with this theme off the top of my head. I checked out the Connections page, and it doesn’t look as if the front page would be too hard to convert to tags. Here’s what I did to use tags in place of categories with Mike Little’s Journalized-Blue theme:

    1. Figure out which PHP file does the category listing. Go to wp-content/themes/{your_theme_directory} and search all the PHP files for “Categories”.
    2. Edit that file and find the code that does the category listing. Most likely this is done by a call to list_cats(). Figure out where the category listing starts and ends, semantically. For example, there may be “div” tags bracketing the category listing.
    3. I copy-and-pasted the entire category code into an IF-THEN-ELSE block, like so: IF (test) THEN list-categories ELSE list-categories. (I realize that this is pointless to have identical code in both the THEN and ELSE blocks. Bear with me.)
    4. Now for the conditional of the IF, use: if (function_exists(’list_tags’))
    5. Finally, edit the THEN block and change the category listing code to list tags instead. I think all I had to do was change the “Categories” header to “Tags”, and substitute “list_tags()” for “list_cats()”.

    Hope this helps. If not, leave me another comment and I’ll see what I can do.

  1. 1 SonicChicken weblog » Blog Archive » Upgraded to WordPress 1.5.2, patches [re-]applied Pingback on Sep 2nd, 2005 at 03:49 UTC

Leave a Reply




June 2005
M T W T F S S
    Jul »
 12345
6789101112
13141516171819
20212223242526
27282930  

Tags

abramoff accessibility acetylene activism aerial photo afrofunk aim4tree air america airport express alite alito amtrak andante andy anti failure any browser apache apple applescript arden arcade arden park ariana arnold ashland astronomy attic attika audio avid reader backup baen bart bathroom bbq bee beef begonia bgg bike bike hikers bike journal bikejournal biketalk bill oreilly bittorrent blacklist blog bloggercode blogroll blueberry boardgamegeek boardgames bonjour book bookcrossing boot failure bootcamp borderline chaos bugmenot bush business card cabinetry caira caitlin california candamir caroline carpet cat cateye cdrom celebration cellular phone century cheese chicken chico chimney chinese chipotle chocolate christmas chumby city bikes civilization cjd claire club club fed co op coconut coffee comfort food community computer concord congress conquest conservation consumer reports copyright costco crazybikerchick crepe crock pot cruftbox css csus curl currency custard cvntrak dagoba daniel goetz darwinports datarescue date format death delicious monster democracy now Democrat demolition dessert dickens diff disaster discrimination discworld dishwasher diskwarrior dixie belle dock doors downing street memo drm dryer drywall dump ed burke eff eggs eject election electric car electric truck electrical electricity elvgren email energy efficiency eric meyer esr etext euthanasia facebook family faq faux news feed feedreader fence finder firefox first4internet first amendment fishmeal flash flickr flooring foreign exchange foundation fox and goose framing freebsd freedback fyq garage garden geek geotag geourl gnutar go gonuls google google earth google maps gpl gracenote graywater greek green group concat gtd gunthers gutters gwbush gymnastics hacking halloween handspring hardwood harry potter headmeta high speed photograph high tech inv hoax hobbies hobby hodgins holiday holly home power magazine horcrux houseblogs how to html humor hvac ilovejackdaniels impeach inspection insulation intel internet ipod ipodder iq iraq isight itunes ivins iwantsandy java city javascript joint chiefs joseph jott journalized blue judges cup kctc khs kimkerry kitchen kyocera la salles la times labor landscape laundry law leatherbys legal lego leopard lhc liberal library linkedin ljurban lodi logic logo lungren maaloufs mac macbook mailinator malware map marin markdown mason media media clip media reform meetup metric mexican microsoft mike comfort military milonic mindstorms mlk model railroading modoc hall monterey morning sedition motorcycle movie moving munchkin murray mushroom music mynetflix mysql naked lounge nerd score netflix network new urbanism new year New Yorker nofollow nutella oatmeal obama obcz occidental occupation omni openssl oracle organic osx owp paint pair palast palm panasonic parallels party patch peak adventures peak oil pear pedestrian village perl petaluma php ping pingback pingomatic pingomation pingqueue pirate pl sql planet bike plasma playroom entertainment plugin plugin:preview theme plugin:text control plugin:ultimate tag warrior plumbing podcast podsite politics portupgrade potato powerbook printer programming project gutenberg pryde punk puzzle qiana quilt quilt shop quiz quote r5 records racism radio railroad recent comments recipe redalt remodel resaurant resolution restaurant restore review richmond rio americano robotics roger niello ron montana roof rootkit rss sacbee sacog sacramento sacramento spotlight magazine salad san francisco sandwich santa cruz scam scandal school days scplugin security session report shakespeare shuffle sigma siriradha sitemap snl snopes social social network software soma somafab sonicchicken sonicchicken blog sony spam spam karma spellcheck spinach spirit spoiler etiquette spring hill cheese sql sqlserver stairs standards statcounter stephen king stop loss stucco stunt subversion sudoku superbowl superhero supreme court sushi svn sysadmin tacoma tags plugin takara technology telephone television template terms and conditions textcontrol thai kitchen thanksgiving theater theme theme:borderline chaos theme:elvgren theme:elvgren wordpress google code theme:fluid blue theme:fullwidth theme:head theme:journalized theme:journalized blue theme:psycho theme:redoable theme:sharepoint like theme:simple green theme:spirit theme:steam theme:wuhan theme:yadda theme switcher thomas tigris euphrates tile tinfoil hat toc tofu tower theater training transit transit oriented development tribute u haul uneasy rhetoric university village van zant veterans day video vie viking hobby vote smart w3c wall warboss washer washington post weather web web developer web server wikipedia windows wishlist woodworking wordpress workplace wpblacklist wpgatekeeper wsj yaaarr yard