Call to undefined function issue
I know there are other, maybe better ways to do what I want to achieve, but I have to use this solution. I … Read more
I know there are other, maybe better ways to do what I want to achieve, but I have to use this solution. I … Read more
This question already has answers here: Closed 9 years ago. Possible Duplicate: Using WordPress functions on other sites I have an external script … Read more
This is tricky, as people usually mix wp-load with AJAX and I can’t really find a proper answer. Case 1 I have a … Read more
I think load-(page) is the first hook in the admin screen that deals with outputting HTML, but I’m not totally sure. Basically I’m … Read more
I use wp_enqueue_style to add my stylesheet, like this: <?php wp_enqueue_style( ‘theme-style’, get_template_directory_uri() . ‘/style.php’, false, ‘1.0’, ‘all’ ); ?> It works fine … Read more
I’ve been working very hard to get PHPUnit to play nice with WordPress (with the help of this, this, this, this, and this), … Read more
I have a PHP page at the same level as the template/theme on WordPress. I need to be able to get the current … Read more
I have a standalone PHP script in my WordPress theme’s directory that I run once every hour through a cron job (or manually … Read more
I am trying to understand how hook methods work in WordPress. I understand that when do_action is called WP looks for all registered … Read more
I am setting up a few sections of a website external to the core wordpress installation, but I still want to use the … Read more