Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Post Bookmarks

Adds a new metabox to the editor, allowing you to attach a set of related links to any post.

Adds a new metabox to the editor, allowing you to attach a set of related links to any post.

  • Nice GUI
  • Options page
  • Default link title and image based on its url (ajaxed)
  • Sort links by names or a custom order
  • Powered by the WP core bookmark functions
  • actions and filters hooks for developpers

Contributors

Contributors are listed here

Notes

For feature request and bug reports, please use the forums.

If you are a plugin developer, we would like to hear from you. Any contribution would be very welcome.

Author G.Breant
Profile
Contributors grosbouff
Tags custom links, links, post links, quick links, related-links
  1. post-bookmarks screenshot 1

    Post Bookmarks metabox in the backend editor

  2. post-bookmarks screenshot 2

    Settings page

  3. post-bookmarks screenshot 3

    Links displayed under a post

  1. Upload the plugin to your blog and Activate it.

2.0.9

  • Renamed plugin from 'Custom Post Links' to 'Post Bookmarks'
  • Upgrade routine for 'Custom Post Links' plugin
  • Improved class Post_Bookmarks_List_Table

2.0.8

  • 'Quick Edit' mode
  • Link categories column
  • Better way of saving existing / new links
  • improved javascript (& includes URI.js)
  • 'hide_from_bookmarks' option
  • Filters on the 'get_bookmarks' hook to include / exclude our links

2.0.7

  • cleaner code for blank row link + links tabe actions

2.0.6

  • try to guess the link name from remote page title or domain (ajaxed)
  • URL as first column
  • better way to load JS

2.0.5

  • Better output styling
  • Favicons : Option to automatically load URL pictures from Google API
  • New filter ‘post_bkmarks_get_for_post_pre’
  • New function ::get_blank_link()

2.0.4

  • minor

2.0.3

  • ignore targets (eg. ’_blank’) if a link is a local link
  • backend : use ‘_blank’ target for URLs in the links table
  • implemented links targets

2.0.2

  • Importer and admin notice for links from the original Custom Post Links plugin (metas '_post_bkmarks').
  • new function Post_Bookmarks::insert_link()
  • Improved function 'post_bkmarks_get_existing_link_id'
  • new function ‘post_bkmarks_get_metas’

2.0.1

2.0

  • custom sorting
  • options page
  • set the link domain as class in the link output
  • display entries in metabox using class Post_Bookmarks_List_Table (extends WP_List_Table)
  • store / read entries from the Link Manager plugin (Worpress core) instead of metas
  • wrapped in a class, better code structure
  • use fontAwesome css, deleted drag_handle.png
  • various other improvements

1.0

How can I style a link based on its domain, using CSS ?

Use the data-cp-link-domain attribute, for example :

li.post-bkmarks[data-cp-link-domain='wikipedia.org'] .post-bkmarks-favicon {
    background-image: url('https://wikipedia.org/static/favicon/wikipedia.ico');
}

How can I change the way links are displayed ?

Use the filter post_bkmarks_output_single_link (located in the post_bkmarks_output_single_link function), for example :

<?php

function custom_output_single_link($output,$link){
    return $output;
}

add_filter('post_bkmarks_output_single_link','custom_output_single_link',10,2);

?>

Localization

Share  
Download
Version 2.0.9

Requires WordPress version: 3.5 or higher

Compatible up to: 4.7.2

Last Updated 14 Dec 2016

Date Added: 14 Dec 2016

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

0 stars
0 ratings
50 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0