herb miller

WordPress plugin specialist

  • Home
  • About
    • Online CV
    • Contact
    • Find me
  • Shop
    • Seriously Bonkers – softback book
    • Seriously Bonkers – signed book
    • Seriously Bonkers – PDF
  • Dev env
    • Local development
    • WordPress plugins
    • Server environments
    • Development hardware
    • WAMP configuration
    • Tools and languages
    • What’s not in my development environment?
    • Anything else in your development toolkit?
  • Sites
Work » Page 3

Getting no results for orderby=meta_value meta_key=_end_date?

In some code I wrote recently I wanted to be able to access ALL posts regardless of post_status. Using bw_get_posts(), I performed the equivalent of running the bw_list shortcode here.

bw_list post_type=olc_promotion 
  post_status=any  
  orderby=meta_value 
  order=DESC 
  meta_key=_end_date 
  numberposts=-1 exclude=-1

On one system I got the results I expected. On another I got nothing. [Read more…]

Categories: programming, WordPress, WorkTags: meta_key, orderby

Published: January 20, 2014 | Last updated: August 18, 2014

Need to get a bigger boat?

In my development system I’ve got 30 different post types. I just happened to want to create a new “Sheep” ( it’s a post type with a plural name of “Ba bas” ).

When I’m using my 15.6″ laptop screen the + New menu items in the admin bar flow over the bottom of the screen. So the menu item I needed to choose was off the bottom of the screen.

My pragmatic solution was to move the window to my other screen (22″)

But that’s not an option for some people. Has anyone developed a simple solution for this problem, or do I need to limit the post types that are added to the admin menu? [Read more…]

Categories: WordPress, WorkTags: fob, unusable interface

Published: January 15, 2014 | Last updated: August 18, 2014

Fatal error: Call to undefined function wp_get_current_user() in \wp-includes\capabilities.php on line 1344

Have you upgraded to WordPress 3.8 and received the following error?

Fatal error: Call to undefined function wp_get_current_user() 
in \wp-includes\capabilities.php on line 1344

If so, and you want to understand one reason why you got this message, and how to recover from it, then read on. [Read more…]

Categories: programming, WordPress, WorkTags: debugging, fatal, troubleshooting, WordPress 3.8, wp_get_current_user

Published: January 14, 2014 | Last updated: August 18, 2014

H2GD Part 36: Not waking from Windows 8 sleep

My new laptop has been misbehaving. I think it must be attention seeking behaviour. When I go away from it without first saying “C U later” or “back soon”, and I’m away for more than a minute or two it seems to put itself into sleep/hibernate mode but won’t restart. It effing annoying and I’m at a loss troubleshooting the problem. I can’t find a report of a solution to the problem that I feel applies to this machine. [Read more…]

Categories: H2GD, WorkTags: not waking, sleep, troubleshooting, Windows 8

Published: January 14, 2014 | Last updated: August 18, 2014

H2GD Part 35: re-birth of qw

I’m now back in the UK and I have a new laptop. I’ve managed to recover most of my development environment from my backups. In some cases I have downloaded new versions of programs, then decided to revert to earlier versions. In other cases I have stayed with the upgraded version. And there have even been some tools that I’ve not re-installed [Read more…]

Categories: H2GD, Work

Published: January 5, 2014 | Last updated: August 18, 2014

WordCamp London 2013 – Probably doing it wrong

In July 2012 I gave a presentation at WordCamp Edinburgh on lazy smart shortcodes. On the surface, I tried to keep it simple, but deep within me was the desire to get seriously technical and talk about the design and development of the plugins, and the challenges I faced developing them.

Now I’m thinking about speaking again, at WordCamp London 2013.

This time the target audience are other WordPress developers who may or may not be experiencing the same problems and coming up with similar solutions to mine, all the while thinking to themselves

I’m probably doing it wrong

[Read more…]

Categories: programming, WordPress, WorkTags: London, WordCamp

Published: September 20, 2013 | Last updated: August 18, 2014

View custom.css

I need a way to refresh the custom.css file on my iphone since Google Chrome is cacheing it. How do I achieve that? [Read more…]

Categories: programming, WordPress, WorkTags: CSS, iPhone, reload

Published: October 18, 2012 | Last updated: August 18, 2014

serialized Estonian

I’m currently testing some code that will enable me to host plugins on my own server supporting plugin upgrades using the standard WordPress update mechanism. In order to be able to support Premium plugins the client needs to pass a special key. A correct Application Programming Interface (API) key will unlock the interface between the client and the server, allowing the client the access to the data on the server. I just got a result that made me titter. [Read more…]

Categories: programming, WordPress, WorkTags: Estonian, Google, serialize

Published: August 22, 2012 | Last updated: August 18, 2014

How To Get Distracted Part 5: cloning a local website to WPMS via normal WP

On 16th May 2012 I gave a presentation to the Secrets to Success networking group with a subject of “20 Secrets to Successful websites”.

It was in the form of  a simple website that I had developed locally, using an early beta of WordPress 3.4.  I’ve now cloned it, twice, to a WordPress Multisite site:  http://rowlandscastlewebdesign.com/secrets-to-success-may-2012/ This is the story of why and how… [Read more…]

Categories: H2GD, WordPress, WorkTags: clone

Published: June 8, 2012 | Last updated: May 14, 2015

How To Get Distracted Part 4: IE9 compatibility mode

I was working with Xandrien Thiel of Balancing by art today and she had some problems on her site that I’d not seen before. They all turned out to be the fact that she was using Internet Explorer 9 with Compatibility View checked. [Read more…]

Categories: H2GD, Play, programming, WorkTags: compatibility, Google maps, IE9

Published: June 7, 2012 | Last updated: May 14, 2015

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next Page »

Products

  • Seriously Bonkers - signed book £8.99 £5.99
  • Seriously Bonkers - PDF £1.00
  • Seriously Bonkers - softback book £8.99 £4.99

Recent Posts

  • Slog-bloat – server performance testing
  • WebP for my iPad
  • Image size reduction by quality
  • Localization of Full Site Editing themes
  • Fizzie – an experimental Full Site Editing theme

Recent Comments

  • Aprende gutenberg #49 - Aprende gutenberg on SB Children block – my first Single Block plugin
  • Richard Cagle on Installing Imagick for PHP 7 on Windows 10
  • WordCamp Birmingham on bucket list – WordCamp Birmingham UK 2015 (#wcbrum)
  • mick on WordPress capabilities: How to restrict Add New while allowing Edit
  • mick on WooCommerce 2.2.4 – Dynamic API Reference

Archives

Categories

WordPress 5.6.1. PHP: 7.3.27

WordPress version: 5.6.1

Gutenberg version: 9.9.3

Tide times from tidetimes.co.uk

Tide Times & Heights for Northney onMonday, 01 March 2021
High Tide:00:52 ( 5.00m )
Low Tide:06:06 ( 0.10m )
High Tide:13:03 ( 5.00m )
Low Tide:18:28 ( -0.10m )

Tide times from tidetimes.org.uk

Tide Times & Heights for Northney on 1st March 2021
00:52 - High Tide ( 5.00m )
06:06 - Low Tide ( 0.07m )
13:03 - High Tide ( 4.98m )
18:28 - Low Tide ( -0.12m )

Follow me

  • Home
  • About
  • Blog
  • Contact
  • Find me
  • Privacy notice
  • Sitemap

Site:  herbmiller.me
© Copyright herb miller 2012-2021. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress