Vancouver, BC, Canada
Originally from the UK, Andy had no trouble adapting to the rain soaked life of Vancouver, BC where he now lives. Andy likes to hop between coding and designing, sometimes mixing the two together and making his code look “pretty.” He has been tinkering with WordPress for a number of years both in theme design and plug in development. When away from his screen, Andy loves to watch and play all kinds of sports. Being in Canada, hockey holds a special place in his heart.
Andy Peatling's
Activity Stream →
-
Andy Peatling posted a reply on the forum topic Help with BuddyPress Friends Loop: 7 hours, 12 minutes ago
<?php if ( bp_has_members( 'user_id=' . bp_loggedin_user_id() ) ) : ?> -
Andy Peatling posted a reply on the forum topic Help with BuddyPress Friends Loop: 7 hours, 55 minutes ago
Try hardcoding with a user_id to begin with to see if that works:
<?php if ( bp_has_members( 'user_id=1' ) ) : ?> -
Andy Peatling posted a reply on the forum topic rtl support?: 7 hours, 57 minutes ago
Yes, this will be in 1.2.
-
Andy Peatling posted a reply on the forum topic Call to undefined function bp_activity_update_meta(): 19 hours, 29 minutes ago
You should be using the wp_ajax_ hook to run your AJAX functions and using the ajaxurl parameter in JS as the request URL. IF you do that then the WP environment should be loaded. Basically exactly how all ajax is done in bp-default.
-
Andy Peatling posted a reply on the forum topic adding content to the 1.2 default theme homepage: 20 hours, 56 minutes ago
To be honest the way it is now is the way every WordPress theme designer is used to. It’s the way WordPress does it natively. Using home.php is actually not the best idea since it overrides all settings – as we found out in the end.
Andy Peatling's