WordPress Coding Standards

    https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/ http://pear.php.net/package/PHP_CodeSniffer/redirected   https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards   phpcbf –extensions=php ./member-history –standard=WordPress-VIP -p  

BuddyPress Member tabs

For removing the Activity tab in the Members Profile area of BuddyPress, one might try this: [php] add_action( ‘bp_actions’, ‘remove_members_activity_tab’, 5 ); function remove_members_activity_tab() { global $bp; bp_core_remove_nav_item( ‘activity’ ); } [/php] But it’s likely you’ll get an error since the Activity tab is the default. To get around this, you can change the default […]

Genesis for Beginners v3

The handbook put out by StudioPress, A Beginner’s Guide to the Genesis Framework for WordPress, has version 2 in its URL structure, but when you arrive there to see the pdf, you’ll notice that the footer of the file indicates that it’s actually version 3, updated in January 2016. To be clear, Version 2 has a […]