• Resolved dnikola

    (@dnikola)


    Hello

    I would like to show over user icon in menu number of his saved post.

    Could you please tell me what is the easiest way to do this ?? ?

    Regards!

    PS. I opened topic here maybe someone will be also useful to know this ??

    • This topic was modified 8 years, 6 months ago by dnikola.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ratkosolaja

    (@ratkosolaja)

    Hi there,

    You can create a function inside your theme’s functions.php file:
    https://pastebin.com/pp5FpRkK

    Also, you’re going to have to edit your theme’s menu, maybe add saved for later like an icon next to your menu.

    You can get page id (so you can create a link) like this:
    $page_id = get_option( 'rs_save_for_later_page_id' );

    NOTE: Getting page ID like that will only work if you haven’t modified (deleted and created a new one) the “Saved for Later” page that has been created on plugin activation.

    Cheers.

    • This reply was modified 8 years, 6 months ago by ratkosolaja.

    Perfect ratkosolaja, thank you so much for this code snippet.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get number of saved post’ is closed to new replies.