1. Make use of wp_enqueue_script function for your scripts & styles
wp_enqueue_script function allows you to load a script or a library and ensures that you load one copy only.
2. Cache your stuff
Transients API allow you to store options for a short amount of time. You can cache an entire query on it. If your site is updated once a day, you can set a transient expiring every 12h or even less.
4.you should know your feeds
Here are some good feeds that you can use:
• Main – yoursite.com/feed
• Main comments – yoursite.com/comments/feed
• Post comments – yoursite.com/post-name/feed
• Categories– yoursite.com/category/yourcategoryname/feed
5. Optimize your DB every once in a while
You can optimize your MySQL tables using a plugin or manually to reduce DB size and make sure all the queries are working.
6. Know that there is a plugin for almost everything you might be looking for
You can always improve your site using plugins, such as CSS and JS minifying plugins, caching plugins, DB optimization plugins, etc..
Tips for WordPress Developers
1. Make use of wp_enqueue_script function for your scripts & styles
wp_enqueue_script function allows...
wordpress tips
Also tagged with one or more of these keywords: wordpress tips
Web Design →
CMS →
WordPress tipsStarted by SmartWeb, 24 Feb 2013 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users