couple of questions

Home Forums Calendar Products Events Calendar PRO couple of questions

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #957114
    akis2001
    Participant

    Hi
    I have a couple of questions re this plugin

    1. How can i hide the settings and tags menus in the admin area, I’ve used functions to remove the shop tab using

    remove_submenu_page( ‘edit.php?post_type=tribe_events’, ‘tribe-app-shop’ );

    but cannot remove the settings page. Ideally want it removed so a client cannot mess around with the settings and if I need access i can just comment out the line.

    2. how can i set the default sidebar to appear on an individual event page.

    thanks in advance

    #957428
    Barry
    Member

    Hi akis2001,

    Thanks for posting!

    So we wouldn’t normally recommend modifying core plugin code. Perhaps instead you could set up the following snippet either in the theme’s functions.php file or a custom plugin?

    add_action( '_admin_menu', 'remove_tribe_settings_page', 50 );
    
    function remove_tribe_settings_page() {
    	remove_action( 'admin_menu', array( TribeSettings::instance(), 'addPage' ) );
    }

    This should remove the main events settings link from the menu. Does that help?

    2. how can i set the default sidebar to appear on an individual event page.

    Do note that we try hard to stick to one issue or question per forum topic, so if you need further assistance with this I’d ask that you create a fresh topic.

    That said, this is often achievable simply by changing the default template setting via the Events → Settings → Display admin screen – try playing with that and see if it helps (or create a new topic if you need further assistance for this issue).

    Thanks!

    #961085
    Barry
    Member

    Hi!

    It’s been a while so I’m going to go ahead and close this topic.

    • Need help with anything else? Go right ahead and post a new topic, one of the team will be only too happy to help
    • Still need help with this issue and need to re-open it? Again, please simply create a new topic and link to this one to provide the team with some context

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘couple of questions’ is closed to new replies.