Category Archives for Design principles and gotchas

Hooks, Themes and Conformance

WordPress ‘hooks’ are a very powerful feature as long as they are universally supported by all themes. Sadly this is not always the case. A good example is the pre_get_posts filter hook. Whenever WordPress retrieves posts to display this hook should be triggered. This allows plugins to intervene in the process, filtering out selected posts […]

Continue reading

xmlrpc Denial of Service

Some time ago I found my WordPress site was running extremely slowly. Eventually (i.e. after I’d checked the access log) I realised the delay was being caused by floods of xmlrpc accesses. I disabled xmlrpc and everything went back to normal (I don’t use xmlrpc for anything anyway, so it was no loss). This was […]

Continue reading

Permalink Problems

It’s generally accepted that it’s not a good idea to use the default URLs that WordPress provides. They offer no clue, either to the human visitor or to search engines, as to what a post is about, and I generally use the permalink scheme that addresses posts and pages using a string based on their […]

Continue reading
1 2 3 5