- This topic has 2 replies, 2 voices, and was last updated 6 years, 10 months ago by .
- The topic ‘Centric Pro AJAX request(s)’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
You are trying to load php files into an HTML document. PHP executes on the server, not in the client. For PHP files, you have to include them in functions.php. Assuming twitter is a subdirectory of your child theme, you would only have to add this to functions.php:
include_once( get_stylesheet_directory() . '/twitter/index.php' ); include_once( get_stylesheet_directory() . '/twitterAPIExchange.php' );
© 2023 WPEngine, Inc.