1,126 reputation
415
bio website twitter.com/lumpysimon
location United Kingdom
age
visits member for 3 years, 2 months
seen yesterday

Co-founder of Lumpy Lemon, a small & friendly UK-based WordPress design & development company specialising in custom-built WordPress CMS sites. I work mainly, but not exclusively, with not-for-profit organisations.

Find me on Twitter, Skype & GitHub: lumpysimon


Apr
2
awarded  Announcer
Mar
28
comment Creating custom permalink structure for languages
just a single website
Feb
1
awarded  Yearling
Dec
11
comment Updating custom fields with data from the database
You've also got a typo in there: your function parameter is called $post_ID, but two lines down you use $post_id. Variable names in PHP are case-sensitive.
Oct
1
awarded  Necromancer
Aug
10
awarded  Popular Question
May
12
comment custom field in admin columns
glad to help! well spotted with the typo - i've now updated my code with your correction.
May
12
revised custom field in admin columns
code correction
May
11
answered custom field in admin columns
May
11
comment custom field in admin columns
is the first part of your code (where you define the array) inside a function, and is that function called by a hook? in your question it's just floating around in the middle of nowehere...
May
11
comment custom field in admin columns
try reading and working your way through this tutorial, you should be able to find the relevant functions in your theme and add in your extra column.
May
11
comment custom field in admin columns
can you clarify exactly where this code is? i.e. is it inside a function that you're calling from a hook?
Apr
11
awarded  Popular Question
Apr
10
answered Plugin or script to apply updated media settings to all featured images
Apr
9
comment How to use shortcode inside of shortcode in theme
This does work, but it shouldn't be necessary. If the shortcode functions are correctly written you can do echo do_shortcode( '[first][second][third]hello[/third][/second][/first]' ).
Apr
9
comment How to use shortcode inside of shortcode in theme
The function that outputs the shortcode (i.e. the one called by add_shortcode) must be correctly written to allow this. It should contain the do_shortcode handler within its output. If you paste your shortcode functions code I can check it and provide a full answer.
Apr
8
comment Posts should use different layout based on URL
By the way, you can't use the word 'type' for custom taxonomies (it's one of WordPress' reserved terms), so you'll need to choose something else for that one.
Apr
8
comment Posts should use different layout based on URL
Are your locations and types stored in two taxonomies? If so, your URLs don't seem correct, they should each be different (e.g. site.com/location/vancouver). Then you just create a different template file for each one - see the template hierarchy Codex page.
Apr
7
awarded  Citizen Patrol
Apr
7
answered magic “MENU” button under Twenty Twelve theme