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 […]

WordPress: Playlist shortcode with external audio or video files

The shortcode  in WordPress 3.9 is great, but we can’t use it for external files. Here’s a solution I wrote on WPSE to use it for external files. The plugin is hosted on GitHub. Here’s version 0.05b for those who use PHP 5.1.x or PHP 5.2.x. WordPress 4.0 support: Please update to version 0.0.5+ of […]

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: I also recommend the `Debug bar` (and it’s extensions) and the `Blackbox` debug bar to […]

Scroll to Top