WordPress Events Manager REST data

With WordPress adding a REST api, buddypress having one partially implemented it got me thinking about trying to build an app for my site, the only problem being that Events Manager plugin doesn’t expose any information via REST. Securing access to REST As I only allow logged in users to interact with most of my […]

WIP Newsletter plugin defaults

includes/controls.php I can’t see any easy way to override the functions below, there is a data object at the top of the document but not all inputs are checked against this and no way to inject own values from elsewhere.  These changes will need to be re-applied after every update. function yesno($name) { $value = […]

The Newsletter Plugin & BuddyPress registration form

If you are letting your users sign up to WordPress and using Newsletters there is a good chance you’ve installed the Registration Integration plugin for Newsletters, this will add a tick box so users can choose whether to be added to your newsletter database or not. This works perfectly on the WordPress registration form but […]

BuddyPress, Events Manager – Custom Attendeelist.php showing attendees

I modified the original code shared by EM on pastebin so that it would show the Buddypress image and membership level as well as the original name.  If you are not using BuddyPress you may wish to the look at the previous link or check out this placeholder replacement. Within wp-content/themes/CHILD_THEME/plugins/events-manager/placeholders Create Attendeelist.php This will […]

WP, BP & EM show totals on user list

The code below adds a column to the Users tab in the Dashboard to show the users totals for how many Posts, Locations, Events etc they have made.  It should work with any post type and will create a link that will bring up search results for each /* * Changes All Users list in […]

WordPress, BuddyPress & Events Manager customisations

Below are some of the pieces of custom code I’ve found around the internet for use on the WordPress, BuddyPress and Events Manager site I run, used to create a social network for a local hiking group. /* * Removes the wordpress News metabox * see https://codex.wordpress.org/Dashboard_Widgets_API for further details */ function yoursite_remove_dashboard_meta() { remove_meta_box( […]