1,180 reputation
416
bio website lumpylemon.co.uk
location United Kingdom
age
visits member for 3 years, 6 months
seen Jul 22 at 12:41

Co-founder of Lumpy Lemon, a small & friendly WordPress design & development company specialising in custom-built WordPress CMS sites. We're based in the beautiful Dartmoor National Park in south-west England, but work with clients all over the world, mainly, but not exclusively, not-for-profit organisations.

Find me on Twitter and GitHub: lumpysimon


Jul
2
asked Use the same date-based permalink structure for all post types
Jul
2
awarded  Curious
May
14
answered phpMyAdmin displays error when importing database
Apr
30
answered User-uploaded images without an account
Apr
30
comment Disable wpautop, keep line breaks
That will work, but it's very rudimentary, so you'll need to be look out for unintended side effects. For example, shortcodes will probably no longer work.
Apr
30
answered Filters on Login Page
Apr
30
comment Filters on Login Page
That makes no difference. As a couple of other people have noted, the login_form_top filter is not called on wp-login.php. The login_message filter can be used instead.
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