Support » Plugin: c3 Random Quotes » Quotes on admin bar
Quotes on admin bar
-
Hi, I want to use the admin bar (left side) for show to all the users the c3 quotes. Please can you explain to me, what function I should to add in functions.php or how can I do it?
Thanks in advance and best regards.
-
Hi Than,
If I understand you correctly, you’re wanting a link in the admin menu directly to the quotes page. To do this add the following to your theme’s function.php file:function register_custom_menu_page() { add_menu_page('Quotes For Widget', 'Quotes For Widget', 'edit_posts', 'post.php?post=000&action=edit', null, null, 6); } add_action('admin_menu', 'register_custom_menu_page');
The URL will need to be changed to suit your installing, either changing the ‘post=000’ to the page number for your Quotes post, or if you’re using permalinks changing it to the appropriate URL for that.
Hope this helps!
Hi! Thanks for answer. I want to show the quotes text directly, not the link.
My admin bar only have the buddy press member menu at right side. I want to show the random quotes at the left side, because I’m using your plugin for show tips about how to use the community. For example: (quote 1) Invite your friends to joint the group in you profile, send invitations.
I hope you understand me now. I’m sorry I’m from Spain and my English isn’t good.
Best regards!
One thing, the admin bar in my site isn’t visible for guests, only appears to registered members.
No need to apologize, I appreciate your feedback. So then, rather than in the menu area for the admin page, you’re thinking you’d like it in the actual admin page, is that correct? I’ve tried to find some way to place it above the admin menu on the far left side but this doesn’t seem to be a very easy task.
Hi! I made a photoshop edited screen capture to show you exactly what I need.
Here you can see the normal position as a widget:
https://www.castingenbarcelona.es/normal.jpgAnd here you can see exactly what I wanna do if its posible:
https://www.castingenbarcelona.es/sample.jpgI hoppe its posible and not really complex. Anyway thanks for trying. If you need any extra information or anything please tell me.
Best regards.
- The topic ‘Quotes on admin bar’ is closed to new replies.