Hi, this is navigation. I am trying to utilize link_after or link_before to place a line on the right and left side of the navigation.

How to do so ?

I've tried this. it's only place the line before the navigation though, not in between each navigation item.

header.php

<li><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/navline.png" /><?php wp_list_pages('sort_column=menu_order&title_li=');?></li>
Member Avatar for LastMitch

Hi, this is navigation. I am trying to utilize link_after or link_before to place a line on the right and left side of the navigation.

This 1 line is a bit hard for anyone to assisted you with:

<li><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/navline.png" /><?php wp_list_pages('sort_column=menu_order&title_li=');?></li>

I think someone in the link mention a good point here:

http://wordpress.org/support/topic/navigation-line

This is the qoute from a WordPress member:

Well, as I said, I can't do your debugging for you. You need to do all the normal things developers do to get their code working. Without actually being there with you, I can't help a lot.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.