PHP has the plethora of frameworks which are painless to use by a developer. A developer can also freak out on while developing a website with various attractive features. Betwixt all the frameworks, WordPress is the most prominent one because of its outstanding features.
Migration of Themes and Plugins
When a new major version of WordPress released, namely, WordPress 2.1 or 2.2, you might have discovered that Themes or Plugins are no longer working in a way they used to do it earlier. The primary reason could be that they are entirely broken because there was something in WordPress that was subjected to get changed. At the same time, another possible reason might be that was very fundamental and got changed, although you can feel relished working with WordPress Development just by updati An outline of WordPress 2.7:ng a few settings.
An outline of WordPress 2.7:
Migration of Themes and Plugins
WordPress 2.7 evolved with many revolutionary visages for getting an amazing website especially for bloggers. There are a few key features that are included in WordPress 2.7 such as Pages, plugins, Images and there are a few more. You can enjoy working on this by restraining blog part of the website with this version. You can flawlessly create static pages which are not the part of bookmark links, ongoing blog and others.
What is state-of-the-art about “Pages”?
Pages may look quite similar to the posts at first glance. However, they are actually not akin. Pages do not have timestamp, tags or categories. On the other hand, posts belong to the blogs that are meant to be the segment of enduring section of the website.
Add New Page
Just visit WP admin and navigate to different pages in order to add a new page. You will find drop-down menu in the grey menu fixed at the top and by clicking on the arrow; you can easily add a new page. Adding page can appear quite similar to the earlier process. But, there will be a new section that you will find, that is, Attributes.
Something about “Themes”:
- Improved Comment Display – Threading, Paging and much more:
Comments emerged in WordPress 2.7 with various new features, including nesting, threading, paging and many more. They are built-in because of the fact that you theme will support it. Thus, you can enjoy various advantages of these new features to get the amazing websites.
In the version, WordPress 2.7, Template Tag wp_log_out_url was added. This was providing a nonce URL for logout process. If a theme is using a construct such as /wp-login.php?action=logout to provide a logout link to the user. Consequently, that code has to be updated with the use of wp_logout_url.
You may also experience a message – You are attempting to log out of example.com. Please try again, if the theme is not using wp_logout_url for the URL of logout.
- Sticky posts excluded from custom queries:
You can easily designate a post as sticky under the WordPress 2.7 version. If you will follow to use a query posts loop, then those sticky posts will get back directly to the custom queries. In order to avoid the sticky notes from getting involved, you can simply add caller_get_posts=1 to the complete query string.
WordPress 2.7 introduced a new function for post classes, which will allow the user to do the styling in a simple style. The function can be written as post_class( ).If you are willing to use the function, then simply add it to Loop in such a way that it can make complete sense. Most themes usually encapsulate each post within a DIV section.
<div id = “post-<?php the_Id( ); ?>” </div>
<?php post_class( ); ?> >
For a few special cases, if you want to add you own classes, post_class will support it too. This can be done as shown below:
<?php post_class(‘special’); ?>
If you have to display the post outside the Loop or in any alternative Loop, the second parameter to this function can be the post Id. You can use the following format:
<?php post_class(‘ ’, $post_id); ?>
Flexibility to display the sticky post class:
The very basic thing that you have to do is to find:
<div class=“post” id=“post-<?php the_id( ); ?>”></div>
<div class =“post” <?php sticky_class( ); ?>” id=“post-<?php the_id( ); ?>”></div>
Always tie a knot of the point that it is not mandatory if you make use of the post_class( ) function, as discussed above. However, use of post_class( ) is preferred, but if you are doing it manually, then it will allow you to get the sticky status of the complete post.
A trivial change in Plugins:
You can also find some changes in Plugins too and some of the updated features are listed as follows:
- Uninstall feature in Plugin API
- Administrative Hooks introduced and removed
- Admin Header
- Settings API include
- Admin header
- Plugins list page
- Plugins have to be registered
Thus, all these advanced features within the WordPress 2.7 have allowed the developers to work on web development and web customization with an ease. These advanced features will also help the website to inherit many innovative and creative features which can be user-friendly.