Categories
News

WordPress 3.0.4 Available : Important Security Update

According to WordPress.org a new security update is available(WordPress version 3.0.4), its a very important update that should be applied immediately. It fixes core security bug in the HTML sanitation library, called KSES. This release is a critical says Matt Mullenweg.

He also emphasis to update this release due to the holiday season is going on, should not be taken lightly. Its not a Christmas or Holiday release.

If your interested to see the change log you can take a look here and you can also review the update. The security bug is discovered by Mauro Gentile and Jon Cave (duck_) and alerted the WordPress team to these XSS vulnerabilities.

If you have no idea how to update it you can refer the link that will show you the update process in detail.

Download Link : WordPress version 3.0.4

Categories
News

Coming Up – Meet The WordPress Makers

Many Developers might be interested to know, who is involved in taking WordPress decision and how the open source project is structured in general. Lets see what Jane Wells has to say about it.

By Jane Wells WordPress is a meritocracy, it means that anyone can get involved, and a combination of the quality of someone’s contributions and their level of interest and time commitment will determine how much influence they have over decisions.

They have several levels of contributes for the WordPress application development, that includes full-time developers and casual contributors.

The WordPress team is planning to come up with second annual WordPress core leadership meetup in January 2011, they will have a video town hall at some point during their time together. During these days he will be posting profiles of the core developers who will be at the meetup. After that he will be branching out and posting about other contributors, including developers, designers, forum moderators, etc.

If you have any questions you can submit it to them to answer then in the forum thread What Should 2011 Hold for WordPress? To have a little idea how all these people fit together and how decisions are made, you can check out the presentation held WordCamp Portland in October on How WordPress Decisions Get Made.

Categories
Tips

Download WordPress for BlackBerry 1.4.4 Mobile

For BlackBerry user the WordPress for BlackBerry version 1.4.4 you can download from BlackBerry App World.

WordPress has added following features for BlackBerry version1.4.4:

  • Rotate uploaded photos.
  • Better integration with BlackBerry Torch 9800.

Some bug fixes in the previous version, including the media uploading issue on the 9800 Torch device:

  • Fixed the media uploading issue on the 9800. It requires AtomPub to be enabled on your blog.
  • Fixed an issue that would sometimes occur with long post titles.
  • Fixed issues with orphan categories.
  • Fixed issues with the blog shortcut icon which would appear too big sometimes.
  • Minor bug fixing.

The all new WordPress for BlackBerry application allows you to write posts, upload photos and videos, edit pages, and manage comments. Both WordPress.com and self-hosted WordPress (2.9.2 or higher i.e. version 3.1.0) sites are supported. Download the application and start enjoy blogging.

Link :  BlackBerry App World

Categories
Tutorial

Add Custom CSS Classes in WordPress Custom Menu’s Individual Items

The WordPress function wp_nav_menu() is a great way to give users the ability to control their menu items in WordPress 3.0+. You can easily add/delete/move menu items from WordPress admin panel. I was recently working on a site where I wanted to add a class to add different colors for each menu item. Fortunately, this can be done very easily by doing the following:

1. Click on the Screen Options tab at the top right of the admin panel when on the Menu admin page (Appearance > Menus).

2. Select CSS Classes under Show advanced menu properties. (You will also see options to add a link target, description, and a link relationship).

3. Edit your menu items and now notice there is a field to add a class for each individual item.

This is a great way to add a custom class to Navigation menu items.
Now using “menu-change” class or the class which u applied in above box, you can apply styles the way you want.

Why not just use the IDs?
I specifically did this because I was using multiple menus (same menu class) and instead of using the list item IDs to add custom CSS for multiple IDs – I simplified it by adding different classes that would then cover all my menus.

Here is your Colourful menu Output:

Thus with the help of WordPress 3.0+ you can easily give your navigation menu a new look. Do drop in your opinions and comments below.

Categories
Tips

WordPress 3.1 Release Candidate is Out Now

For WordPress 3.1 the first release candidate (RC1) is available now. A release candidate version comes before final release and after beta version.

So one can implement the latest release but it is advisable  to test it first to your test servers. Because there are variety of plugins and configurations available so it might happened that something has been missed so not to use it directly on your live site.

By Andrew Nacin, An RC comes after the beta period and before final release. That means we think we’re done. We currently have no known issues or bugs to squash. But with tens of millions of users, a variety of configurations, and thousands of plugins, it’s possible we’ve missed something. So if you haven’t tested WordPress 3.1 yet, now is the time! Please though, not on your live site unless you’re extra adventurous.

WordPress 3.1 Beta 1 was released for Thanksgiving, after that WordPress 3.1 Beta 2 was available on 15 dec 2010. So we can assume that the release candidate comes as a Christmas present.

Things to be taken care of :

  • You can test your themes and plugins, so that if there are any compatibility issues it can be figured out in the final release.
  • Any known issue you may find here.
  • If you are testing the release candidate and think you’ve found a bug you can post it to the Alpha/Beta area in the support forums.

Download Link : WordPress 3.1 RC 1

Categories
Tutorial

Storing Data On SVN(subversion) Repository For Windows OS

While coding, we come across a situation where we need to revert back some heavy changes to the source code, but we could not find it anymore, eventually it becomes difficult to trackback and we end up wasting a lot of time and energy, this is where SVN comes to our rescue. In this article I am going to assist you how to manage data on SVN.

SVN or Subversion is an open source tool used for revision control or in other words it’s an online repository in which data can me stored. It is widely used by popular open source project as their version control program. I use it for my WordPress projects.

Tortoise SVN is a Subversion client, easy to use revision control, implemented as a windows shell extension. Since it is not integrated with specific IDE will be using it with NetBeans.

How to go about it

  • Restart your computer if required.
  • Extract WordPress to a folder say DemoFolder.
  • Create a folder on SVN repository say SVN-data.

  • Create a folder trunk in SVN-data.
  • Export default twentyten theme to trunk, which is under Theme folder (local machine –> SVN repository).

  • Now SVN checkout to your local machine under theme folder.

  • After any changes you can commit the data so that it can be stored on the online repository. Now you can see there is .svn folder is in your twenty ten theme with all green folder icon.

Do drop in your comments.

Categories
Tips

Blogger to WordPress redirection plugin [New version]

We have launched an upgraded version of  the Blogger to WordPress Redirection Plugin for all those who want to migrate blog from Blogger.com to self hosted WordPress blog efficiently and with least time.

Why to use Blogger to WordPress Redirection Plugin?

  1. If you have used WordPress built-in importer to import posts from Blogger.com, you will definitely benefit from this plugin.
  2. This plugin handles the most important aspect during Blogger.com to WordPress migration, that is redirecting posts from Blogger.com blog to new WordPress blog post.

Changes in the New Version

  1. Generates code for your Blogger template.
  2. Plugin handles everything automatically at the WordPress end.
  3. Supports rel=canonical, meta-refresh tags on Blogger.com which will speed-up redirection
  4. Configuration wizard to setup redirection code.
  5. Multiple blog supports after importing posts from Blogger.com by WordPress default importer.
  6. Easy way to configure redirection test.

Check out complete user guide of Blogger to WordPress Redirection plugin.

Download Link

Categories
News

[Updated] Blogger to WordPress 1-to-1 Redirection Plugin

Around 2 year back, I developed my first WordPress plugin, named Blogger to WordPress Redirection Plugin (see old post). It was developed to take care of 1-to-1 redirection between old Blogger.com posts and new WordPress blog. Over the time, we launched a professional service for Blogger to WordPress Migration and many users thought that they will never see any update for our free and open-source plugin again. Proving them wrong, we gladly announce release of a new version of our old-plugin with exciting new features.

New Features

  • Zero changes requires on WordPress-side. Plugin handles everything automatically on WordPress.
  • New configuration wizard help you setup redirection without much efforts.
  • Supports importing from multiple Blogger.com blogs.
  • Add supports for “rel=canonical” & “meta-refresh” tags on Blogger.com which will speed-up redirection. This will help search engine update their index faster.

Credits:

The plugin comes bundled with experience of Nitun, our BloggerToWP service head, who has handled more than 100 migrations this year. If you really like user-interface of this plugin, the credit goes to Rakshit, new developer at rtCamper with good aesthetic taste! Link: Blogger to WordPress Redirection Plugin

Categories
Reviews

Syntax Highlighter Compress – Best Syntax Highlighter WordPress Plugin

When I write post and highlight HTML/CSS or PHP or any other languages, I have to replace tags ‘<‘ with ‘&lt;‘ . It consumes a lot of time to convert. An easy way to implement source code or programming language is to implement a WordPress plugin. WordPress plugin Syntax Highlighter Compress has support for many languages listed below. Though there are many similar plugin available but the advantage of using this plugin is that it loads the necessary brush files dynamically. Unlike other plugin based on Syntax Highlighter Script but these cause long page loading time and they are difficult to handle.

When you choose a plugin first look at its rating, compatibility and last updated these are the parameters one must check before testing or implementing any plugin.

The highlighted code in your post will look like in the image below more highlight styles are available, you can change the highlight setting in setting menu.

Supported Mark-up or Available Programming languages

Syntax Highlighter ComPress is a simple WordPress plugin. Code and source text of various programming languages or mark-up can be highlighted in WordPress. This plugin last updated at 2010-9-29, requires WordPress version 2.6 or higher and it is compatible with version 3.0.3. Once you have installed this plugin, activate it then  an icon appears in your post text area, look at the image below, click it select language and paste your code. You can go for a Demo Here.

  • AppleScript
  • ActionScript3
  • Bash/shell
  • Coldfusion
  • C#
  • C++
  • CSS
  • Delphi
  • Diff
  • Erlang
  • Groovy
  • JavaScript
  • Java
  • JavaFX
  • Perl
  • PHP
  • Plain Text
  • Python
  • Ruby
  • Scala
  • SQL
  • Visual Basic
  • XML

You can find more setting option in the admin panel settings menu. Settings option available for stylesheet, Auto-Links, Collapse, Gutter, Smart-Tabs, Tab-size and Toolbar.

Let me know if you have idea about better WordPress plugins.

Link : Syntax Highlighter ComPress

Categories
Tutorial

Using Dynamic URL for .htc File in WordPress Theme

As we all know in Mozilla, Chrome or most of the browsers we can use CSS3 properties, but how those  CSS properties can be used in Internet Explorer. A smart way is to use pie.htc or ie-css3.htc file that supports some new styles available in CSS3 standards. While I work on WordPress project I use pie.htc files, so that I can implement some of the CSS3 property for Internet Explorer here is an example how to use it.

Absolute path for .htc file

An absolute path is applied to htc file in the stylesheet for CSS3 support to IE.

.example {
border-radius : 5px;
-moz-border-radius : 5px;
-webkit-border-radius : 5px;
behavior : url(http://demosite.info/wp-content/themes/twentyten/pie.htc); /*   absolute path  */
}
ADVERTISEMENT

The above syntax works well, as we have set an absolute path for .htc file in the stylesheet but it becomes inconvenient to move styelsheet from one domain to another.

Relative path will not work in case of .htc file

Indeed Internet Explorer does not interpret the path relative to the CSS file, but it interprets the URL for the behavior property relative to the source HTML document. This causes the PIE behavior inconvenient because the path has to be absolute from the domain root this makes the CSS not easily movable to different directory. (Note : Here pie.htc is in js directory)

.example {
border-radius : 5px;
-moz-border-radius : 5px;
-webkit-border-radius : 5px;
behavior : url(js/pie.htc); /*  relative path, pie.htc is in js folder  */
}
ADVERTISEMENT

We can make use of Dynamic URL for accessing .htc file

We can use WordPress function “bloginfo(‘template_directory’)” in header.php file to generate the path dynamically. Put the classes into tag within the section. Now you can use the htc file by adding classes to it separated by commas.

header.php

<style type="text/css" >
        .Class1, .Class2 { behavior : url(<?php bloginfo('template_directory'); ?>/path/to/PIE.htc; }
 </style>

style.css

ADVERTISEMENT
.Class1 {
border-radius : 5px;
-moz-border-radius : 5px;
-webkit-border-radius : 5px;
}

.Class2 {
-moz-box-shadow : 0px 0px 4px #ffffff;
-webkit-box-shadow : 0px 0px 4px #ffffff;
box-shadow : 0px 0px 4px #ffffff;
}

For my WordPress project I tried to access .htc file keeping it at different domain but could not access it, because the IE behavior property does not allow .htc file to access cross domain. You can also visit this link for reference. If you have any updates or idea about this you can share it though your comments.