TD Creative

Intuitive and effective web development.

Archive for October, 2007

Monday
Oct 29,2007

Ever wondered how to display recent wordpress posts anywhere on your site?   The answer is simple.  Simply using the following code snippet and adjust the HTML to something of your choice that matches your website.  All you need to do is include the wordpress config file of your installation you wish to retrieve posts from and use this small snippet of code on your website.

<ul>
<?php
require_once(’wp-config.php’);
$myposts = get_posts(’numberposts=5&offset=0′);
foreach($myposts as $post)
{
?>
<li><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></li>
<?php
}
?>
</ul>

To change the number of recent wordpress posts that appear, change this part of the code to a number that suits you: “numberposts=5“.

Monday
Oct 22,2007

Todays post is sponsored by: Web Inspiration.

Sometimes we are so interested in the content of a webpage, to people like me with a really bad memory is a good idea to print a webpage so I we can see it later. There are times when we can just copy and paste the information in Word and then print it, but even then there are a lot of unuseful things in the text (links, images, etc.). So I ask myself, why don’t we make a website that is easy to print? Well, here’s how.

(more…)

Thursday
Oct 18,2007

Its a webmasters dream of receiving traffic exactly tuned to their website. Its no good having thousands of visitors intersted in football looking at your web development blog. Whats the point in that? What you ideally need is, believe it or not - is people interested in web development to be browsing a web development blog like this one. Putting this idea into a commercial perspective, if an ecommerce site is selling books about history, its not good attracting an audience interested in science fiction action DVD’s - the website simply wouldnt sell anything and would fail.

(more…)

Ping Blogging

Tuesday
Oct 16,2007

It is a good idea, especially in the blogging world to inform the internet of your new post, this has 2 direct benefits:

  1. Lets people know you have created a new post.
  2. Drives potentially more traffic to your blog.

Many bloggers use wordpress which can automatically notify one or more servers each time the blogger creates a new post or updates an existing one.  Many other blogging platforms will attempt to do the same.  For the people who are slightly technologically minded, “the tool sends an XML-RPC signal to one or more “ping servers,” which can then generate a list of blogs that have new material“. - wikipedia.

(more…)

Tuesday
Oct 16,2007

The following fonts are what has found to be rated the top 5 fonts which support ‘accents’ and ‘euro’ according to dafont.. You should find, information, support and download links in the list below.

Scriptina

(more…)

Meta



Recent Comments