Profiles

  • Member Since: July 16th, 2019
  • Find me on:
  • Created a topic, In WordPress, how can I get the error log to see a postID of a page on the load, on the site WordPress.org Forums:
    I have tried using get_the_ID(), global $post; error_l…

  • Created a topic, Make proxy call to PHP function, one time without a parameter, one time with?, on the site WordPress.org Forums:
    So in Wordpress, I have a hook for an ajax action, tha…

  • Posted a reply to Getting the sample permalink to print to error_log, on the site WordPress.org Forums:
    I’ve tried I’ve done: $printedURL = get_sample_permalink_html($post); error_log(print_r($printedURL,true)); $printedURL2 = wp_ajax_sample_permalink(); error_log(print_r($printedURL2,true)); require_once( ABSPATH .…

  • Created a topic, Getting the sample permalink to print to error_log, on the site WordPress.org Forums:
    I’m trying to write a plugin, and as I develop, …

  • Posted a reply to How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    @bcworkz I still got nothing.

  • Posted a reply to How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    alright, so now my code gives me a 400 error when I try to submit…

  • Posted a reply to How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    Hi @bcworkz, I see nothing in my error log. Are you saying it should go…

  • Posted a reply to How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    @bcworkz I’ve tried putting what you’ve put in my code and nothing new shows up…

  • Posted a reply to How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    @bcworkz can you show me how I might do this in code, now that I’ve…

  • Posted a reply to How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    my php code is function my_action_javascript() { ?> <script type=”text/javascript” > jQuery(document).ready(function($) { var data…

  • Posted a reply to How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    @bcworkz where do I write/define the ajaxurl?

  • Posted a reply to How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    @bcworkz with the code I’ve provided, what might what I need to do look like?

  • Posted a reply to How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    @bcworkz the remote server than the logged in WP user needs to send data to…

  • Posted a reply to How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    the remote server does need a password. Php code needs to interface with that server.

  • Posted a reply to How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    @bcworkz the authentication deets should not need to be entered for the remote server. The…

  • Created a topic, How can I write hook that receives AJAX call from button click?, on the site WordPress.org Forums:
    I have written a WordPress plugin which places several…

  • Posted a reply to How can I enqueue a script that I need to be type=’module’?, on the site WordPress.org Forums:
    So now I have: function meta_box_setup() { add_action( ‘add_meta_boxes’, __NAMESPACE__ . ‘\add_meta_box’ ); add_action( ‘save_post’,…

  • Posted a reply to How can I enqueue a script that I need to be type=’module’?, on the site WordPress.org Forums:
    @bcworkz thank you; can you give me a code snippet (relative to the code I’ve…

  • Posted a reply to How can I enqueue a script that I need to be type=’module’?, on the site WordPress.org Forums:
    the way I’m trying to load the scripts, not working, is this: `wp_register_script(‘Module1’, ‘/wp-content/plugins/my-plugin/js/submitandcreate.js’); wp_register_script(‘Module2’,…

  • Posted a reply to How can I enqueue a script that I need to be type=’module’?, on the site WordPress.org Forums:
    I’m confused tho, @bcworkz how then script_loader_tag should be called in the context of the…

  • Created a topic, How can I enqueue a script that I need to be type=’module’?, on the site WordPress.org Forums:
    I have several Javascript files that I need to be in t…

  • Created a topic, Cannot get my Javascript objects to load into post edit page, on the site WordPress.org Forums:
    I am trying to make a plugin on the edit-post page in …

  • Created a topic, Cannot get my Javascript objects to load into post edit page, on the site WordPress.org Forums:
    I am trying to make a plugin on the edit-post page in …

  • Created a topic, How to use WordPress to access an LDAP server, on the site WordPress.org Forums:
    I have a Wordpress site where there is an admin site t…

  • Created a topic, How to force tag in Quick Edit, on the site WordPress.org Forums:
    My Wordpress admin currently has a quick edit option b…

  • Posted a reply to 404 error for the Javascript file on WP 5.1.1, on the site WordPress.org Forums:
    of course, if I run the JS in the console, then it all works. I've…

  • Created a topic, 404 error for the Javascript file on WP 5.1.1, on the site WordPress.org Forums:
    it appears that the PHP code works, but in the console…

  • Posted a reply to Not compatible with Gutenberg, on the site WordPress.org Forums:
    @ivaseg I find it tough to relax; I need this for my site. That being…

  • Posted a reply to Not compatible with Gutenberg, on the site WordPress.org Forums:
    also, on 5.1.1, it doesn't work

  • Created a topic, Doesn’t work on version 5.1, on the site WordPress.org Forums:
    at least in terms of hiding the button. Plz fix alread…