New WordPress Plugin – TagClass-B-Gone

Do you have a lot of TAGs set to your post?
Well WordPress will add a class for each one to your post class-list,
effectively filling your page with a LOT of junk in form of tag(dash)*****


I find it useless.

So I’ve wrote a WordPress plugin to fix-it.
Continue reading

New WordPress Plugin – Script-Style-Killer

WordPress loads many scripts and styles, (jQuery core and various-jQuery-plugins are few of the major ones)
in-case you don’t really need them, I’ve wrote a plugin that will “kill” (remove from the HTML, in a very unforgiving way..),
this without the need to dig into the WordPress-API itself.

Track the added script and styles added to your page, by copy&pasting the following code into your template (use any FTP-client for that), just don’t forget to remove it after you’ll be done with-it.
Continue reading

Solved: WordPress Minileven 5 Posts Limit

Remove the limit of 5 posts for WordPress Theme “minileven”.

minileven is an excellent- mobile-friendly and – easily customisable theme by WordPress’s JetPack plugin.

– You can get it to work as your main theme by downloading the latest folder from the SVN:

But when you’ll try it, you might notice that regardless what value you put in your Settings-Reading-Blog pages show at most [xx] posts it keeps showing only 5 posts :[

you might even accessed the DB, just to find-out everything is FINE! and the value (in my case “20”) was already set correctly :)


Well.. the reason is a “pre_option” filter..

…placed under the functions.php file..
specifically pre_option_posts_per_page which is overriding the real-option, returning a HARD-CODED 5 each time.

The solution is quite simple:
open-for-edit (local+upload or FTP’ing) the /[YOUR BLOG ROOT]/wp-content/themes/minileven/functions.php.
– mark-out those lines, save, done.

in-case you have a some-sort of cache (either static-HTML [more common] or/and in-memory memcache one [more rare]) you might want to clear/invalidate all-of cache and/or restart your server (Apache).

With Go-Daddy as host, you need to access the “processes” page, and kill every process (“kill all”),
it will auto-start itself, giving you a clean(‘ish) RAM..

want to quickly see the change? just add ?23jhdsakfljh3245 (or any random string) to the end of the URL, the page will load with no-cache (but it will be cached, so next time use another random-string..)..

Have fun ;)

New WordPress Plugin – Set ROBOTS

I saw that the ROBOTS meta-tag sent by WordPress has gone a bit limited lately,
And Googl’ing around brought me to this page which does not have any good answers :/

So I’ve decided to write a solution myself.

Set ROBOTS Meta-TAG And HTTP-Headers to whatever YOU want.



WordPress Ninja – The Missing “Sorting Plugins By Popularity”

When You Look For New Plugins (or themes, or, whatever from you’ll get a list that is not organised by amount of installs

[before – original state]

Here is a little JavaScript-Ninja technique,
that you can run on your self-hosted wordpress website after searching for a new plugins,
to reorder the list..

(function(placeholder, items){
  "use strict";

  items =, function(e){ return e; });  /* to array */
  items = items  .sort(function(a,b){
                   a = a.innerText.match(/([\d\,\+]+)\s+active installs/i)[1].replace(/[\,\+]/g,"");
                   b = b.innerText.match(/([\d\,\+]+)\s+active installs/i)[1].replace(/[\,\+]/g,"");
                   return a - b;
                 .map(function(e){ return e.cloneNode(true); })

  placeholder.innerHTML = "";
  items.forEach(function(item){ placeholder.appendChild(item) });
, document.querySelectorAll('#the-list > div.plugin-card')

[after – after running the JavaScript code and the list is rewritten by most installed- to least installed]

Fun, isn’t? :]