I'm creating a plugin for wordpress, the plugin only works on the back end.
When I try to use phpgrid only shows me the json object.
In my first line of my plugin I'm writing this:
include (".. / wp-content / plugins / pluginHojaAtencion / new-technician / lib / inc / jqgrid_dist.php");
But when I see the source code of this line is after the. Js and css includes default wordpress.
You know any way to fix this.
Because according to what I read in the forums you request to include include (".. / Wp-content / plugins / pluginHojaAtencion / new-technician / lib / inc / jqgrid_dist.php") before an echo.
For wordpress integration, you need to use 2 actions.
// load core lib and set grid $out variable (global)
// load js and css files
add_action( "wp_head", "load_jqgrid" );
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?