Ben Huson
4K posts

Ben Huson
@benhuson
Web site designer and developer at Camber. I work a lot with WordPress.
United Kingdom Katılım Ocak 2009
810 Takip Edilen605 Takipçiler

Really odd issue today which is driving me crazy.
I have a shortcode (link below and read the comment) which is producing empty p tags in the output.
Cannot for the life of my work out why.
Any ideas anyone?
gist.github.com/wpmark/17eeeec…
English

My wife is giving away a selection of eco-friendly adhesive paper tapes for wrapping and packing to mark @inkkin_uk reaching 1k followers on Instagram. Check it out here: instagram.com/p/C59DGH5C_vs/…

English

@remkusdevries 1️⃣ So long ago… Don’t remember it that well but remember when it switched to the blue header.
English

@pixelyzed I maintain it in terms of checking compatibility with new WP versions and if anyone flags a specific issue, I try to resolve it where possible. So if it works for your needs ok as is it should be ok.
English

@benhuson How can we reach you directly? We had a question about one of your plugins but weren't able to find a direct way to contact you
English

@keithdevon Work with transition delay too, so really useful if you need a different delay when toggling an on/off state.
English

My current method for implementing "load more" posts buttons on #WordPress archive pages (rather than pagination), is to use a custom REST endpoint.
Works really well as is super easy to use. Video coming soon on how.
English
Ben Huson retweetledi

Raw sewage floating down The River Avon where people swim, paddle board and kayak. This is an area of outstanding natural beauty where we have spotted woodpeckers, falcons and beavers. It’s being destroyed by #Sewage #BBCBreakfast
Kingswood, England 🇬🇧 English

Working with #WordPress themes I make extensive use of get_template_part(). One thing that always ends up in the debate in the naming to use for your parts.
I would always go with navigation-category.php although some would argue the other way around.
What do you think?
English

@ODEONHelp We’ve just booked some cinema ticket for this afternoon but would like to change to a different film. Appears to be no way to contact customer services at short notice, just a support form. Can you help?
English

Ahead of yesterday's webinar I made a #WordPress #SEO mindmap.
Thought I might as well share it!
miro.com/app/board/o9J_…
What am I missing?
English

@herb_miller @wpmark That’s a while back! I vaguely remember a conversation, but have no recollection of any solution 🤦🏼♂️😂
English

There are literally hundreds of #WordPress function for developers to use in their coding.
As such there are quite a few that you may not have hard about or used.
Here is a thread of some of the more obscure ones that I often use and find helpful.
English

wp_list_pluck()
Pluck all the items out of an array or object that have a specific value and return them in a new array.
Hard to explain this one but when you read the docs it becomes really useful!
developer.wordpress.org/reference/func…
English

@keithdevon The ONLY thing I use my MacBook touch bar for is inserting emojis 💻 😆
English

@keithdevon Also, terminology wise I went through many variations of sup-heading, superheading, over-heading etc before finding the term ‘overline’ from print which seems to make the most sense: merriam-webster.com/dictionary/ove…
English

@benhuson I wonder if a div or span would be more semantic than a paragraph?
We really need a pre- or super-heading element!
English

#a11y question:
What should the markup be for these two elements? The white on red text is the title of the page.

English

@keithdevon Possibly. I consider div and span generic rather than semantic so could make sense in this instance when lacking a suitable semantic tag.
English
Ben Huson retweetledi

If you build #WordPress plugins, what was the very first plugin that you built? Presumably it helped you learn plugin development.
Mine was a plugin that output the name of the hooks available in the WordPress admin in red text. It was useful but quickly became dated.
English






