Puddinq.com sharing knowledge

Sort posts in wordpress (custom way)

Sort posts in wordpress (custom way)

In wordpress you sometimes want to sort posts in a way that is not possible with the standard core. The first thing you have to investigate is: is it possible to do it in the standard way. Sort posts by custom post type The problem I had: Search results came back for different custom post […]

Analytics in wordpress (cached)

Verion: 0.1.0 Though www.google.nl itself does not get an impressive score when run through PageSpeed Insight. You might frown when you added the analytic script as Google instructed and Google tells you it is not right when you check your site on PageSpeed. For wordpress I made a plugin that solves this: It downloads the analytics.js, puts it […]

Atom customized for wordpress

Atom is a brilliantly fast text editor with endless extras that come in packages. Atom customized for wordpress is a tailored tool for developers who like the functions and snippets in the library. Atom customized for wordpress install Atom: download latest from official site Commands to run in shell, or packages to look up in […]

Wordpress - Add links to plugin description in plugin list

In the plugin list ‘/wp-admin/plugin.php’ it is nice to add links to go to settings or management pages for people who just installed the plugin. They can find the pages under the plugin description  without searching through the (long) list of menu links on the admin page. The benefit is that users see the options, […]

Wordpress Select template to render query in wordpress

Sometimes you want to use one archive template for different situations. In wordpress select a template by using the ‘template_include‘ filter. You have to use the function ‘locate_template()‘  to set the template. This is if you want to stray from the normal way wordpress enables you to select a template. WordPress lets you create page […]