WordPress tips: Tự động làm trống thùng rác

Thùng rác là 1 chức năng mới từ wordpress 2.9, khi một ( bài viết, bình luận … ) sẽ bị xóa thì nó sẽ vào thùng rác chứ không được xóa vĩnh viễn. Với mẹo nhỏ sau bạn sẽ làm cho blog wordpress của bạn sẽ tự động làm trống thùng rác sau 1 thời gian chỉ định nào đấy

Đơn giản, chèn đoạn code sau đây vào wp-config.php của bạn

define('EMPTY_TRASH_DAYS', 10 );

tham số thứ 2 ( 10 ) là số ngày để làm trống thùng rác

 

Product Description

One of the most popular open source blogging and content management systems, WordPress lets you create a website to promote yourself or your business quickly and easily and better yet, it’s free. WordPress is a flexible, user-friendly system, and it can be extended with a variety of themes and plugins.

Beginning WordPress 3 is a complete guide for the beginning developer who wants to start using WordPress. You’ll learn how to publish and manage online content, add media, create widgets and plugins, and much more.

What you’ll learn

* How to get started with WordPress, create new content, and import existing content
* How to change what appears on a home page, blog post, and more
* How to handle media uploads, audio/video players, and podcasting
* How to create themes, widgets, and plugins
* How to publish, move, maintain, and secure your WordPress sites

Who this book is for
This book is for first-time users, designers, and developers of online content, blogs, and content management systems.

Table of Contents
Chapter 1: About WordPress
Chapter 2: Installing and Upgrading
Chapter 3: Dashboard and Settings
Chapter 4: Working with Content
Chapter 5: Importing Content
Chapter 6: Creating a Basic Theme
Chapter 7: Creating an Advanced Theme
Chapter 8: Creating Widgets
Chapter 9: Creating Plugins
Chapter 10: Users and Roles
Chapter 11: Performance and Security
Chapter 12: Custom Content Types, Taxonomies, and Fields
Chapter 13: Setting up the Network
Appendix 1: Plugin Index
Appendix 2: Theme Functions
Appendix 3: Plugin Recipes

About the Author
Stephanie Leary is a web developer for Texas A&M University and the co-owner of Paged Media, a freelance business catering to authors and other publishing professionals. She began developing themes and plugins for WordPress in 2005, and has taught numerous workshops on using WordPress as a content management system.

Product Details

* Paperback: 432 pages
* Publisher: Apress; 1 edition (June, 2010)
* Language: English
* ISBN-10: 1430228954
* ISBN-13: 978-1430228950

Download: http://www.mediafire.com/?izz3o4yojmy

 

Product Description
WordPress is easily one of the hottest platforms for building blogs and general web sites. With the addition of the WP e-Commerce plug-in, it’s also a competent platform for easily creating and running an online store, capable of selling physical items as well as services and digital downloads. WordPress with e-Commerce offers every feature that a seller and a customer may need. You can build an online store that makes it easier for the customers to find and buy products.

WordPress 2.9 e-Commerce focuses on the integration of WordPress with the WordPress e-Commerce plug-in, covering all aspects of building and developing an online store from scratch.

This book provides a simple, step-by-step approach to developing an effective online store. It guides you through your initial planning and first steps, plug-in installation and configuration, building your catalog of products to sell, accepting payments for your orders, and dealing with taxes and shipping. You will also learn how to promote and market your new store, handle customer accounts and staff roles, and deal with essential store security.

As you work through each chapter, your online store will grow in scope and functionality. By the time you finish this book, you will have a complete and working store, ready to release your products to the world.

This practical guide will show you how to harness the power of WordPress and the WP e-Commerce plug in to build a feature-rich and customizable store to sell your products online.

What you will learn from this book :

* Tweak WordPress to build an adept, business-friendly online store
* Install and configure WP e-Commerce and add products to your online catalog
* Manage and sort your products with groups, categories, tags, and variations making it easier for your customers to find any product
* Automate the delivery of digital downloads after purchase ensuring the convenience of your customers
* Create and manage user account roles and permissions for customers and staff
* Brand your site by customizing WordPress themes
* Accept payments using a variety of payment processors and automatically apply sales tax and shipping
* Create your own customizable shipping rates and connect to shippers such as USPS and UPS
* Secure your online store against attacks and data loss
* Explore alternative e-Commerce plug-ins for WordPress

Approach
This book provides an easy to understand, step-by-step approach to installing, configuring, and using WP e-Commerce to run your online store. We will construct an example store in the book with enough information and flexibility to adapt the store to your specific needs.

Who this book is written for
This book is for you, if you are interested in using WordPress as the basis for a store that can sell physical items, downloads, or services.

It is ideal for a sole proprietor or small business owner with only basic, in-house technical skills. Some prior knowledge of WordPress will help, but is not required. No knowledge of PHP is expected, but it will also be helpful.

Product details

* Paperback: 284 pages
* Publisher: Packt Publishing (18 Mar 2010)
* Language English
* ISBN-10: 1847198503
* ISBN-13: 978-1847198501

Download
http://www.mediafire.com/?2n5zimmdn4m

 

Product Description
Sams Teach Yourself WordPress in 10 Minutes gives you straightforward, practical answers when you need fast results. By working through its 10-minute lessons, you’ll learn everything you need to build great blogs with WordPress and WordPress.org, and reach any audience by web browser, RSS, or cell phone!

Tips point out shortcuts and solutions
Cautions help you avoid common pitfalls
Notes provide additional information
Plain English definitions explain new terms

10 minutes is all you need to learn how to…
* Quickly build blogs for free with WordPress.com
* Customize your blog to fit your message
* Create powerful text, audio, and video content
* Moderate comments and build communities
* Set up RSS feeds
* Host your own blog with WordPress.org software
* Deliver content via iPhone and BlackBerry
* Streamline publishing with third-party tools

About the Author
Chuck Tomasi is an IT manager for Plexus Corp., a contract electronics company headquartered in Neenah, Wisconsin. He has almost 30 years of IT experience and is also a devoted husband and proud father of two. Chuck is an accomplished writer and public speaker on New Media. His first book, Podcasting for Dummies (co-written with Tee Morris and Evo Terra), was ranked #1 by Neilsen BookScan in its category. He is a regular contributing writer to the Friends In Tech and Tech Talk for Families blogs. Chuck is a pioneer in podcasting who began working with the media in 2004 when it was still in its infancy. He is the co-host of the light-hearted weekly tech/science podcast Technorama, which was a finalist in two categories at the 2007 Parsec Awards for podcasting excellence. He also produces and hosts the Gmail Podcast, a collection of short audio tips. As a speaker, Chuck has led training sessions on podcasting for the National Park Service, spoken at the New Media Expo on how to build listener loyalty, presented a session at the National HDI (Help Desk Instutite) conference on effective customer communications, and done numerous presentations for his local HDI chapter. Chuck is also the founder, host, and regular presenter for Fox Cities Managers, a local group of professionals dedicated to leadership excellence in northeast Wisconsin.

Kreg Steppe has 20 years of experience as an IT professional. Kreg is a husband and father of one. He has several interests in creative writing, photography, audio production, and web application development. Currently working as a web developer, he has 10 years experience with web technologies including HTML, JavaScript, PHP, MySQL, Apache, and IIS. His work leads him to create rich and robust solutions including writing a custom intranet, extranet, and workflow applications. He is also a podcasting early adopter. In late 2004, as podcasting started to get recognition, Kreg became involved with several podcasts, emerging as a consummate assistant to budding podcasters. In early 2005 Kreg joined Chuck Tomasi and launched Technorama, a podcast with a lighthearted look at all things tech and sci-fi. Working on Technorama, and as a member of Friends In Tech podcasting group, Kreg has had several years of audio production experience including creative writing, coordination logistics, and editing. Most recently, Kreg spoke at Create South 2009 regarding “Sharing Your Photography and Social Media” as an amateur photographer and with an interest in social networking.

Product Details

* Paperback: 240 pages
* Publisher: Sams; 1 edition (March 28, 2010)
* Language: English
* ISBN-10: 0672331209
* ISBN-13: 978-0672331206

Download
http://www.mediafire.com/?tbdmmmdzlmn

 

WordPress tip: cho phép tải lên nhiều loại tập tin

Vì một số lý do, WordPress sẽ không cho phép bạn tải lên một số định dạng tập tin, chẳng hạn như Textmate của TmCommand. Nếu bạn cần phải tải lên các tập tin vào blog WordPress của bạn, đây là một đoạn mã rất tốt mà sẽ cho phép bạn làm điều đó.

Rất đơn giản, thêm đoạn mã sau vào functions.php của blog wordpres, nếu cần thêm định dạng tập tin mới, bạn có thể chèn thêm vào dòng thứ 4, mỗi dạng tập tin cách nhau 1 dấu “|”. Very simple

<?php
function addUploadMimes($mimes) {
 $mimes = array_merge($mimes, array(
 'tmbundle|tmCommand|tmDragCommand|tmSnippet|tmLanguage|tmPreferences' => 'application/octet-stream'
 ));
 return $mimes;
}
?>
 

Description

Don’t let WordPress intimidate you. WordPress 24-Hour Trainer is a unique lesson-based book that walks you through the essential parts of WordPress. Each lesson is streamlined to teach a specific aspect of WordPress, helping you to focus on just what you need in order to get the task accomplished. If you learn better visually, this book provides you with a video to accompany each lesson.

This book is the perfect guide to

* Planning and preparing your site for WordPress
* Installing WordPress
* Writing, tagging, and publishing a post
* Working with the text editor
* Styling paragraphs and creating lists
* Working with media files
* Linking, aligning, and sizing an image
* Working with image galleries
* Adding video and audio
* Naming, scheduling, and managing posts
* Making your site stand out
* Helping others connect to your site
* Becoming search engine friendly
* Optimizing your site
* Backing up your site
* Installing and activating plugins

Download:
http://www.mediafire.com/?0gd0mtjjnwi

http://i585.photobucket.com/albums/ss292/hapm_info/bloghapm/wp14.jpg
 

Một cuốn ebooks nữa mới có về wordpress, sao giờ mình yêu wordpress đến thế nhỉ ^_^

Description

Advice and techniques that you need to get the job done.

Looking for ways to streamline your work so you can focus on maximizing your time? In Depth provides specific, tested, and proven solutions to the problems you run into every day–things other books ignore or oversimplify. This is the one book that you can rely on to answer the questions you have now and will have in the future.

In Depth offers
* Comprehensive coverage with detailed solutions
* Breakthrough techniques and shortcuts that are unavailable elsewhere
* Practical, real-world examples with nothing glossed over or left out
* Troubleshooting help for tough problems you can’t fix on your own
* Outstanding authors recognized worldwide for their expertise and teaching style
* Quick information via sidebars, tips, reminders, notes, and warnings
In Depth is the only tool you need to get more done in less time!
Includes coverage on blog creation, widgets, plug-ins, themes, SEO, the WordPress.com platform, and WordPress.org software

Table of Contents

Introduction     1

Part I: Getting Started with Your Blog
Chapter 1: Getting Started with WordPress     9
Chapter 2: Starting Your Blog Right     27
Chapter 3: Creating Your Blog’s Look     51

Part II: Running Your Blog
Chapter 4: Creating Your First Post     81
Chapter 5: Taking Posts Further     101
Chapter 6: Using HTML in Your Widgets and Blog     123
Chapter 7: Adding Features to Your Blog     147
Chapter 8: Tracking Statistics and Bringing In Visitors     167

Part III: Taking Your Blog Further
Chapter 9: Adding Graphics to Your Posts     191
Chapter 10: Adding Upgrades, Audio, and Video     209

Part IV: Building Your Own WordPress Installation
Chapter 11: Installing and Upgrading WordPress Software     229
Chapter 12: The WordPress Toolkit: Themes     257
Chapter 13: The WordPress Toolkit: Plug-Ins     271
Chapter 14: Style Sheets for Building Themes     287
Chapter 15: PHP Basics: Themes and Plug-Ins     321

Part V: Appendices
Appendix A: WordPress.com Versus WordPress.org     349
Appendix B: WordPress Documentation     357
Appendix C: Examples of WordPress Blogs     363
Appendix D: Examples of WordPress.com Blogs     367
Appendix E: WordPress Site Maps     371
Appendix F: Importing Content from Other Systems     385
Index     391

Download
http://www.mediafire.com/?qinzdndzmmt

 

Sử dụng jQuery 1.4 mặc định trên blog wordpress

Phiên bản jQuery 1.4 đã release, nhưng cho đến khi wordpress có phiên bản cập nhập tiếp theo, blog của bạn vẫn sử dụng phiên bản cũ của jQuery là 1.3.2. Một mẹo nhỏ sau đây sẽ giúp blog bạn sử dụng phiên bản hiện tại của jQuery – 1.4, phiên bản mới nhất.

Rất đơn giản, dán đoạn mã sau đây vào file functions.php của themes bạn đang dùng ^_^

if( !is_admin()){<br />
 wp_deregister_script('jquery');<br />
 wp_register_script('jquery', (&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js&quot;), false, '');<br />
 wp_enqueue_script('jquery');<br />
}
 

Wow, hôm qua google một hồi bỗng dưng ra cuốn này, mún tìm từ lâu rồi mà hem có, tìm được sướng quá lôi lên công ty định đọc nhưng bận quá nên … chưa đọc được. Thôi, coi như món quà năm mới và 1 entry của năm mới dành tặng mọi người vậy, he he.

Happy new year and welcome Hapm’s Blog

Written by WordPress veterans Chris Coyier and Jeff Starr, Digging into WordPress is 400+ jam-packed pages of everything you need to get the most out of WordPress. WordPress is great right out of the box, but unless you want an ordinary vanilla blog, it is essential to understand the full potential of WordPress and have the right tools to get the job done.<

In clear, easy-to-read language, Digging into WordPress shows you how to tap WordPress’ potential and take your site to the next level. From setup and configuration and customization to syndication, security and optimization, Digging into WordPress gives you everything you need to maximize the success of your site.

Download free book sample

The demo features the Table of Contents and part of Chapter 3

Written with the perfect balance of theory, explanation and code, each chapter focuses on teaching you how to improve your site using many different techniques, tips, and tricks. Each technique is fully self-contained, providing complete instructions and clear explanations to make implementation a breeze.

Along the way, as you learn about how to maximize, optimize and streamline your site, you’ll also get scores of bonus information in the form of “pop-out” boxes and side notes. These popouts and asides provide you with further context, insider information, and many more awesome techniques to improve your WordPress-powered site.

What You’ll Get

Here’s what you’ll get with Digging into WordPress:

  • Solid, in-depth understanding of site configuration, theme customization, performance optimization, SEO, WordPress security, and much more
  • Clear, easy-to-read language that shows you how to do it yourself and do it right the first time
  • The perfect balance of theory, explanation, techniques, and the code to make it happen
  • Tons of supplemental and bonus information containing hints, secrets, and tips and tricks
  • An beautifully designed book presented in landscape format for easy reading
  • Plenty of vivid graphics to help explain abstract concepts
  • Many actual code snippets ready for easy step-by-step, copy-&-paste usage
  • A vast collection of useful sites and resources hand-picked from around the Web
  • A linked Table of Contents for easy access, and hyperlinked URLs throughout the book
  • A lifetime subscription to all future updates to the book
  • A discount on the printed-format version of the book
  • Fanatical customer support
  • And much more!

Digging into WordPress is perfect for WordPress users in the beginner to intermediate range, but contains plenty of great information for the advanced user as well. If you have any level of experience working with web design or WordPress, this book is written to help you take WordPress to the next level.

What You’ll Need

Here’s what you’ll need to get the most out of Digging into WordPress:

  • A desire to get the most out of WordPress and run the best possible site
  • Basic knowledge of how to setup and work with dynamic websites
  • Basic knowledge of CSS and HTML. Some familiarity with PHP is helpful, but not required
  • And of course $27 for the PDF (includes free lifetime updates)

Awesome Techniques

Here are some of the awesome techniques that you will learn from Digging into WordPress:

  • Setup multiple loops the right way
  • Setup page-specific menu styles
  • Create the perfect sidebar (and multiple sidebars)
  • Import and display Twitter, Delicious, and more
  • Create, customize, and use child themes
  • Implement multiple themes for your visitors
  • Widgetize your sidebar and virtually anything else
  • Learn the inside tips for choosing the best plugins
  • Create your own custom theme functions
  • Maximize WordPress as a Content Management System (CMS)
  • Configure and optimize your WordPress feeds
  • Setup and distribute your feeds with Feedburner
  • Add feed images, style your feeds, and add custom content
  • Customize and optimize the WordPress Comments Area
  • Learn about custom comment loops, threaded comments, and more
  • Learn the best ways to defend against spam
  • Optimize your site for the search engines
  • Control duplicate content and optimize your permalinks
  • How to track your site’s statistics to measure success
  • Secure WordPress, your files, database, and content
  • How to monitor and fix errors
  • Optimize the performance your site
  • ..and much, much more!

Plus hundreds more tips, tricks and techniques sprinkled throughout the book. As you learn the hows, whens, and whys of maximizing WordPress, you get many super-cool techniques and tons of great inside information along the way.

About the Authors

Digging into WordPress is written by Chris Coyier and Jeff Starr, who eat their own dog food when it comes to talking WordPress. Between them, nearly 100 WordPress sites manufactured. They work with and write about WordPress just about every day, sharing WordPress tips and tricks at the book’s companion site, digwp.com. Beyond working with WordPress, both Chris and Jeff are professional web developers and designers, applying many years of cumulative experience into every aspect of web and graphic design.

Chris Coyier is a real world web designer who has been reaching for WordPress to power client sites for many years. He subscribes to the theory that not only is WordPress capable of powering any website it is almost always the right choice.

Jeff Starr has been designing and developing WordPress-powered sites since 2005. He develops WordPress plugins, creates WordPress themes, and writes lots of articles about WordPress, Web Design, Social Media, and everything else. He prefers to view WordPress as a fluid medium of digital expression rather than a mere collection of files and functions.

Download ver 1.2
http://www.mediafire.com/?nzjvydnmztk

 

12 plugins hữu ích liên kết với Facebook cho wordpress

Facebook là một trong những mạng xã hội phổ biến nhất hiện nay. Có rất nhiều các thông tin trao đổi hàng ngày thông qua facebook. Vì vậy, một số blogger bắt đầu chú ý đến facebook ( từ lâu rồi ^^ ) và xem nó như một phương tiện để thúc đẩy việc chia sẻ với bạn bè của họ.
Nếu bạn là 1 blogger sử dụng wp thì có lẽ bạn đang tìm kiếm cho wp 1 plugin để kết nối, tích hợp và chia sẻ với facebook. Ở bài này, tôi xin giới thiệu 12 plugins có thể sẽ hữu ích với bạn trong việc làm việc với facebook ^^

1. Add to Facebook:

- Là một plugin đơn giản sẽ thêm vào liên kết dưới cùng của bài viết, để bạn bè có thể dễ dàng trong việc chia sẻ bài viết với bạn bè của họ trên internet. Cài đặt và active bình thường, sau mỗi bài viết của bạn sẽ có text Share on Facebook và link có dạng http://www.facebook.com/share.php?u=http://hapm.info/2009/10/plugins-lien-ket-wordpress-facebook/ ^^ <<- /me xài cái này

2. Facebook Dashboard Widget:

- Plugin này sử dụng chức năng widget của wordpress để kéo và hiển thị tình trang facebook của bạn bè, đăng bài của bạn và các thông báo tại dashboard wordpress của bạn. Bằng cách sử dụng plugin này, bạn có thể đọc tất cả các bản cập nhập mà không cần đăng nhập vào tài khoản facebook của bạn ^^ <<<— rất hợp với thằng lười như /me

3. JanRain RPX:

- Cho phép trang web của bạn chấp nhận đăng nhập thông qua các phương pháp khác nhau, bao gồm Facebook Connect, Google, Yahoo, Twitter, MySpaceID, AOL, Windows Live ID và OpenID. Sau khi cài đặt plugin này, khách ghé thăm có thể đăng nhập và cho ý kiến vào blog của bạn thông qua các nhà cung cấp trên, và bên cạnh mỗi comment sẽ có biểu tượng của nhà cung cấp.

4. Facebook Posted Items:

- Cho phép bạn hiển thị từ facebook những bài đăng của bạn. Việc lấy bài đăng nằm trong danh sách có thứ tự và bạn có thể thay đổi dễ dàng. Trang tùy chỉnh của plugin cho bạn thấy làm thế nào để liên kết với Facebook để đăng bài.

5. Wordbook:

- Cho phép người dùng blog wp để đưa cập nhập của bạn lên mini-feed trên tài khoản Facebook. Để sử dụng plugin này, cần liên kết blog wp với tài khoản facebook

6. Facebook/Twitter Status Update:

- Tự động cập nhập lên Facebook status/ Fan Page/ Group Page/ Twitter khi có bài mới đăng.

7. Gigya Socialize:

- Cho phép bạn xác thực người dùng thông qua Facebook Connect, MySpaceID, Twitter, Google, Yahoo và AOL. Ngoài ra, bạn có thể cập nhập trang web lên mạng xã hội để mời bạn bè ghé thăm blog của bạn. Sau khi kích hoạt, cần đến trang web của Gigya để nhận được API key và Secret Key để sử dụng.

8. WP-FacebookConnect:

- Thêm vào chức năng của wp bằng cách sử dụng Facebook Connect. Nó cho phép đăng nhập với tài khoản Facebook, đưa các nhận xét cho feed, sử dụng hình ảnh cá nhân của Facebook hiển thị trên các avatar ( nghe na ná gravatar nhỉ ^^ ).

9. QuailPress:

- Cho phép thêm 1 nút để khách ghé thăm có thể dễ dàng chia sẻ những câu chuyện, bài viết của bạn trên tài khoản Facebook của họ ( giống Add to Facebook quá ^^ ).

10. Fotobook:

- Cho phép người sử dụng liên kết đến các tài khoản Facebook của họ và hình ảnh để sử dụng những hình ảnh đó trong bài viết vào blog của họ. Với plugin này, người dùng có thể nhập và sử dụng hình ảnh từ Facebook và hiển thị nó ở sidebar.
- Lưu ý: plugin này chưa làm việc với WordPress 2.8 ^^.

11. Facebook Fanbox:

- Plugin này cho phép người sử dụng Facebook thêm 1 Fan Box trên blog. Fan Box sẽ được hiển thị như một widget bên. Để sử dụng plugin này, chỉ cần tạo 1 trang fan hâm mộ tại Facebook, sử dụng khóa API và Profile Id để sử dụng

12. Feed Facebook, Leave Facebook:

- Plugin này sẽ tạo một nguồn cấp dữ liệu riêng biệt cho Facebook. Nếu bạn không thích cách xử lý feed của bạn, bạn có thể sử dụng plugin này để tạo ra nguồn feed riêng cho facebook

© 2012 Hapm's Blog Suffusion theme by Sayontan Sinha