If you take a look at my current sidebar (right) and see the heading Google Search you’ll notice that when you click it the Google Search box show’s into view.
Let me show you how this is done.
First make sure that your WordPress site is calling jQuery, buy pluggin this code into our
header.php file above the
<?php wp_head(); ?> text:
<?php wp_enqueue_script('jquery'); ?>
Then anywhere above the
</head >, plug this code in:
That’s simple, huh. Okay now lets write the Search code:
<h2><a href="#" id="slick-slidetoggle">Google Search</a></h2> <div id="toggle-search" style="padding:10px;"> <form method="get" id="search" action="<?php bloginfo('home'); ?>/"> <div> <input type="text" value="Enter Keyword" onclick="this.value='';" name="s" id="s" /> <input type="text" name="search-button" id="search-button" value="<?php _e('Search') ?>" /> </div> </form> </div>
Random Search Terms
How to: Add a contact me via Skype™ button
This little trick is really simple and easy. All you need to do is plug this line of code anywhere...
This powerful plugin is a must-have for WordPress users. With WP-DBManager you can manage your WordPress database and allows you...
Hello, welcome to a new WordPress community site. Join the ever growing and oh so popular WP Cult. Here we...
Top Membership plugins
Membership plugins/scripts for WordPress paid and free we will review them here today. Ultimate Membership Pro Ultimate Membership Pro is...
powered by WassUp
Recent Posts: Fully Net Worth . com
Michael T. Sterling is a professional lawyer who is best known to the public as the husband of actress, model, and television personality Eva Marcille. She has risen to popularity after winning season three of America’s Next Top Model. Here are five interesting facts about Michael Sterling including his personal life, net worth, wife, and […]
Lil Uzi Vert Net Worth: Know Everything About Him. If you are into hardcore rapping, then you must have heard about Lil Uzi Vert. He is an American rapper and songwriter who rose to fame after his hit single ‘Bad and Boujee’ that ranked number 1 on the US Billboard Hot 100. Lil Uzi was […]
Russell Brunson net worth Introduction Russell is an autonomous businessman, a digital market pioneer, an author, mentor, and motivational speaker. Throughout his several years of career in numerous internet marketing services, he has earned a chance and has influenced millions. He has created the idea of selling in a software project named ClickFunnels through a […]