Tagged: x
-
AuthorPosts
-
May 24, 2016 at 7:10 am #1007077
Reachout-GlobalParticipantHello,
I’m getting a parse error message after making some changes in the child theme folder
Parse error: syntax error, unexpected ‘<‘ ………………./wp-content/themes/x-child/functions.php on line 26
Could you please help?Thank you
May 24, 2016 at 7:21 am #1007089
ChristopherModeratorHi there,
Please share the code you have in functions.php file so we can take a closer look.
Thanks.
May 24, 2016 at 7:41 am #1007135
Reachout-GlobalParticipantThank you for the prompt reply.
I can’t even log in back to my wordpress. I was trying to modify my search results page and copied this to my child theme folder:
<?php
// =============================================================================
// VIEWS/INTEGRITY/WP-INDEX.PHP
// —————————————————————————–
// Index page output for Integrity.
// =============================================================================?>
<?php get_header(); ?>
<div class=”x-container-fluid max width offset cf”>
<?php if ( is_search() ): ?>
<div class=”x-main full” role=”main”>
<?php else: ?>
<div class=”<?php x_main_content_class(); ?>” role=”main”>
<?php endif ?><?php x_get_view( ‘global’, ‘_index’ ); ?>
</div>
<?php if ( !is_search() ): ?>
<?php get_sidebar(); ?>
<?php endif ?></div>
<?php get_footer(); ?>
May 24, 2016 at 8:05 am #1007185
ChristopherModeratorHi there,
Please update your code to :
<?php // ============================================================================= // VIEWS/INTEGRITY/WP-INDEX.PHP // —————————————————————————– // Index page output for Integrity. // ============================================================================= ?> <?php get_header(); ?> <div class="x-container max width offset cf"> <?php if ( is_search() ): ?> <div class="x-main full" role="main"> <?php else: ?> <div class="<?php x_main_content_class(); ?>" role="main"> <?php endif; ?> <?php x_get_view( 'global', '_index' ); ?> </div> <?php if ( !is_search() ): ?> <?php get_sidebar(); ?> <?php endif; ?> </div> <?php get_footer(); ?>Hope it helps.
May 25, 2016 at 12:04 am #1008505
Reachout-GlobalParticipantThis reply has been marked as private.May 25, 2016 at 12:59 am #1008560
RupokMemberHi Sonu,
You don’t need to access WordPress site and it’s same for us. You need to update the code through FTP File Manager or cPanel. Let’s login with FTP and change the code.
Thanks
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1007077 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
