Download CBX WP Bookmark

3 ways to install

First: From Plugin Directory

  • Navigate to the ‘Add New’ in the plugins dashboard
  • Search for ‘cbxwpbookmark’
  • Click ‘Install Now’
  • Activate the plugin on the Plugin dashboard

Second: Uploading in WordPress Dashboard

  • Navigate to the ‘Add New’ in the plugins dashboard
  • Navigate to the ‘Upload’ area
  • Select `cbxwpbookmark.zip` from your computer
  • Click ‘Install Now’
  • Activate the plugin in the Plugin dashboard

Third: Using FTP

  • Download `cbxwpbookmark.zip`
  • Extract the `cbxwpbookmark` directory to your computer
  • Upload the `cbxwpbookmark` directory to the `/wp-content/plugins/` directory
  • Activate the plugin in the Plugin dashboard

Usages

  • Install the core plugin “cbxwpbookmark” and activate.
  • On activate the plugin creates a page called “My Bookmarks” which contains the shortcode
  • Check the setting page for this plugin from WordPress dashboard left menu Setting->CBX Wp Bookmark
    Setting
  • Place the widgets in sidebar

Various Shortcode Details

1. Bookmark Button [cbxwpbookmarkbtn] Shortcode details

Where to use: You can disable auto integration for bookmark button and add the boomark button using shortcode,
useful when you want it for specific post.

param name default value possible values
object_id if blank takes default post id any post id
object_type if black takes post type from the post as found technically from wordpress loop post, page etc, but it’s recommended to put write post type
show_count 1 0,1
extra_wrap_class Exta wrapping html class for bookmark button if you need for style purpose. Introduced in v1.4.1 any string that can be used for html class, default empty
skip_ids Comma separated post id to skip bookmark button. Introduced in v1.4.1 Any post id, default empty
skip_roles skip bookmark button for any user role, for multiple use comma. Introduced in v1.4.1 Example user role administrator, editor, author, contributor, subscriber, default empty

Shortcode can be added in theme directly following this below code snippet

2. Bookmark List [cbxwpbookmark] Shortcode details

Where to use: Shows logged or any user’s bookmarks

param name default value possible values
userid logged in user id any user id
orderby id id, object_type
order desc asc, desc
limit 0 – means all any numeric value
type post, page, any custom post type
loadmore 1 1 or 0
offset 0 any numeric number
catid 0 any category id
cattitle 1 Show category title
catcount 1 Shows bookmark count for any category with the category title, 0 or 1
allowdelete 0 if you want to allow delete any bookmark of user’s own in logged in mode, 0 or 1

3. Boommark Categories [cbxwpbookmark-mycat] Shortcode details

Where to use: Shows logged or any user’s bookmark category

param name default value possible values
userid logged in user id any user id
orderby cat_name id, cat_name, privacy
order asc asc, desc
display 0 0 = list 1= dropdown,
allowedit 0 0 or 1, 1 = allow
show_count 0 0 or 1, 1 = show

4. Most Boomarked posts [cbxwpbookmark-most] Shortcode details

Where to use: Shows most bookmarked posts/items

param name default value possible values
orderby object_id id, object_id, object_type
order desc asc, desc
limit 10 any numeric value
type post, page or any custom post type
daytime 0 as all time ‘0’ as all time, any numeric value as days
show_count 0 1 = show, 0 (shows count)
show_thumb 0 1 = show, 0 (shows thumbnail)
ul_class product_list_widget class name to apply to ul as extra
li_class class name to apply to li as extra

5. Bookmark Grid [cbxwpbookmarkgrid] Shortcode details (Pro Addon)

Where to use: Shows logged or any user’s bookmarks

param name default value possible values
userid logged in user id any user id
order desc asc, desc
orderby id id, object_type
limit 0 – means all any numeric value
type post, page, any custom post type
loadmore 1 1 or 0
offset 0 any numeric number
catid 0 any category id
cattitle 1 Show category title
catcount 1 Shows bookmark count for any category with the category title, 0 or 1
allowdelete 0 if you want to allow delete any bookmark of user’s own in logged in mode, 0 or 1
show_thumb 1 0 or 1, 1 = shows thumb, 0 = hide thumbs

For Developer

Showing Bookmark Button Inside Loop or Outside Loop

Get total bookmark count of any post by id

Get total bookmark count of any category by category id

Check if any post is bookarked by any post id

Check if any post is bookarked by any user by any post id & user id