Friday, June 10, 2011

Tips for Wordpress

  1. When WP is configured to use permalink, WP will create a .htaccess file in its root directory which uses the mod_rewrite module to rewrite an url. In this case, make sure that your Apache is configured to allow override by the sub-configs located in the document root.
  2. Custom post type
    http://codex.wordpress.org/Post_Types#Custom_Types
    Five types of post: post, page, attachment, revisions, nav menus
  3. Template Hierarchy
    http://codex.wordpress.org/Template_Hierarchy
  4. Wordpress Query
    http://codex.wordpress.org/Query_Overview
    http://codex.wordpress.org/Function_Reference/query_posts
    http://codex.wordpress.org/Class_Reference/WP_Query
    http://codex.wordpress.org/Function_Reference/get_posts
  5. Change the default Wordpress notification mail subject:
    http://www.yakupgovler.com/we-change-wordpresssitenamecom.html
  6. Hide Menu items from user based on user's role
    http://www.tomauger.com/2011/web-development/wordpress/wordpress-hiding-menu-items-from-users-based-on-their-roles-using-a-custom-walker
  7. What is Hook, Action and Filter?
    http://codex.wordpress.org/Plugin_API
  8. Debugging in Wordpress
    http://codex.wordpress.org/Debugging_in_WordPress

No comments:

Post a Comment