Just a quick note to our readers know that WordPress 2.8 has now released the Beta 2. You can see the changes here. If you are interested in giving it a try, you can download it here.
Author
Muhammad Furqan Abid
Muhammad Furqan Abid
I am an experienced Web Developer and Tech Reporter, and I am passionate about writing on web design and development as well as tech news and updates and like to keep myself updated on the latest developments.
Twitter has exploded in popularity over the past year as many mainstream media sources have been using the service to communicate with their readers/viewers, but did you know that bloggers can now use Twitter to promote their content as well?
Displaying related posts is a very great way to help visitors staying longer on your blog. You can use a plugin, but you also can use tags and a custom code to show related posts. Let’s see how to do!
This code will display related posts based on the current post tag(s). It must be pasted within the loop.
<?php
//for use in the loop, list 5 post titles related to first tag on current post
$tags = wp_get_post_tags($post->ID);
if ($tags) {
echo ‘Related Posts’;
$first_tag = $tags[0]->term_id;
$args=array(
‘tag__in’ => array($first_tag),
‘post__not_in’ => array($post->ID),
‘showposts’=>5,
‘caller_get_posts’=>1
);
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) {
while ($my_query->have_posts()) : $my_query->the_post(); ?>
<p><a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></a></p>
<?php
endwhile;
}
}
?>
The PHP development team is proud to announce the second release candidate of PHP 5.3.0 (PHP 5.3.0RC2). This RC focuses on bug fixes and stability improvements, and we hope only minimal changes are required for the next candidate (RC3).
Expect an RC3 in 2-3 weeks, although there will not be major changes so now is a good time to start the final testing of PHP 5.3.0 before it gets released, in order to find possible incompatibilities with your project.
This tutorial will tells you to create a user online detection system. This tutorial has required a mysql database and php enable server.
Please follow these steps to complete your own UserOnline System.
Create table “user_online” in mysql in database “database1″.
CREATE TABLE `user_online` (
`userip` char(100) NOT NULL default ”,
`time` int(11) NOT NULL default ‘0’
) TYPE=MyISAM;
This tutorial will cover exporting your web host wordpress to a localhost host. Assume you are done with the web host WordPress development, it is time to learn how to export and import WordPress. Then you can keep the web host version for backup purpose and future development (ie. testing new themes, plugins, and upgrades).
Tools, Plugins & Resources to Enable Multi-Author Features in WordPress Blogs
written by Muhammad Furqan Abid
When setting up a WordPress blog that allows for multiple authors feature, it seems many people think all that is involved is to setup additional author profiles and/or start accepting guest posts. Unfortunately, it really isn’t that simple if you want to create a high quality WordPress blog.
We all know that duplicate content can be a problem. People copy your work, re-post it on their website, then you both are penalized for duplicate content! Unfortunately, there isn’t much that can be done about that, but did you know that often blogs have duplicate content within their own blog? The biggest culprit for duplicate internal content is your archives page, which is usually used for categories and monthly archives. Unless you only display partial posts in your archives, you’ll want to make sure Google doesn’t index it. If you aren’t handy with Robots.txt, you can instead use this code to easily tell Google not to index your archive.php page.
<?php if(is_archive()){ ?>
<meta name=”robots” content=”noindex”><?php
} ?>
You’ll want to grab that code and paste it anywhere in the header of your theme above the closing of the head tag. That way, Google will not index these, and search engines won’t refer traffic to your archive pages instead of your single post pages.
Older Posts