[Science, Technology, Engineering, Arts and Maths]

Code

CodeWordPress

WordPress – Enable compression – Leverage browser caching

It's easy enough to enable compression and leverage browser caching in wordpress by directly editing the root .htaccess file. Make a backup of your .htaccess file before you do this…
CodeWordPress

Buddypress – add terms and conditions to registration

I wanted to add a terms and conditions checkbox and link to the registration process. I tried the two main plugins (Agreeable and BP Xtra Signup) and found they were…
CodeWordPress

Buddypress add validation to custom field

So you need to validate a custom registration field in buddypress. You will want to be looking at the hook bp_signup_validate. The following code can be added to your custom…
CodeWordPress

WordPress – Add dynamic link to main menu

Let's say your site has a main menu but you want to add a dynamic link to it. By dynamic link I mean a page that differs from user to…
Add tab to Group in Buddypress
CodeResearchWordPress

Add tab to Group in Buddypress – WordPress

So.. you need to add a tab and associated page to the BuddyPress Group single post page. I recently needed to do this for a pedometer plugin I'm working on…