Read below about related content about show+php+coding+how+to+reply+feed+to+twitter+page+from+other+website+page, You can contact us to improve our contents and site quality

Read below about related content about show+php+coding+how+to+reply+feed+to+twitter+page+from+other+website+page, You can contact us to improve our contents and site quality

How To Setup Multiple Loops in WordPress

February 4th, 2010 By WP Tricks Posted in Tricks

WordPress built in with many query method, our example below about query is the best way to create Multiple Loops.  I will show you how to  do multiple loops in wordpress. let us assume we want to have two lists of posts. One which would list the most recent posts (the standard 10 posts most recently added), and another which would contain only one post from the category ‘featured’. Posts in the ‘featured’ category should be shown first, followed by the second listing of posts (the standard).

Step 1. Get only one post from the ‘featured’ category.

<?php $my_query = new WP_Query('category_name=featured&posts_per_page=1');
  while ($my_query->have_posts()) : $my_query->the_post();
  $do_not_duplicate = $post->ID; ?>
    <!-- Your First Looping Code will be here -->
  <?php endwhile; ?>

This query is set $my_query equal to the result of querying all posts where the category is named featured and by the way, get me one post only. Also, set the variable $do_not_duplicate equal to the ID number of the single post returned. Recall that the Do stuff line represents all the formatting options associated for the post retrieved.

Note that we will need the value of $do_not_duplicate in the next step to ensure that the same post doesn’t appear in both lists.
Read the rest of this entry »

Amazing Touch

Tricks: Display Total Twitter Followers as Text on WordPress

December 28th, 2009 By WP Tricks Posted in Tips

Everybody blogging everybody using Twitter for Microbloging tools. On this tips, I will show you how to display your total twitter followers on your sidebar or whatever and displaying as text. All need to do is add little bit code on your header.php or footer.php or sidebar.php files. and done.

Please remember to make sure that you change WPTricksNet to your username. To Display Total Twitter Followers as Text, you need to write this code below

<?php
$tw = get_option("twitterfollowerscount");
if ($tw['lastcheck'] < ( mktime() – 3600 ) )
{
$xml=file_get_contents('http://twitter.com/users/show.xml?screen_name=WPTricksNet');
if (preg_match('/followers_count>(.*)</',$xml,$match)!=0) {
$tw['count'] = $match[1];
}
$tw['lastcheck'] = mktime();
update_option("twitterfollowerscount",$tw);
}
echo $tw['count'];
?>

Thanks for WP Recipes for share this code, we got this nice tips via WP Beginner

Amazing Touch

WordPress 3.0: New Screenshot has come

March 11th, 2010 By WP Tricks Posted in News

Did you know? WordPress 3.0 will be the first integrated between WordPress MU and WordPress Standard? On WordPress 3.0 The developer said will be more and more featured available. And here we go some of avaliable featured screen shot. Enjoy it

Menu Settings on WordPress 3.0

WordPress 3 New Menu Settings

WordPress 3 New Menu Settings

New featured and nice one is Menu Setting, this menu is based on WooNav WooThemes Framework menu.
Read the rest of this entry »

Amazing Touch

WordPress Plugin: My Snippets

December 22nd, 2009 By WP Tricks Posted in Plugins

The idea for this plugins, is Widget Logic WordPress Plugin, on My Snippet WordPress Plugin (develop by Justin Tadlock) give extra content on your post. Example we can add Featured Video on current content and many more.

How the plugin works

First, you’d add the Snippet widget to the widget area of your choosing. You’ll need that to display your custom snippets.

When writing a post (or page), you’ll have an extra meta box labeled Snippet Post Settings. In this box, you can add text, HTML, and shortcodes.

Download the plugin

Before using the plugin, please take a moment to read through the readme.html file included with the plugin download. You can download this plugin from WordPress.org

Amazing Touch

How To Load Gravatar on the Fly

May 8th, 2010 By WP Tricks Posted in Tricks

Gravatar become very popular image recognition, it’s small image displayed almost on my WordPress Themes. After acquired by Automattic, Gravatar seamless integrated in WordPress.com. And for WordPress.org users, there are some ways to displayed on their site/blog. We can manually insert code into themes or using Gravatar Plugins.

Load Gravatar on the fly - Marie Digby

Load Gravatar on the fly - Marie Digby

I will show you how to Load Gravatar Icon/Images on the fly using Javascript on your WordPress Comment, This code original design by Stephen Mcintyre. Let’s get started, you need to added this code in your comment form on comments.php

<img id="gravatar" src="http://www.gravatar.com/avatar/?s=80&d=wavatar" width="80" height="80" alt="Gravatar" />

Image code below is the on the fly area on the Gravatar will be, and wavatar parameter is to displayed random wavatar, if there are no email available.
Read the rest of this entry »

Amazing Touch