Epro
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Fixing WordPress
In reply to: How to add code after certain navigation items?I ended up extending the walker class, if anyone wants any information on how I did this, I can explain further.
Here’s the end result: http://cars.evanparsons.net
class Dropdowns extends Walker_page { function end_el(&$output, $item, $depth=0, $args=array()) { if ($item -> ID == 55) { //checks if the page id is the list item I want to make my dropdown under $vehicles = query_posts('post_type=vehicles'); //my custom post that I want to dropdown if ($vehicles) { //check for no entries //code for drop downs go here } } } }Forum: Fixing WordPress
In reply to: How to add code after certain navigation items?I had a hack solution in mind, where I would generate the sub-menu after the navigation, and then use javascript to relocate it to where I wanted it originally, but I’d rather do it the clean way.
Forum: Fixing WordPress
In reply to: Permalinks Causing ProblemsForum: Fixing WordPress
In reply to: Permalinks Causing ProblemsIs this on a localhost? turn the rewrite_module on for Apache, and you’re gold
Forum: Fixing WordPress
In reply to: How to add code after certain navigation items?This is a custom theme I made, but learning how to add support for menus couldn’t hurt I guess.
Forum: Fixing WordPress
In reply to: How to add code after certain navigation items?How would I fire that while WP is generating my navigation with <?php wp_list_pages(‘title_li=’); ?> ?
Viewing 6 replies - 1 through 6 (of 6 total)