Page links without a list
-
Hello there,
simply: is there a way to make WP to display the list of pages without creating an actual list (no
<li>
elements)?I’m working on a bilingual website (using WP_Multilingual) and there’s a horizontal menu with links to some pages. Right now, I’m using this:
<?php wp_list_pages('include=1&title_li='); ?>
in a table (table… I know, I suck…) for each link because I need both titles and links to change, when a user changes the language – it looks like this: https://i40.tinypic.com/a3ci8z.jpg. My problem is that the code above creates
<li class="page_item page-item-1 current_page_item"><a href="https://localhost/en/example" title="Example">Example</a></li>
and I need to somehow remove the
<li>
elements. I tried everything I could think about but this is the only way that works (as far as I can say) with my bilingual web.Do you have any ideas?
Thanks very much ??
- The topic ‘Page links without a list’ is closed to new replies.