Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi. I had the same issue that I wanted the calender to fit when viewed on a mobile device. It’s a really simple solution based upon wp_is_mobile() which Barry told – I hope I am allowed to share this solution, not breaking any licenses?

    The solution:
    Go into Plugins – Editor and find “the-events-calendar/views/month.php” within the plugin (The Events Calendar).

    Replace <?php tribe_get_template_part(‘month/content’); ?> with:

    <?php if ( wp_is_mobile() ) {
    	tribe_get_template_part( 'list/content' );
    } else {
    	tribe_get_template_part('month/content');
    } ?>

    It worked out for me perfectly. What happens is that it’s asking if the device is a mobile or not. If it’s a mobile it’s showing the list, if not it’s showing the calender.

    Enjoy! 🙂

    Thread Starter nikkokick

    (@nikkokick)

    Hi,

    Tried with different roles with “User Role Editor”.
    However they are still able to see things in the Admin panel that I don’t want them to be able to see.

    Any other suggestions?
    Thanks

    Thread Starter nikkokick

    (@nikkokick)

    Thank you WPyogi.

    I did think about Roles/Capabilities but I’m afraid that will leave some room for non-admins to mess something up?

    What I want is a category of users named “Bloggers”. They are only allowed to do posts on their own page (each blogger have their own page) and in their own category.
    They should not be able to see any other posts than their owns in the administration panel.

    Do you think this is possible in any way? I want each user to have an unique page and posts that no one else (except admins) can see.

    Thanks

    Thread Starter nikkokick

    (@nikkokick)

    Hi 🙂

    So far no luck yet, still hoping someone will reply to this.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)