How to Avoid Duplicated Comments Submitted

This is one way to combat spam comments if you can avoid duplicated comments are submitted on your posts, you can do some code modification as below in comments.php file. Why people post double comments because sometimes they are not aware that their comment is under moderation mode. Anyway, if you found your theme don’t have this option, then you can open comments.php and do some code modification.

1. Open comments.php and find the following code.

<p>
<input name="submit" type="submit" tabindex="5" value="<?php _e("Say it!"); ?>" />
</p>

2. Replace with

<p>
<blockquote>
Comment moderation is in use. Please do not submit your comment twice — it will appear shortly.
</blockquote>
<input name="submit" type="submit" tabindex="5" value="<?php _e("Say it!"); ?>" />
</p>

4 Things to Do If WordPress Plugins Broken Your WordPress Blog

What will you do if wordpress plugin broken your wordpress blog? I believe that most people have experienced this problem before, and how you overcome your problem? I remember when my wordpress blog was unable displayed properly after installed particular wordpress plugin, so I deleted all the wordpress files, wordpress themes, wordpress plugins, and then I upload all the files again. Anyway, it is work fine finally.

If you can’t display your wordpress blog after installed particular wordpress plugin, you can follow the below steps to solve this problem.

1. De-active the Plugin
Try to de-active the wordpress plugin that you have installed just now.

2. Rename the Plugin via FTP
If it is crash by admin area and caused you can’t de-active the plugins, then you can rename the plugins via FTP.

3. Delete the Plugin via FTP
If simply renaming the plugin was not enough, try to delete it completely.

4. De-activate all the plugins via PHPMyAdmin
Some plugins will alter tables in your WordPress database when you activate them. As a result your blog might keep crashing even after you delete the plugins via FTP.

If that is the case, you will need to log into cPanel, and open the PHPMyAdmin interface. Then select the WordPress database, and browse inside the “wp-options” table. Look for the “active_plugins” column, and edit it. Inside the “options_value” field you will find something like this:

a:31:{i:0;s:13:"AddMySite.php";i:1;s:19:"akismet/akismet.php";
i:2;s:23:"all_in_one_seo_pack.php";i:3;s:16:"authenticate.php";
i:4;s:28:"breadcrumb-navigation-xt.php";i:5;s:18:
"codeautoescape.php";i:6;s:37:

These lines represent the active plugins in your blog. Delete them all and save. This should automatically de-activate every plugin. Now check if your blog is live again, and if the admin area is working. They should be.

/// Source

WordPress Visual Cheat Sheet from Woorkup

Wordpress Visual Cheat Sheet from Woorkup contains a practical reference guide to WordPress 2.8, it is very useful for wordpress users and designers, I like it a lot. This Wordpress Visual Cheat Sheet has 5 pages in total, contains the full reference guide to WP Template Tags with detailed descriptions and sample code. It is free to download.

Download Wordpress Visual Cheat Sheet

10 Free and Best Typography WordPress Themes

Typography theme is one of my favorite wordpress themes. Although it may looks simple design but it can be beautiful, creative, and colorful. Below are about 10 different typography wordpress themes that you might like.

1. Typography Theme – consists of a fixed two column outfit with special news slider built into the sidebar: widgetized sidebar with typical WordPress action like calendar, built in are recent comments with gravatars, related posts, social bookmarking enabled, native WP tag system, flickr is enabled in its own bar.

2. Fleur – plain white layout with custom js built in: another new layout for the frontpage of a WordPress powered site.

3. NeoClassical – a simple and elegant template system that offers classical styling, rich typography, and huge random header images.

4. CopyBllogger – able to modify colors, fonts, and even the tiniest details by utilizing the custom stylesheet solution that is included with the theme download.

5. Cutline – able to modify colors, fonts, and even the tiniest details by utilizing the custom stylesheet solution that is included with the theme download.

6. Neutica – is a lightweight, two (five?) column, widgetized, Wordpress theme designed completely with CSS, sans image graphics.

7. Wu Wei – reated with clean, modern, minimalism in mind. Information is presented in a logical manner, without any superfluous elements getting in the way.

8. UpStart Blogger – the design was never intended to be released publicly because there’s too much hard code in the theme files. This theme is NOT for beginners or the faint of heart.

9. Clear Cut – is a highly configurable WordPress theme for artful or portfolio sites with an unusual and unique layout.

10. Design Magz

How to Display Feedburner Subscribers in Plain Text

Feedburner came with feed count banner, but if you think this banner doesn’t match your website design or you want to display Feedburner subscribers in plain text, this is possible!

Copy and paste the following code into your template, for example sidebar.php, replace feedburner-id with your Feedbuner username. This script will grab you the feed count in numbers.

//get cool feedburner count
$whaturl="http://api.feedburner.com/awareness/1.0/GetFeedData?uri=feedburner-id";

//Initialize the Curl session
$ch = curl_init();

//Set curl to return the data instead of printing it to the browser.
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

//Set the URL
curl_setopt($ch, CURLOPT_URL, $whaturl);

//Execute the fetch
$data = curl_exec($ch);

//Close the connection
curl_close($ch);
$xml = new SimpleXMLElement($data);
$fb = $xml->feed->entry['circulation'];
//end get cool feedburner count

Now paste this anywhere you want and it’ll display a Feedburner subscriber count in text.

echo $fb;

Source Link

How to Make Your Title Tag SEO Friendly

Wordpress title tag also plays important role in SEO, it telling the search engine spider what your site covered, and allows your site to be indexed based upon the correct and most relevant keywords. If your site has good seo, then you will have lots of organic traffic from various search engines. So how to make your wordpress title tag SEO friendly?

Open header.php file, find the <title> tag, and replace it by the following code.

<title>
<?php if (is_home () ) {
bloginfo('name');
} elseif ( is_category() ) {
single_cat_title(); echo ‘ – ‘ ; bloginfo('name');
} elseif (is_single() ) {
single_post_title();
} elseif (is_page() ) {
bloginfo(’name’); echo ': '; single_post_title();
} else {
wp_title("",true);
} ?>
</title>

This code will generate title tags according to the following model:

  • Blog homepage -> display blog name.
  • Category page -> display the category name and the blog name.
  • Article page -> display the article title.
  • Static page -> display the blog name, and the page title.