WordPress Landing Pages
Access to Visual Editor and Landing Page List links in conjunction with Buddypre (4 posts)

  1. bridieamelia
    Posted 1 year ago #

    Hi, We are using Buddypress and as such have the admin bar visible at the top. However, when Landing Pages is active, the links to Visual Editor and Landing Pages list are visible and clickable. What's more, it's actually possible to enter the Visual Editor when not logged in.

    How can we fix this ASAP?

    See here at URL: http://www.12stepsforbusiness.com.au/go/welcome/

    in advance,


  2. David Wells
    Plugin Author

    Posted 1 year ago #

    You will need to setup conditional logic for userroles.

    You can submit pull requests here: https://github.com/inboundnow/landing-pages

  3. bridieamelia
    Posted 1 year ago #

    Thanks for the reply. I'll look into the conditional logic. I'd love to know how to submit a pull request...just a fledgling developer here!

    Do I simply click on "Pull Requests" and type in a request that the links not show unless admin?

    Apologies for my newbieness :)

  4. bridieamelia
    Posted 1 year ago #

    Hi again,

    So having done some searching, I found the following code on your support forum:

    function remove_inbound_admin_bar() {
        global $wp_admin_bar;
         if ( is_user_logged_in() && !current_user_can( 'manage_options' )) {
    add_action( 'wp_before_admin_bar_render', 'remove_inbound_admin_bar' );

    Which worked a treat for the Marketing menu item.

    What would the slugs for "Launch Visual Editor" and "View Landing Page List" be, if I were to add remove_menu() for them as well?

    Or, could you suggest another approach? The landing page is the only page now showing Landing Page menu items, which is not great for conversion.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Landing Pages
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic