Some Tips: Use hook wp_enqeue_scripts instead wp_head
-
This prevents several issues!
Also:
- kbe_admin_style.css should only be loaded on kbe admin pages, not on all pages. It should also be loaded with wp_enqeue_style.
- The google fonts should be loaded over https or via //google.com/linkto/googlefonts.js
- Your are getting the post id with a performance lasting sql query. (using LIKE is a bad practice, especially on the post_content row which can be very large), better use the global object $post and access the id with $post->id
This so far from my side. All in all your plugin is the best one i ve found. Even the premium ones on codecanyon are not good as this one. Please keep developing it.
Thanks for sharing it.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Some Tips: Use hook wp_enqeue_scripts instead wp_head’ is closed to new replies.