wp_list_bookmarks not working in a page?
-
Hi,
I’m writing here because I couldn’t find an answer on the forums :
I am trying to make a page with all the links from one of my categories. That is, a page that is called “Soyons durable”, that appears in the menu, and that shows all the links (ideally bullet list) from the category “soyons durable”. (blog : https://nadglobtrotter.online.fr/blog)I’ve read WP documentation and I figured the tag wp_list_bookmarks() is the best for this.
I want to set it up this way :
<?php wp_list_bookmarks('category=6&orderby=rank'); ?>
But when i do this, no link shows up. No error message, just nothing.
I’ve tried changing the parameters, removing the parameters, but it is still showing nothing. I’m not sure what’s wrong and I haven’t found anybody with the same pb.I code in the wordpress editor, in mode “code”, and i include the <?php ?> tag inside a
tag.
Anybody can help?
- The topic ‘wp_list_bookmarks not working in a page?’ is closed to new replies.