263 reputation
48
bio website kalpaitch.com
location London, United Kingdom
age 29
visits member for 2 years, 2 months
seen Jul 15 '13 at 12:19
Looking for answers

Oct
27
awarded  Favorite Question
Apr
20
awarded  Notable Question
Jan
17
awarded  Good Question
Oct
22
awarded  Yearling
Jul
8
awarded  Popular Question
Nov
14
comment Add categories and posts to page hierarchy
agreed, sounds like fun.
Nov
14
asked Add categories and posts to page hierarchy
Nov
2
comment Best way to initiate a class in a WP plugin?
@Geert, agreed, I found that these activation hooks still had to go in __contruct
Nov
2
accepted Best way to initiate a class in a WP plugin?
Oct
24
comment Best way to initiate a class in a WP plugin?
I kinda agree with this, but I thought it worth putting in as I found it in a couple of WP plugins.
Oct
24
comment Best way to initiate a class in a WP plugin?
@Tom Auger, I completely see your point about loading using the hook plugins_loaded. Would it be better to use the first method in the question for initiating a class, or if you propose an alternative method, could you please include in an answer?
Oct
23
awarded  Nice Question
Oct
23
revised Best way to initiate a class in a WP plugin?
added 262 characters in body
Oct
23
revised Best way to initiate a class in a WP plugin?
added 364 characters in body
Oct
22
comment Best way to initiate a class in a WP plugin?
Very helpful, and the add_shortcode() seems to be a much simpler way to include the output of a particular part of that class, rather than fetching an instance per say. Is it possible to use a shortcode in the template files as well as in the WordPress Editor?
Oct
22
comment how can I get seperate the HTML in the_content(); output?
I guess this is what the featured image is meant to replace...
Oct
22
awarded  Editor
Oct
22
revised Best way to initiate a class in a WP plugin?
added 274 characters in body
Oct
22
comment Best way to initiate a class in a WP plugin?
what would be the difference between add_action('plugins_loaded',...); and add_action('load-plugins.php',...); The example I took used the latter
Oct
22
awarded  Scholar