dan121
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Conditional tag for pages without an ID.I ended up setting up separate templates to use with pages w/out an ID. Not ideal, but it works for me.
Forum: Fixing WordPress
In reply to: Conditional tag for pages without an ID.They currently don’t have any unique identifiers that don’t overlap with at least one of my pages that does have an ID. The ID was the most obvious feature that differentiated them. 🙁
Forum: Fixing WordPress
In reply to: Conditional tag for pages without an ID.I have a bunch of pages without IDs, so I was looking for some code that could target them en masse. I’m familiar with all the conditional tags in the codex, and none of them seems to fit the bill.
Got it! Needs to be:
<div id="nav-below" class="navigation"> <div class="nav-previous"><?php previous_post_smart('« %link', '%title', true, false); ?></div> <div class="nav-next"><?php next_post_smart('%link »', '%title', true, false); ?></div> </div>Forum: Plugins
In reply to: Include link category as classSince no one seems to be able to come up with an answer, I wrote a plugin to do it for me. It’s just a modification of the get_links function, and can be found here: http://www.wilkinsonweb.com/2006/08/07/links-with-class.
Forum: Fixing WordPress
In reply to: Link list with multiple categories and classesSince no one seems to be able to come up with an answer, I wrote a plugin to do it for me. It’s just a modification of the get_links function, and can be found here: http://www.wilkinsonweb.com/2006/08/07/links-with-class.