The CSS “before” tag in general doesn’t work in IE.
Only solution is to modify the actual relevant code in your PHP to add the required text that you want.
That would be this part:
<?php wp_list_pages(‘depth=1&title_li=’ ); ?>
But that’s all I know, I am a complete n00b at this. Can you tell me how and where to put the .: in this color ff7800
thanks a million
The wp_list_pages has a filter available for it’s output, so you can add a filter to be able to add your header before the anchor tag.
function my_list_pages_filter($str)
{
preg_replace('/<a/i','<span style="color: #ff7800;">.:</span><a',$str);
}
add_filter('wp_list_pages','my_list_pages_filter');
You’d probably want to add this to your functions.php file in your theme.
Now this is confusing, my theme doesn’t have a functions.php…
So make a new file in your theme, call it functions.php, add that code to it and put a <?php and ?> around it (so it runs as proper php code). Done and done.
Does anyone know why the code for hiding pages or page titles works in Firefox but not Internet Explorer? Cause it would be great if I could get it to work for both.
thanks for your help Otto42