Connect with us

Tips & Tricks

How to: Add a contact me via Skype™ button

Published

on

This little trick is really simple and easy. All you need to do is plug this line of code anywhere you would like to use the text.

<a onclick="return skypeCheck();" href="skype:austin.passy?call">Call me on Skype!</a>

That’s is, pretty simple huh? Just make sure you change skype:austin.passy to your user name!

Want a test? Well, please use the text button, as I was getting to many call’s and hangups: Call me on Skype! Message me on Skype!

Thanks to Shayne for this code!

Update:

I was reminded by Shayne that you will have to add this script into your header.php file:

<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js">
</script>

That way if the user doesn’t have Skype, they will be prompted to download it if they would like :).

Continue Reading
3 Comments

3 Comments

  1. John Kolbert

    February 3, 2009 at 5:25 pm

    Hey, thanks for the tip! I’ve been meaning to do something like this on my contact page but never took the time to Google it. Thanks!

    John Kolbert´s last blog post..Portfolio: Custom Comments Plugin for Naked Nutrition Network

    • frosty

      February 3, 2009 at 5:58 pm

      No problem! Glad I could help someone!

  2. sergey

    August 5, 2009 at 2:20 am

    Thank you for the tip!

You must be logged in to post a comment Login

Leave a Reply

Tips & Tricks

How to: Display RSS feeds from anywhere

Published

on

Here is a simple way to display any RSS feed in your WordPress blog.

<?php include_once(ABSPATH . WPINC . '/rss.php');
	$rss = fetch_rss('http://feeds2.feedburner.com/WPCult');
	$items = array_slice($rss->items, 0, 4);

		if (empty($items)) echo '<li>No items</li>';
		else
			foreach ( $items as $item ) : ?>
            <a style="font-size: 14px;" href='<?php echo $item['link']; ?>' title='<?php echo $item['title']; ?>'><?php echo $item['title']; ?></a><br /> 
            <p style="font-size: 10px; color: #aaa;"><?php echo date('F, j Y',strtotime($item['pubdate'])); ?></p>
            <p><?php echo substr($item['summary'],0,strpos($item['summary'], "This is a post from")); ?></p>
            <?php endforeach; ?>

The first step is to include the WordPress file rss.php then will apply code after to style the feeds.

Of coarse I forgot to mention, change the RSS feed to the feed you want to pull.

Continue Reading

Tips & Tricks

Remove the title attribute using jQuery

Published

on

In WordPress, when you use wp_page_menu your anchor attribute’s usually carry a title with the same name. I’m not sure if it’s correct to do this, but it bother me when I hover over a page menu navigation link and I get a hover of the title.

So on my site I used jQuery to remove the title:

$("#nav a").removeAttr("title");

Pretty simple huh?

Continue Reading

Tips & Tricks

How to: Open external links in a new window

Published

on

Over the weekend, I attended WordCamp Denver, and I was asked by John Hawkins how to force links to open in a new tab with out editing the source code. So, today lets learn a simple jQuery trick to open all external links in your site in a new tab or window. We are going to make sure you have jQuery active on your site, you can do this easily in WordPress, since it’s bundled with the latest installations. Use this code in your header: <?php wp_enqueue_script('jquery'); ?> then, below the wp_head add the following:

<script type="text/javacript">
var $j = jQuery.noConflict();

$j(document).ready(function() {
//external attribute
    $j("a:not([@href*=http://YOURSITE.com/])").not("[href^=#]")
        .addClass("external")
        .attr({ target: "_blank" });
    }
);
</script>

That’s it, just make sure you change the http://YOURSITE.com to your website.

Update

If you like you can remove the var $j = and replace all $j with simply just $

 

Continue Reading

Random Search Terms

Title

Recent Posts: Fully Net Worth . com

Omi In A Hellcat Net Worth: How Much is the YouTuber Worth?

Omi In A Hellcat Net Worth: How Much is the YouTuber Worth?

Omi In a Hellcat is an American YouTube personality and entrepreneur who depicts his sensational lifestyle through vlogs on his YouTube channel. As of 2019, Omi In A Hellcat net worth is estimated to be $60 million. Unfortunately, Omi’s real name is unavailable to us. He was born on August 6, 1985, in Philadelphia, United […]

Deontay Wilder Net Worth 2020

Deontay Wilder Net Worth 2020

Deontay Wilder Net Worth 2020 Deontay Wilder is an American professional boxer. He initially wanted to play basketball before turning to boxing as a career. Deontay Wilder is currently a WBC heavyweight champion of the world. He is one of the best professional boxers in the world at the moment. He was also considering American […]

Roddy Ricch Net Worth: 5 Interesting Facts You Should Know

Roddy Ricch Net Worth: 5 Interesting Facts You Should Know

Rodrick Wayne Moore, Jr., who is better known by his stage name as Roddy Ricch, is an American rapper, singer, songwriter and record producer. Here are some interesting facts about Roddy Ricch including his personal fortune, earnings, career and more. 1. He started rapping at the age of 8 Rodrick was born on October 24, […]

Joey Chestnut Net Worth: How Rich is the Competitive Eater Actually?

Joey Chestnut Net Worth: How Rich is the Competitive Eater Actually?

Joseph Christian Chestnut is an American competitive eater. But, he isn’t just any competitive eater, he is currently ranked as number one in this unique sport according to Major League Eating. As of 2019, Joey Chestnut net worth is estimated to be $2 million. Chestnut was born on November 25, 1983, in Vallejo, California. Having grown […]

Trending