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[’edit.php’][10] = array( _x(’Add New’, ’post’), ’edit_posts’, ’post-new.php’ ); and add the below: $submenu[’edit.php’][7] = array( _x(’Pending’, ’post’), ’edit_posts’, ’edit.php?post_status=pending&post_type=post’ ); 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. Continue reading

colors in bash -- script to display all the possible colors.

2010-06-06 3 min read bash Fedora Linux
If you wanted to have colors in the bash output (including the colors in PS1-4), don’t you keep wondering how the color code would look on the terminal. So, I wrote this small script to show the complete color codes. This is how the output would look: And here is the script: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Continue reading

10 Wordpress Traffic Builder Plugins That Work

2010-05-26 2 min read Uncategorized
This article covers several useful <a class="zem_slink freebase/en/wordpress" title="WordPress" rel="homepage" href="http://wordpress.org">WordPress traffic builder <a class="zem_slink freebase/en/plugin" title="Plug-in (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Plug-in_%28computing%29">plugins. The most important aspect of owning a <a class="zem_slink freebase/en/website" title="Website" rel="wikipedia" href="http://en.wikipedia.org/wiki/Website">website is the amount of visitors you receive. I’m referring to your website’s traffic, which can be very hard to generate in the beginning stages. It’s essential that you <a href="http://www.makeuseof.com/tag/6-websites-to-track-a-websites-traffic/">track your website’s traffic to see where you’re at. Continue reading

Startup animation and theme for Fedora 12 onwards.

2010-05-20 1 min read Fedora Learning Linux
Since the release of <a class="zem_slink freebase/en/fedora" title="Fedora" rel="homepage" href="http://fedoraproject.org/">Fedora 12, fedora is using plymouth. Plymouth kicks in just after grub and before the Xserver starts. Description: Plymouth provides an attractive graphical <a class="zem_slink freebase/en/bootsplash" title="Bootsplash" rel="wikipedia" href="http://en.wikipedia.org/wiki/Bootsplash">boot animation in place of the <a class="zem_slink freebase/en/text_messaging" title="Text messaging" rel="wikipedia" href="http://en.wikipedia.org/wiki/Text_messaging">text messages that normally get shown. Text messages are instead redirected to a <a class="zem_slink freebase/en/data_logger" title="Data logger" rel="wikipedia" href="http://en.wikipedia.org/wiki/Data_logger">log file for viewing Continue reading

Script to download all the related videos from youtube with youtube-dl

2010-05-17 2 min read Fedora Linux Uncategorized
Lets cut the long discussion <a class="zem_slink freebase/en/short_subject" title="Short film" rel="wikipedia" href="http://en.wikipedia.org/wiki/Short_film">short and directly give you the script. The script is combination of all the posts that I did in the past about youtube <a class="zem_slink freebase/en/uploading_and_downloading" title="Uploading and downloading" rel="wikipedia" href="http://en.wikipedia.org/wiki/Uploading_and_downloading">downloads. You need to copy all the <a class="zem_slink freebase/en/uniform_resource_locator" title="Uniform Resource Locator" rel="wikipedia" href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator">URL&#8217;s in a file called &#8221;~/youtube.urls&#8221; which you want to be downloaded. Or if you need to donwload the related videos, then save the html of the page and give it as the first argument for the script. Continue reading

Downloading all related videos from youtube with youtube-dl

2010-05-16 2 min read Fedora Learning Linux Uncategorized
How many time did you want to see all the videos (related) to the one you were watching on youtube but decided otherwise as the downloaded was not fast enough. Or has it happened to you that you wanted to <a class="zem_slink freebase/en/uploading_and_downloading" title="Uploading and downloading" rel="wikipedia" href="http://en.wikipedia.org/wiki/Uploading_and_downloading">download all the related videos, in either case you can use the youtube-dl utility I blogged about some times back. First you need to get all the <a class="zem_slink freebase/en/uniform_resource_locator" title="Uniform Resource Locator" rel="wikipedia" href="http://en. Continue reading
Older posts