Jump to content

  • Free consultations and support
  • Live chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams


Tips for WordPress Developers

wordpress tips

  • Please log in to reply
 

#1 SmartWeb

SmartWeb

    Senior Member

  • Designer
  • 271 posts

Posted 18 June 2013 - 04:06 PM

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..





Also tagged with one or more of these keywords: wordpress tips

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users