wp_list_bookmarks
-
Hi,
I have a question regarding the proper escaping in functions like wp_list_bookmarks.
This WP code
<?php wp_list_bookmarks('categorize=1&category=40&title_li&title_before=<h2>&title_after</h2>&category_before=<div class="side">&category_after=</div>&before=<li>&after=</li>&show_images=1&show_description=0&orderby=url'); ?>
produces the following code –
<div class="\"side\""><h2>[Linkcategory]</h2> <ul> <li></li> ... </ul> </div>
So I get actual quotes and the \quot;s, which I think should not be. But when I escape the double quotes in the CSS class in the wp_list_bookmarks function it breaks the thing.
Where’s my mistake?
Thanks for any help!
- The topic ‘wp_list_bookmarks’ is closed to new replies.