Display Tags In A Dropdown Menu

Paste the following code to your functions.php file:

function dropdown_tag_cloud( $args = ” ) {
$defaults = array(



‘smallest’ => 8, ‘largest’ => 22, ‘unit’ => ‘pt’, ‘number’ => 45,
‘format’ => ‘flat’, ‘orderby’ => ‘name’, ‘order’ => ‘ASC’,
‘exclude’ => ”, ‘include’ => ”
$args = wp_parse_args( $args, $defaults );

$tags = get_tags( array_merge($args, array(‘orderby’ => ‘count’, ‘order’ => ‘DESC’)) ); // Always query top tags

if ( empty($tags) )

$return = dropdown_generate_tag_cloud( $tags, $args ); // Here’s where those top tags get sorted according to $args
if ( is_wp_error( $return ) )
return false;
echo apply_filters( ‘dropdown_tag_cloud’, $return, $args );

Continue reading


Display any External RSS Feed on Your Site

Have you seen other bloggers who display their other blog’s feed on their site. You want to do it too for extra promotion and traffic. Well here is the tutorial for you. Simply paste the following code in anywhere in your theme:

<?php include_once(ABSPATH.WPINC.'/feed.php');
$rss = fetch_feed('http://feeds.feedburner.com/wpbeginner');
$maxitems = $rss->get_item_quantity(5);
$rss_items = $rss->get_items(0, $maxitems);
<?php if ($maxitems == 0) echo '<li>No items.</li>';
// Loop through each feed item and display each item as a hyperlink.
foreach ( $rss_items as $item ) : ?>
<a href='<?php echo $item->get_permalink(); ?>'
title='<?php echo 'Posted '.$item->get_date('j F Y | g:i a'); ?>'>
<?php echo $item->get_title(); ?></a>
<?php endforeach; ?>

Using a Custom Page as a Home Page in WordPress

This is one of the most wanted hacks that users want to know how to accomplish. First you need to learn how to create a custom page. You will need to duplicate your page.php or create a brand new .php file and add the following code at the very top:

                                           <?php /* Template Name: WPBeginner */ ?>

You can change the template name. Change any styling, that you want in that page. Go to your WordPress admin panel and create a new page and select this template.

And select your page to be the homepage. Now you have yourself a Custom Home Page.

Virus-hit PCs may lose internet access, says McAfee

Virus-hit PCs may lose internet access, says McAfee India has the third-highest number of DNS infections after the United States and Italy. Nearly 3 lakh DNSChanger virus-hit computers, including over 20,000 in India, may lose Internet access from July 9, Web security company McAfee said on Friday. DNSChanger is a malware computer programme that redirects the Internet traffic to fake websites. A McAfee spokesperson said that according to the data provided by DNSChanger Working Group, India has the third-highest number of DNS infections after the United States and Italy. The Federal Bureau of Investigation will shut down servers associated with the DNSChanger malware on July 9. As a result, all computers infected with this threat are likely to be no longer able to access the Internet, the spokesperson said. Last year, the FBI, as a part of ‘Operation Ghost Click’, took control of the servers used by cybercriminals. The FBI then replaced the rogue servers with temporary legitimate servers so as not to disrupt the web activities of those infected. However, these servers were allowed only till July 9, 2012. McAfee has released a free tool to help consumers whose machines have been infected by the DNSChanger trojan. “By providing a free tool that walks them through the process, we are making it easy for consumers to fix their settings and stay connected,” Vincent Weafer, senior vice-president, McAfee Labs, said in a statement. According to the data by DNSChanger Working Group (DCWG), there are nearly 300,000 infected systems globally, with a maximum of over 69,500 such system in the U.S. Italy, with about 26,500 infected systems, is at the second place, followed by India (21,300) and the U.K. (19,589). The DCWG is an independent group of security experts trying to stem out the DNSChanger malware.

More privacy with YouTube Face blur Feature

YouTube recently has added a new feature called Face blur to protect the privacy of the people who are in the video this is gonna add into YouTube late by this Wednesday.
Users before uploading videos to their accounts they can use this feature to video.However this may  not protect the full privacy of the members who are in the video because the background may appear same and the voice of may remain same.
YouTube quoted saying to a news  that “this feature allows people to share personal footage more widely and to speak out when they otherwise may not.”
So now you can add your personal videos and share it to world with out any hesitation.

Nokia Lumia 900 now half price in the US

Nokia has announced that its flagship Lumia 900 phone will now be available for half its original cost in the US with AT&T.
The US network is offering the Windows Phone handset for $49.99 a month on a two-year contract, its having previously been priced at $99.99.
Many are speculating that the reason for this dramatic price slash is because the Nokia Lumia 900 won’t be upgradeable to Microsoft’s new Windows Phone 8 operating system, rolled out later this year.
This was despite Nokia heralding the Lumia 900 as its 2012 flagship device, launching it with a spectacular light show in New York’s Times Square in April.
No word on whether the UK will see a similar price drop for the Lumia 900, which is currently available free from around £31 a month on a two-year contract.
Though the Nokia Lumia 900 won’t be upgradeable to Windows Phone 8 it will enjoy some of the features that come with the update, while Nokia has also introduced several new features and apps in an attempt to pacify Lumia users upset by the Windows Phone 8 snub.

T-shirt that charges your phone

Scientists at the University of South Carolina have found a way to use a cheap T-shirt to store electrical power.It could pave the way for clothes that are able to charge phones and other devices.Experts predict that new technologies including roll-up smartphones and laptops will be on the market soon.These developments would spur on the need for “flexible energy storage”, said theprofessor behind the project.

Xiaodong Li, a professor of mechanical engineering at the university teamed up with post-doctorate researcher Lihong Bao to find a solution.
The pair wrote up their findings for the Advanced Materials journal.
They used a T-shirt bought from a local discount store, which was soaked in a solution of fluoride, dried and then baked in an oxygen-free environment at high temperature.

Hybrid fabric

The fibres in the fabric converted from cellulose to activated carbon during the process, but the material remained flexible.
By using small parts of the fabric as an electrode, the researchers showed that the material could be made to act as a capacitor.
Capacitors store an electrical charge and are components of nearly every electronic device on the market.
By coating the individual fibres of the carbonised fabric with manganese oxide just a nanometre thick, the electrode performance of the fabric was further enhanced.
 “This created a stable, high-performing supercapacitor,” said Prof Li.
The hybrid supercapacitors proved resilient – even after thousands of charge-discharge cycles their performance did not diminish more than 5%, the researchers said.
“By stacking these supercapacitors up, we should be able to charge portable electronic devices such as cell phones,” Prof Li added.
“We wear fabric every day. One day our cotton T-shirts could have more functions; for example, a flexible energy storage device that could charge your cell phone or your iPad.”

Download New Angry Birds Space for windows Xp or 7 Desktop

The game Angry birds for Iphone and Android but now its the time to get this game for Desktop users.

Every one know that this is one of the  popular and most rated games on the internet.Angry released a new version Called “Angry Birds Space” this interesting game with new features like Zero-gravity etc made this game a wonderful experience.
So they planned to release this for Pc users.This game is available for Windows Xp and windows 7 veresions of microsoft windows operating systems.Requirements:
Operating system: Windows Xp or Windows 7


  • 60 level gameplay with space environment
  • New birds with new powers
  • HD graphics

Clik here to download this Angry birds space for windows Xp/7

Unzip a Zip File in php


    function unzip($location,$newLocation){
        if(exec("unzip $location",$arr)){
            for($i = 1;$icount($arr);$i++){
                $file = trim(preg_replace("~inflating: ~","",$arr[$i]));
            return TRUE;
            return FALSE;
//Use the code as following:
include 'functions.php';
    echo 'Success!';
    echo 'Error';

Google drive for WordPress Backup

The plugin used to Make backups of your WordPress files and Mysql DB with Google Drive. Google Drive for WordPress is a plugin that provides backup capabilities for WordPress. Backups are ‘zip’ archives created locally and uploaded to a folder of your choosing on Google Drive.

You can find the plugin here.