wp_list_pages -> no title and dot
-
Dear wordpress users,
I have a problem and I think its pretty hard to fix. But maybe you guys know a good way, there must be one becouse there are websites who use this.
My goal: Having a nice horizontal menu
my website: https://web-bart.nl/wordpress
my problem: Like you’ve maybe seen on the website, I have a horizontal menu. This was not very hard to make, and is not the problem. But the problem is that the title is called in the center of the menu. It is showed like pagina’s.
I’vs had found a function to fix this. But it gives a result that I dont realy like. Here is a overvieuw to see what what shows:
wp_list_pages('sort_column=menu_order & title_li=''');
here I have 4 single quotes in 1 line, and the browser doesn’t understand this.
wp_list_pages('sort_column=menu_order & title_li=('')')
Here are again 4 single quotes but in parentheses (shouldn’t know whats the name of this character in englisch)
wp_list_pages('sort_column=menu_order & title_li=');
Here my whole lay-out is mashed up. The lay-out of the menu is gone. The menu-items are listen (vertical).
wp_list_pages('sort_column=menu_order & title_li=""');
This is almost exactly the option what I’m looking for. Only here are the double quotations printed. And the dot in front of the title is still visable.
wp_list_pages('sort_column=menu_order & title_li=" "');
I was thinking, lets try it with a space in it. But this mashed up my menu totaly. The menu-background are connected with all other menu- items, with stripes to be exact. And the menu is putted up. But the menu is readable, the links works, and the dot and title are gone. But there must be a way to make this more nice.
Do someone of you developers know how to fix this?
Kind regards,
web-bart
P.s Maybe this is too much information, maybe too little. But I dont know what information you need.
- The topic ‘wp_list_pages -> no title and dot’ is closed to new replies.