Ina Code Blog

bunch of code in one place
Feb
1

How to block spam through comments?

Posted by admin in tips, wordpress

Publishing posts on your blog and signig them on diferent webpages so people can find you and your blog usually causes that spamers finds you as well. There is a simple way to prevent those annoying spams: reCaptcha plugin.

Set it up:

  1. Download the plugin: reCaptcha Wordpress plugin
  2. Unzip and upload the folder to your plugin folder (usually: /wp-content/plugins/).
  3. Activate the plugin.
  4. reCAPTCHA requires an API key, consisting of a ‘public’ and a ‘private’ key.
    You can sign up for a free reCAPTCHA key.
  5. Go to ‘Options -> reCaptcha’ and enter ‘public’ and a ‘private’ key.

Plugin’s homepage.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Nov
26

Wordpress security

Posted by admin in tips, wordpress

It is strongly recomeded to dedicate a little of your time to increase the securety of your blog. On BlogSecurity.net you can find various tips on securing your Wordpress blog like: change table prefix in database, restrict wp admin access only to your IP, track updates, detect intrusions …

I find this simple guide very useful: WordPress Security Whitepaper!

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Nov
13

Google sitemaps generator plugin for WordPress

Posted by admin in wordpress

Building a sitemap is very useful as it informs search engines about pages on your website that are available for crawling. Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL so that search engines can more intelligently crawl your website. If you are using Wordpress this plugin does everything.

Main features:

  • Customize all settings in Wordpress admin page
  • Automatic sitemap generation for all types of pages
  • Calculates a priority for each post, based on the number of comments
  • Tells Ask.com, Google and Yahoo about changes via ping
  • Multi language support

Set it up:

  1. Download the plugin: google-sitemap-generator.zip
  2. Unzip and upload the folder to your plugin folder (usually: /wp-content/plugins/).
  3. Activate the plugin.
  4. Go to ‘Options -> Sitemap’ and customize it.
  5. Click on ‘Rebuild Sitemap’ to create your sitemap for the first time.
    Tip: Make your blog directory writable OR create two files named sitemap.xml and sitemap.xml.gz and make them writable via CHMOD. In most cases, your blog directory is already writable so you don’t need to do anything.

Plugin’s homepage.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Nov
12

Cforms II plugin for Wordpress

Posted by admin in wordpress

This Wordpress plugin covers just about everything you need in a contact form. It’s fully configurable and realy easy to use.

Main features:

  • Ajax supported form submission
  • Multiple forms on one or many pages / posts
  • WP Dashboard Support (showing last 5 entries)
  • “WP Comment/Message to author” Feature (!)
  • Full localization support
  • Tell-A-Friend functionality
  • File attachments / Upload, fully configurable per form
  • Captcha verification
  • Role Manager support
  • Database based tracking of submitted data
  • Cloning / duplication of forms
  • Drag and drop form management
  • Set of predefined themes

Set it up:

  1. Download the plugin: cforms.zip
  2. Unzip and upload the folder to your plugin folder (usually: /wp-content/plugins/).
  3. Activate the plugin.
  4. In main menu link ‘cforms II’ appears. Click it to add/edit forms and its settings.
  5. Insert the following code to your posts or pages (X is the id of your form):

    <!–cformsX–>

Plugin’s homepage.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Nov
11

Sticky menu plugin for Wordpress

Posted by admin in wordpress

Have you ever try to create more complex web page with Wordpress? If yes, then you probably came accross problem with menu’s as Wordpress creates them automaticaly. With Sticky menu plugin you can create as many custom menu’s as you need and put them exactly where you need it. And it’s very easy to use!

  1. Download the plugin: sticky_menu.zip
  2. Unzip and upload the folder to your plugin folder (usually: /wp-content/plugins/).
  3. Activate the plugin.
  4. Go to ‘Manage -> Sticky Menu’ and create your custom menu.
  5. Insert the following code to your theme files where you want the created menu to aprear (index.php, archive.php):

    $menu = new stickymenu;
    $menu->display_menu(’menu=Main’); //Display’s menu named ‘Main’

Plugin’s homepage.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Nov
10

Flexible upload of images for Wordpress

Posted by admin in wordpress

Flexible upload is very useful plugin for uploadnig images in Wordpress.

Main features:

  • Automatically resize pictures at upload
  • Let you decide whether or not to create a thumbnail and specify its size
  • Picture alignment (left, right, center)
  • Support Lightbox, Thichbox, Greybox
  • Support for picture caption
  • Optional include watermark in every uploaded picture
  • Multi-language support
  • Fully configurable

Plugin’s homepage.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Oct
25

Alphabetized listing in Wordpress

Posted by admin in wordpress

With WP-Snap you can organize your posts alphabeticaly in each category.For example: if you are browsing through category 3, WP-Snap organizes posts from that category only.

  1. Download the plugin: wp-snap.zip
  2. Unzip and upload the file to your plugin folder (usually: /wp-content/plugins/).
  3. Activate the plugin.
  4. Insert the following code to your theme files where you want the alphabetical list to apear (index.php, archive.php):

    <?php if (function_exists(’wp_snap’)) { echo wp_snap(); } ?>

Check out plugin’s homepage for additional tips and settings.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Oct
18

Stick post in Wordpress

Posted by admin in wordpress

I found nice Wordpress plugin to stick one of your posts to the top of the page.

  1. Download the plugin: wp_stickpost.zip
  2. Unzip and upload the folder to your plugin folder (usually: /wp-content/plugins/).
  3. Go to Admin site under ‘Manage’ -> ‘Stick post’ and select the post that will be sticked at the top of your page.

Plugin’s homepage.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]