
| Share: | 48 views | Permalink |


I’m a budding theme designer, still learning the ropes and its important to keep updated with the latest WordPress changes as it will affect your theme design.
Getting up to speed and knowing the codes well will make or break that template of yours. So here’s a lowdown of the upcoming WordPress v2.7 new template tag changes I found via Blogging Tips
Tag Change #1: Post Classes
Used within the loop
Old Code
<div id="post-<?php the_ID(); ?>" class="post">
New Code
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Add multiple class
<div id="post-<?php the_ID(); ?>" <?php post_class(’entry class2′); ?>>
Tag Change #2: Logout Link
Open up comments.php
Old Code
<?php echo get_option(’siteurl’); ?>/wp-login.php?action=logout
New Code
<?php echo wp_logout_url(get_permalink()); ?>
Well I do hope WordPress v2.7 will kickass, as I’ve heard so much about it and touted to be a total revamp. By the way there’s v2.6.5 rolled out for v2.6 legacy users. The usual security fixes.











