Articles
Post this to Twitter
Hey, do you have a list a social bookmark links? Does it have a Twitter link?
Well here is a way you can link a post to your Twitter.
<a href="http://twitter.com/home?status=Blog Post: <?php the_permalink(); ?>" class="external" title="Click to send this post to Twitter!">Twitter</a>
Pretty useful I might say 🙂
Plugins
Beyond Twitter: Tweetsuite & Tweetbacks
Every one is aware of Twitter, I hope. Well there are many, many plugins for your WordPress that you can use. So I am not going to be like every one else and write a post with 3o twitter plugins for WordPress. I am just going to talk about one special plugin that is hitting the WP community.
Tweet Suite: a Twitter-WordPress integration plugin that includes the following features:
- Server-side (no-JS or remote calls) TweetBacks
- ReTweet-This buttons for each TweetBack
- A digg-like Tweet-This Button
- Automatic Tweeting of new posts
- A Most-Tweeted Widget
- A Recently-Tweeted Widget
- A My-Last-Tweets Widget
- A My-Favorite-Tweets Widget
You can see it in action at JeanaSays. I may even use this plugin on this site!!
Known Issues:
Seems as though this plugin is not compatible with this Google Analytics plugin. *Thanks to Shayne Sanderson for pointing this out.
Tips & Tricks
How to: Add any authors gravatar to their post
This is an easy one, just add one line to your single.php
file where you would like the Gravatar to show up.
<?php echo get_avatar( get_the_author_id(), $size = '96', $default = '<path_to_url>' ); ?>
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 & Tricks5 months ago
WordPress Security Hacks
-
Pages6 days ago
Write For Us – Guest Post
-
Showcase3 weeks ago
StylizedWeb.com
-
News1 day ago
How to: Show/Hide any div box with jQuery in WordPress
-
Tips & Tricks7 months ago
Remove the title attribute using jQuery
-
Tips & Tricks4 months ago
How to: show/hide a widget in WordPress with jQuery
-
Plugins4 months ago
Top Membership plugins
-
Tips & Tricks2 weeks ago
Limit the characters that display on the_title
You must be logged in to post a comment Login