Tagged: x
-
AuthorPosts
-
December 9, 2016 at 7:37 pm #1288011
keschuettlerParticipantI was trying to add some meta tag to the functions.php in the theme editor for a child tag. Now getting
Parse error: syntax error, unexpected '<', expecting end of file in /home/kendri25/public_html/wp-content/themes/x-child/functions.php on line 22Undid everything so that the code was
<?php // ============================================================================= // FUNCTIONS.PHP // ----------------------------------------------------------------------------- // Overwrite or add your own custom functions to X in this file. // ============================================================================= // ============================================================================= // TABLE OF CONTENTS // ----------------------------------------------------------------------------- // 01. Enqueue Parent Stylesheet // 02. Additional Functions // ============================================================================= // Enqueue Parent Stylesheet // ============================================================================= add_filter( 'x_enqueue_parent_stylesheet', '__return_true' ); // Additional Functions // =============================================================================No dice. Can’t get it to stop throwing that error.
December 9, 2016 at 10:56 pm #1288118
FriechModeratorHi There,
Thanks for writing in! Is that the only code you have on the functions.php file? I am not seeing any error on that.
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1288011 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
