Forum Replies Created
-
AuthorPosts
-
December 2, 2015 at 11:02 pm in reply to: Lost My Entire Site Trying To Update Events Calendar Pro #1034306
Eric Reynolds
ParticipantHey Will. I received the same error. However, after updating the Community Events plugin, the error disappeared and things were back to normal. 🙂 Eric
Eric Reynolds
ParticipantThis reply is private.
September 17, 2015 at 2:51 pm in reply to: Displaying All Categories on Frontend Form by Default #1006213Eric Reynolds
ParticipantAwesome. That works. Thanks Brian! 🙂 Eric
Eric Reynolds
ParticipantExcellent. That works! Thanks Brian. 🙂 Eric
Eric Reynolds
ParticipantOrganizational Development
Thanks 🙂 Eric
Eric Reynolds
ParticipantThis reply is private.
September 9, 2015 at 10:32 am in reply to: Hide Timezone + Add Recurrence Rules from Frontend Event Form #1003374Eric Reynolds
ParticipantThanks George. Unfortunately, the CSS you gave me also hides the entire recurrence selector. I only wanted to hide the timezone and recurrence rule button. So, I used the following…
button#tribe-add-recurrence.button, #event_datepickers.tribe-events-community-details tr:nth-of-type(6n) { display: none !important; }July 31, 2015 at 9:26 am in reply to: Remove Community Events Options from Admin Toolbar (Revisited) #992172Eric Reynolds
ParticipantThank you Brian. That did the trick! 🙂 Eric
July 30, 2015 at 8:29 pm in reply to: Remove Community Events Options from Admin Toolbar (Revisited) #992013Eric Reynolds
ParticipantYes. It would be great if I could display the calendar options in the toolbar for just admins. 🙂 Eric
July 30, 2015 at 9:08 am in reply to: Remove Community Events Options from Admin Toolbar (Revisited) #991814Eric Reynolds
ParticipantHi Brian, I found and implemented the following code in my child theme functions.php and it works. However, I would love to exclude admins. Is there something I can add to the code below that will omit admins from losing the “+New?”
add_action( 'admin_bar_menu', 'remove_links_toolbar', 999 ); function remove_links_toolbar($wp_admin_bar) { global $wp_admin_bar; $wp_admin_bar->remove_menu('new-content'); }UPDATE
I found the following code to omit a user (admin) with ID “1” How can I add other user IDs to this code?
function remove_links_toolbar($wp_admin_bar) { global $wp_admin_bar, $current_user; if ($current_user->ID != 1) { $wp_admin_bar->remove_menu('new-content'); } }-
This reply was modified 10 years, 8 months ago by
Eric Reynolds.
July 30, 2015 at 8:57 am in reply to: Remove Community Events Options from Admin Toolbar (Revisited) #991809Eric Reynolds
ParticipantNo worries Brian. Thank you. The error is no longer there. However, one thing still remains. The “+ New” link with a dropdown that includes “Event”
🙂 Eric
July 29, 2015 at 4:07 pm in reply to: Remove Community Events Options from Admin Toolbar (Revisited) #991621Eric Reynolds
ParticipantThank you Brian, I added the code to my child theme functions.php file and received the following error…
Fatal error: Call to undefined function remove_menu() in /home/user/public_html/wp-content/themes/buddyboss-child/functions.php on line 63
The offending code on line 63 is remove_menu(‘tribe-events’);
🙂 Eric
April 2, 2015 at 10:38 am in reply to: Requiring Admin Login to View Default Events Calendar #952854Eric Reynolds
ParticipantThank you Matthew for digging. Your solution works like a charm! 🙂 Eric
-
This reply was modified 10 years, 8 months ago by
-
AuthorPosts
