Đăng ngày 26 Tháng hai, 2009 trong mục WP Themes | 15,329 lượt xem

Đây là bản cập nhật cho theme VN-News bị lỗi khi xem bằng trình duyệt Internet Explorer mà các bạn đã thông báo trong thời gian vừa qua, nguyên nhân nằm trong file stlye.cssindex.php, tuy nhiên cách khắc phục rất đơn giản. Ngoài ra, trong bản 1.2.3 này còn kèm theo hai widget là "Most Viewed 2" và "Random Posts" với ảnh thumbnail như widget "Recent Posts 2".

download vn-news 1.2.3

Chú ý: Nếu bạn đã chỉnh sửa theme theo ý riêng và không muốn update đè lên bản cũ thì bạn có thể làm bằng tay như sau:

Trong file style.css, bạn tìm và xóa những dòng này

Xóa những dòng trên

Sau đó chèn đoạn code dưới đây vào chỗ vừa xóa:

.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
.clearfix{display:inline-block;}
* html .clearfix{height:1%;}
.clearfix{display:block;}
img.thumb{background:#fff;border:1px solid #ccc;float:right;margin:3px 0 4px 5px;padding:1px;width:50px;height:50px;}

Tìm trong file index.php và xóa chữ "clearfix" như hình minh họa

xoa-trong-index

Như vậy là bạn đã xong phần vá lỗi. Nếu bạn thích dùng thêm hai widget "Most Viewed 2" và "Random Posts" thì bạn chỉ cần lấy file functions.php của bản 1.2.3 (download ở trên) chép đè lên bản cũ là xong.

Tôi vẫn đang phát triển theme này, vì vậy rất mong nhận được phản hồi từ các bạn để theme ngày một hoàn thiện hơn. :P

Đăng ngày 2 Tháng mười hai, 2008 trong mục WP News | 3,937 lượt xem

Yesterday, WordPress 2.7 Release Candidate 1 (RC 1) has just been released by WordPress.org. This version comes with new interface and new icon set. Bellow is the quote from WordPress.org Blog:

With the release of RC1, we’re in the final leg of development before the release of 2.7.  280 commits since beta 3 have polished the new admin UI (including new menu icons created by the winners of our icon design contest) and fixed all known blocker bugs.

We think RC1 is ready for everyone to try out.  Please download RC1 and help us make the final release the best it can be.  As always, back up your blog before upgrading.

Screenshot of WordPress 2.7 RC1 with new icon set. It's so cool!

I recommend you to update to this version now. But before updating, don't forget to backup your blog database first!

Download WordPress 2.7 RC 1.

Đăng ngày 26 Tháng mười một, 2008 trong mục WP News | 2,866 lượt xem

WordPress 2.6.5 is immediately available and fixes one security problem and three bugs, here is a list of the changes in detail:

  • Added a check for the correct post_type to blogger.editPost and blogger.deletePost (#8267).
  • Updates to update_post_meta() and delete_post_meta() to ensure they work correctly with post revisions and don’t create the meta on the revision instead of the post (#7925).
  • Protection for a very difficult to exploit XSS issue (#8291).
  • Fix for an XSS issue with the Atom and RSS feeds on some hosting setups ([9754], [9770]).

For a complete list of all the changes, you can read this section of the branches/2.6 log on the WordPress bug tracker. WordPress.org recommends everyone upgrade to this release.

Note that we have skipping version 2.6.4 and jumped from 2.6.3 to 2.6.5 to avoid confusion with a fake 2.6.4 release that made the rounds.

There is not and never will be a version 2.6.4 :)