Speed Up Firefox by Moving Your Cache to RAM

2011-01-08 2 min read Firefox
The 536,870,912 byte (512×2 20 ) capacity of t...
  <dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">
    Image via <a href="http://commons.wikipedia.org/wiki/File:Memory_module_DDRAM_20-03-2006.jpg">Wikipedia</a>
  </dd>
</dl>

Speed Up Firefox by Moving Your Cache to RAM, No RAM Disk Required [Firefox Tip] Click here to read Speed Up Firefox by Moving Your Cache to RAM, No RAM Disk Required We’ved talked about moving your cache files to a RAM disk to speed things up, but it turns out Firefox has this feature built in. Here’s how to turn it on. More »

Continue reading

Adding a sub-menu in the wordpress admin menu :)

2010-07-29 2 min read Wordpress

For the impatient ones, first the code:
(in wp-admin folder, open the file menu.php) and locate the code:

$submenu[&#8217;edit.php&#8217;][10]  = array( _x(&#8217;Add New&#8217;, &#8217;post&#8217;), &#8217;edit_posts&#8217;, &#8217;post-new.php&#8217; );

and add the below:

$submenu[&#8217;edit.php&#8217;][7]  = array( _x(&#8217;Pending&#8217;, &#8217;post&#8217;), &#8217;edit_posts&#8217;, &#8217;edit.php?post_status=pending&post_type=post&#8217; );

And now the explanation and why do you need this 🙂

Problem:

There is no direct mechanism to access the pending posts in WP admin. I generally post through email and mark them as pending. So, whenever I go to my admin POSTs page, I will look through the list of pending items and post them as and when required. For this, when I am done with changes in one item, I need to either modify the address bar or need to go to posts link and then click the Pending items.

Continue reading