Support » Plugin: c3 Random Quotes » Quotes on admin bar

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author creed3

    (@creed3)

    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.

    Plugin Author creed3

    (@creed3)

    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:
    Normal position
    https://www.castingenbarcelona.es/normal.jpg

    And here you can see exactly what I wanna do if its posible:
    Example
    https://www.castingenbarcelona.es/sample.jpg

    I hoppe its posible and not really complex. Anyway thanks for trying. If you need any extra information or anything please tell me.

    Best regards.

    • This reply was modified 3 years, 10 months ago by Than_sad.
    • This reply was modified 3 years, 10 months ago by Than_sad.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Quotes on admin bar’ is closed to new replies.