Trying to add a custom plugin
-
Hi,
I’m trying add a custom plugin for a WordPress site. I’m trying to get a JSON object from a RESTful API, which I will parse and shown on the WordPress site.
I’ve been able to add the cofig page in the Settings menu in WordPress. I also have the code ready for the plugin to do the JSON parsing and other stuff. I also have call back methods defined. But I’m not sure where to call the function from within the WordPress code. I’ve called the function in single.php, post.php, content-page.php, and a few other pages. I’ve not been able to call the function.
Can somebody here tell me where exactly I have to call the function so that the actual post generated is from my function and not from the WordPress code?
The blog I need help with is: (visible only to logged in users)
-
While plugins are common on self hosted WordPress sites, due to security concerns, they are not available on WordPress.com. There is more info regarding WordPress.com and plugins here:
Also, for more information on the differences between WordPress.com and self-hosted WordPress sites, please see:
Please let me know if you have further questions or if anything is unclear.
- The topic ‘Trying to add a custom plugin’ is closed to new replies.