Equivalent of admin.php for public pages

Even if admin-ajax.php and Ajax API were created to be used in ajax requests, they can be used in normal http requests with no issues, just be aware that is_admin() will be true even if user is not logged and the request is done from frontend. What you have to do is create a callback … Read more

Echo out element to another page.

Well, writing echo ninja_forms_field_submission_left_display( $field_id, $data ); into a template should do it, if $field_id and $data is correct. Creating a shortcode should be equally trivial: function field_sc_wpse_145003($atts,$content) { if (!isset($atts[‘field_id’])) return; return ninja_forms_field_submission_left_display( $atts[‘field_id’], $atts ); } add_shortcode(‘fieldfc’,’field_sc_wpse_145003′); echo do_shortcode(‘[fieldfc field_id=”abc” default_content=”def”]’);

Blocking Plugin Css to load custom in template directory

You can dequeue a style, for do that you can use wp_dequeue_style() or wp_deregister_style() To use both of them, first u need to find the handler of the style you want. Go to the plugin’s folder you wanna remove the css and search for wp_enqueue_style or the file name and locate the handler. wp_enqueue_style( ‘my-plugin-font-awesome’, … Read more

Function Error after WP Upgrade to 3.9.1

You should contact the plugin author, because plugin support is generally off topic on this site. But … I got curious, peeked into the plugin code and found this line: add_action( ‘wp_head’, array(‘dc_jqverticalmegamenu’, ‘header’) ); where the header() method is assumed static, but it’s not: function header(){ // … } That’s why this strict notice … Read more