Support » Plugin: Post Bookmarks » get links for an specific category

  • Resolved mafloria

    (@mafloria)


    Hi how can I get the the links for a post but with an specific category?
    i have created 2 categories in addition to the default one

    im using post_bkmarks_output_for_post($post_id)

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author grosbouff

    (@grosbouff)

    Hi !
    Upgrade to version 2.1.2.

    You can now set bookmarks args when using post_bkmarks_output_for_post(), for example :

    
    $args = array('category'=>12);
    post_bkmarks_output_for_post($post_id,$args);
    

    Use the same parameters you would use while using get_bookmarks().

    Cheers !

    • This reply was modified 2 years ago by  grosbouff.
    • This reply was modified 2 years ago by  grosbouff.
    Plugin Author grosbouff

    (@grosbouff)

    !!!
    I updated the plugin and some names have changed in v2.1.3.

    – post_bkmarks_output_for_post() is now named post_bkmarks_links_list()

    Check the file post_bkmarks-templates.php for other functions you could use in your themes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get links for an specific category’ is closed to new replies.