• Where do I find the ID tag for links? I want to specify the sort order in a page I call “Other pages…”. Added links all show up fine, but I can’t figure out how to access or change the ID for individual links.

    Thanks,
    Ed

Viewing 3 replies - 1 through 3 (of 3 total)
  • The ID is an arbitrary sequence assigned when links are added to blogroll and can’t be changed without manipulating the MySQL table (not recommended).

    The bookmarks can be sequenced by a number of fields as described here in the Codex
    https://codex.www.ads-software.com/Template_Tags/wp_list_bookmarks. If one of the listed fields will work, you can include a call to the wp_list_bookmarks() with the sort sequence desired.

    I wish to display my links in reverse sort, so the argument should be

    orderby=_id

    unfortunately, using the “_” in the expression above does not reverse the sort order for id in this case.

    I want to display only the latest 10 links as posted chronologically using wp_list_bookmarks

    I figured out how to change the sort order: just add…

    order=DESC

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I find/change link IDs’ is closed to new replies.