New answers tagged fatal-error
Your tryout.php has a posts loop in it, and you're calling that file inside another loop. Loops squared. I expect your content is not actually structured in this way?
The CSS for my parent theme (core) was incorrectly formatted. The code at the top read: Theme Name: Core Theme URI: http://www.domain.co.uk Description: The core theme. Author: Squideyes Author URI: http://www.domain.co.uk Template: Core Version: 1.0.0 Tags: clean, simple, easy The Template: tag should only appear in the child theme css. This is what ...
You can try to use functions.php to handle the form submission and send the data via AJAX. Add a hidden field in your form with the action to be taken (on functions.php): <input type="hidden" name="action" value="save_contact"/> In you footer.php add the jQuery code to handle the AJAX request: jQuery('#your-form').submit(ajaxSubmit); function ...
simply looks wrong that it uses dirname twice try /** Load WordPress Bootstrap */ require_once( dirname( FILE ) . '/wp-load.php' ); instead
Top 50 recent answers are included