WordPress.org

Ready to get started?Download WordPress

Forums

wp_list_bookmarks category_name does not work (9 posts)

  1. shua
    Member
    Posted 3 years ago #

    Hi all!

    I am building a site that has ~50 pages. Each page has its own list of bookmarks.

    To manage the bookmarks I would like to use the Link Manager.

    For each page I will create a link category and fill it with links that pertain to a page.

    To write the most streamlined logic, I would like to grab the page slug that I am currently on - and use it as the parameter for the category_name within wp_list_bookmarks.

    I have found that category_name is not working at all tho... and the functional reference is not helping :(

    any thoughts or help would be appreciate!!

    -Shua

  2. shua
    Member
    Posted 3 years ago #

    ping

  3. shua
    Member
    Posted 3 years ago #

    Otto? Anybody??

  4. shua
    Member
    Posted 3 years ago #

    has anyone been able to pass the category_name as a parameter for wp_list_bookmarks??

  5. shua
    Member
    Posted 3 years ago #

    hmmm

  6. shua
    Member
    Posted 3 years ago #

    ping

  7. ClosetGeek
    Member
    Posted 3 years ago #

    Hi,

    Yeah, I think I could be suffering the same problem. Am fairly new to WP and just started coding my own templates. Am trying to do exactly the same - group of categories per page, linked via page-slug and category_name.

    Have it working, but as soon as I add the category_name to the function args it returns nothing.

    Am going to check out the IRC channel, see if I can get it confirm or denied.

    Regards,
    Paul

  8. ClosetGeek
    Member
    Posted 3 years ago #

    Bump!

    Am trying to get this confirmed. Have frequented the IRC channel to no avail.

    Am struggling to believe there is just the two of us with the problem *lol* which would imply I'm doing something wrong *lol*

    Paul

  9. karenalenore
    Member
    Posted 3 years ago #

    Seems to work with the full category name but does NOT work with teh category slug. Is that your experience? it also works with category=ID instead of using the category_name paramenter.

Topic Closed

This topic has been closed to new replies.

About this Topic