News
WP Cult attending WordCamp Denver 2009
News
The New Theme at WPCult
Well, I spent the last 6 hours updating the new theme into the site. Please let me know what you think. There will still be a few more updates, so please be patient.
News
A new look for wpcult
I have been really busy on putting together a custom theme for this site. And while I do love WooThemes’s THiCK Theme by Matt Brett, I feel that a custom theme suited to the sites needs would fit better.
Things to expect to come the WPCult:
- A new custom theme built on Justin Tadlocks, Hybrid Theme.
- A forum.
- New Advertisement locations and application, with really cheap & low prices.
I hope you are as exited as I am. Please if you see the site in maintenance mode, drop by again real soon!
News
How to: Show/Hide any div box with jQuery in WordPress
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:
<script type="text/javascript"> jQuery(document).ready(function() { // hides the slickbox as soon as the DOM is ready jQuery('#toggle-search').hide(); // toggles the slickbox on clicking the noted link jQuery('a#slick-slidetoggle').click(function() { jQuery('#toggle-search').slideToggle(400); return false; }); }); </script>
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>
That’s it.
-
Tips & Tricks4 months ago
WordPress Security Hacks
-
Pages4 months ago
Write For Us – Guest Post
-
Tips & Tricks2 months ago
How to: show/hide a widget in WordPress with jQuery
-
Plugins2 months ago
Top Membership plugins
-
Tips & Tricks1 month ago
Limit the characters that display on the_title
-
Tips & Tricks4 months ago
Remove spaces when echoing the_title
-
News3 weeks ago
How to: Show/Hide any div box with jQuery in WordPress
-
Tips & Tricks5 months ago
Remove the title attribute using jQuery
Ali
February 12, 2009 at 9:53 am
hope you are back from colorado now , by the way how was the wordcamp conference.would you mind posting any highlights of the meeting ?
frosty
February 12, 2009 at 1:07 pm
I will gladly post highlights from the camp, but it’s is not until the end of this month. WordCamp Denver.