Enter Amount:

Login Form






Lost Password?
No account yet? Register
Discussions
Welcome, Guest
Please Login or Register.    Lost Password?
Debugging shortodes and posts with wp-pear-debug (0 viewing) 
Wordpress plugin discussions
Go to bottom Post Reply Favoured: 0
TOPIC: Debugging shortodes and posts with wp-pear-debug
#217
admin (Admin)
Admin
Posts: 76
graph
User Online Now Click here to see the profile of this user
Debugging shortodes and posts with wp-pear-debug 5 Months ago Karma: 2  
The following is an example of how you can use the wp-pear-debug plugin to debug your shortcodes and posts.

If you didn't already know the plugin allows you to output anything to the debugger by using the following within your wordpress post:



This is my wordpress post with random information
Will not appear in actual post ->[wp_pear_debug]foo bar[/wp_pear_debug]

Will not appear in actual post ->[wp_pear_debug foo="bar" foo1="bar2"]
More random information in my sample wordpress post.



The above shortcodes will yield the following results:

 
Report to moderator   Logged Logged  
 
Last Edit: 2010/04/04 22:48 By admin.
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Debugging shortodes and posts with wp-pear-debug
admin 2010/04/04 22:37
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop