Articles tagged with: Tricks
A lot of work goes into improving a website’s rank on search engines, and most of the tasks that are performed to realize that goal take a lot of time and a lot of energy. Along with those big time consuming tasks, though, there are a few small, quick things that can be done that can go a long way toward getting your site to the top. These tasks are ongoing, and can be accomplished within an hour a day.
If you find yourself yearning to view Twitter updates in a worksheet, then this is for you. Seriously, Excel can be a useful tool for viewing Tweets, allowing you to format them to your liking. You can add multiple Twitter feeds to your worksheet and have an inconspicuous viewer to read them.
1. Open Excel and create a new workbook.
2. Open your browser and go to the Twitter Profile page that you wish to follow the updates for (for example http://twitter.com/Varun_Dave).
3. On the Twitter page, go to the column on the [...]
First, you have to add the following code to your function.php file. Don’t forget to change the adsense PUB(client) id in the Code.
function showads() {
return ‘<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXXX”;
google_ad_slot = “4668915978″;
google_ad_width = 468;
google_ad_height = 60;
//–>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
‘;
}
add_shortcode(’adsense’, ’showads’);
Once you saved the functions.php file, you’re now able to embed your adsense code on your posts and display it exactly where you want. To do so, simply paste the following code on the editor, in html mode:
[adsense]
Here are the snippets of code I’ve managed to collect. If you have any WordPress code you’d like me to add, please leave a comment below!
Display Recent Posts
Here is the code you need to display the most recent 5 posts:
<?php query_posts(’showposts=5′); ?>
<ul>
<?php while (have_posts()) : the_post(); ?>
<li><a href=”<?php the_permalink() ?>”><?php the_title(); ?></a></li>
<?php endwhile;?>
</ul>
Display Recently Updated Posts/Pages
<?php
$today = current_time(’mysql’, 1);
$howMany = 5; //Number of posts you want to display
if ( $recentposts = $wpdb->get_results(”SELECT ID, post_title FROM $wpdb->posts WHERE post_status = ‘publish’ AND post_modified_gmt < ‘$today’ ORDER BY post_modified_gmt DESC LIMIT $howMany”)):
?>
<h2><?php [...]
First of all, Download the Latest version of gtalk from here :
http://www.google.com/talk/
Tricks and Tweaks you can apply in your gtalk chat client
How to Chat with yourself
In your Browser address bar just type:
gtalk:chat?jid=yourid@gmail.com
Change yourid with your own email, now you can send, recieve messages, & you can see what you are typing.
Desktop Icons for GTalk Contacts
Right click on the Desktop select New>Shortcut & type this:
gtalk:chat?jid=id@gmail.com
Please replace id with the id of your contact.
If you like to call your friends just replace chat with call.
Change the Appearance of Chat Box for a [...]
Firefox has a cool little easter egg, just type in about:robots in the address bar & you will find robots greeting you with a special message. The title of the page reads Gort! Klaatu barada nikto!, wondering what it means. According to wikipedia Gort! Klaatu barada nikto! originates from the Cold War-era science fiction film The Day the Earth Stood Still (1951). In the film, the phrase, Klaatu barada nikto, was used by Helen Benson to stop the robot Gort from destroying the Earth. Klaatu is the name of the [...]
