Category: wordpress article

Adding A Stats Column For Jetpack

A feature that I feel is missing from JetPack, is an easy way to view stats for each post. The data is available there, so we only have to link to it. Here’s an example for post ID 549: http://example.tld/wp-admin/admin.php?page=stats&view=post&post=549 We can use the chart bar dashicon to display it: There are other icons available, […]

Adding a section to the Omnisearch in Jetpack with a custom posts search

Let’s say we need to add an extra section to the Omnisearch in Jetpack with a custom posts search. Like shown in this screenshot: where I’ve moved the custom section to the top with: for better visibility. Instead of extending the: class, I prefer to extend the: class to simplify things, where we only need […]

Why is my WordPress so slow? How to identify the problems

It’s difficult to give an answer to this kind of question, so I will list general things that have helped me to identify problems of this kind: Profile everything you can: The P3 Profiler plugin will profile your plugins: http://wordpress.org/extend/plugins/p3-profiler/ I also recommend the `Debug bar` (and it’s extensions) http://wordpress.org/extend/plugins/debug-bar/ and the `Blackbox` debug bar to […]