- This topic has 13 replies, 2 voices, and was last updated 5 years, 10 months ago by Skandha.
-
AuthorPosts
-
November 28, 2018 at 2:41 pm #160349huskerParticipant
I got two errors today in my Child CSS Sheet after upgrading Parent Theme to Version 2.7.
expected (<margin-width> | <content-sizing>)
but found ‘header image height goes here’.Expected RBRACE at line 1400. col 47.
Also Expected RBRACE at line 1611, col 31.
What happened?
Brian
November 28, 2018 at 11:22 pm #160369SkandhaParticipant@husker: Please post in your site URL so that I can look into the issue.
Kind Regards,
SkandhaNovember 29, 2018 at 12:59 am #160370huskerParticipantI upgraded to 2.7 this morning and My Child Theme Home Page Broke. I use a 3 column home page in Child Theme. It seems to break on javascript code.
My Facebook script and RSS News Feeds all did not work as well as some other items.
Tonight I deleted 2.7 Main Theme and reinstalled a back-up folder from 2017 of the 2.6 and now my site works again.
There is am issue with the 2.7 upgrade.
bayareahuskers.org
November 29, 2018 at 2:21 pm #160426huskerParticipantDo you need me to re-install 2.7 so you can see what happens? I do have the 2.6.3 version saved as a back-up.
Brian
December 2, 2018 at 11:23 pm #160590SkandhaParticipant@husker: Can you reinstall to 2.7 and check if the issue reoccurs. Also backup your current theme while updating to 2.7
Let me know if the issue persists.
Kind Regards,
SkandhaDecember 6, 2018 at 1:33 am #160933huskerParticipantOK i updated again to 2.7 and Upgrade breaks the Home page.
My countdown clock is not showing. Facebook and RSS news Feeds are broke.
Check it out.
I will delete and reinstall 2.6.3 in the morning 7:00 CA time.
Brian
December 6, 2018 at 4:59 pm #160997huskerParticipant
Here are some images of what it looked like when I upgraded to 2.7.
I have put 2.6.3 back.
Brian
December 7, 2018 at 5:04 am #161036SkandhaParticipant@husker: I will need to login to your site and check for the issue. For that I will need your WP admin credentials. I will contact you shortly by email.
Kind Regards,
SkandhaJanuary 6, 2019 at 12:09 pm #162976huskerParticipantWas this error corrected in Version 2.7.1?
Brian
January 8, 2019 at 11:15 am #163138SkandhaParticipant@husker: Hello Brain,
I will need to check your admin settings to check the issue you are having. For that I will need your WP login credentials. I will contact you shortly by email.Kind Regards,
SkandhaJanuary 11, 2019 at 1:03 am #163304huskerParticipantI did respond to your email and waiting to see what you discover, so I can delete 2.7.1 and go back to 2.6 which I know works.
Brian
January 15, 2019 at 2:23 am #163534SkandhaParticipant@husker: The issue you are having with the facebook and rss not showing up in featured content section is because of Updated Content delivered through the_content filter for security reason which has been made in 2.7 version.
For this you will need to add a bit of code to your child theme.
Go to => Child Theme Folder => functions.php and add the following Code.function catchresponsive_page_content( $options ) { global $post; $quantity = $options['featured_content_number']; $more_link_text = $options['excerpt_more_text']; $show_content = $options['featured_content_show']; $catchresponsive_page_content = ''; $number_of_page = 0; // for number of pages $page_list = array(); // list of valid pages ids //Get valid pages for( $i = 1; $i <= $quantity; $i++ ){ if ( isset ( $options['featured_content_page_' . $i] ) && $options['featured_content_page_' . $i] > 0 ){ $number_of_page++; $page_list = array_merge( $page_list, array( $options['featured_content_page_' . $i] ) ); } } if ( !empty( $page_list ) && $number_of_page > 0 ) { $loop = new WP_Query( array( 'posts_per_page' => $number_of_page, 'post__in' => $page_list, 'orderby' => 'post__in', 'post_type' => 'page', )); $i=0; while ( $loop->have_posts()) : $loop->the_post(); $i++; $title_attribute = the_title_attribute( array( 'before' => __( 'Permalink to: ', 'catch-responsive' ), 'echo' => false ) ); $excerpt = get_the_excerpt(); $catchresponsive_page_content .= ' <article id="featured-post-' . $i . '" class="post hentry featured-page-content">'; if ( has_post_thumbnail() ) { $catchresponsive_page_content .= ' <figure class="featured-homepage-image"> <a href="' . esc_url( get_permalink() ) . '" title="'.the_title( '', '', false ).'"> '. get_the_post_thumbnail( $post->ID, 'catchresponsive-featured-content', array( 'title' => $title_attribute, 'alt' => $title_attribute, 'class' => 'pngfix' ) ) .' </a> </figure>'; } else { $catchresponsive_first_image = catchresponsive_get_first_image( $post->ID, 'catchresponsive-featured-content', array( 'title' => $title_attribute, 'alt' => $title_attribute, 'class' => 'pngfix' ) ); if ( '' != $catchresponsive_first_image ) { $catchresponsive_page_content .= ' <figure class="featured-homepage-image"> <a href="' . esc_url( get_permalink() ) . '" title="'.the_title( '', '', false ).'"> '. $catchresponsive_first_image .' </a> </figure>'; } } $catchresponsive_page_content .= ' <div class="entry-container"> <header class="entry-header"> <h2 class="entry-title"> <a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . the_title( '','', false ) . '</a> </h2> </header>'; if ( 'excerpt' == $show_content ) { $catchresponsive_page_content .= '<div class="entry-excerpt"><p>' . $excerpt . '</p></div><!-- .entry-excerpt -->'; } elseif ( 'full-content' == $show_content ) { $content = apply_filters( 'the_content', get_the_content() ); $content = str_replace( ']]>', ']]>', $content ); $catchresponsive_page_content .= '<div class="entry-content">' . $content . '</div><!-- .entry-content -->'; } $catchresponsive_page_content .= ' </div><!-- .entry-container --> </article><!-- .featured-post-'. $i .' -->'; endwhile; wp_reset_postdata(); } return $catchresponsive_page_content; }
Let me know if this resolves the issue you are having.
Also I have updated your theme to the latest version and backed up previous theme in Media Section.Kind Regards,
SkandhaJanuary 15, 2019 at 10:18 am #163569huskerParticipantThe code above did correct the problem.
Thank You.
Is the child Theme always going to be such an issue when it comes to Theme Updates?
Brian
January 16, 2019 at 12:35 am #163639SkandhaParticipant@husker: Now that you have added the code in your Child Theme the issue won’t arise again even when a new update is released.
I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
https://wordpress.org/support/theme/catch-responsive/reviews/#new-post
Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂Kind Regards,
Skandha -
AuthorPosts
- The topic ‘Style Sheet Errors with Version: 2.7’ is closed to new replies.