WordPress.org

Forums

Jetpack by WordPress.com
[resolved] Jetpack is causing content to appear above header on my site (5 posts)

  1. Healthy Family
    Member
    Posted 2 years ago #

    I had this problem with WordPress 3.4.2 and have upgraded to the latest version of wordpress. The problem remains. It is only affecting a couple of pages on my site now. Not even all the pages. It did affect all the posts as well, but now my posts are fine. I had to uninstall Jetpack to get the posts to appear normal.

    This problem is across browsers and has been present in two different templates (Twenty Ten and now Artisteer). It is most definitely a jetpack problem. I have a sandbox where I tested the new theme. On that site there is no issue with content above the header.

    The problem: All the content is written above the header. Scroll down below the header and you will see the same content properly formatted. I read on Yoast something about open graph tags. I would like to know if there is a simple line of code I can put into the php file of the template to fix this? What is the code and exactly where does it go?

    here is example: http://healthy-family.org/about/advertise/

    If you click on a few other pages they will display properly. Nothing above the header.

    I like jetpack, I really do.... But this is a headache that makes it seem like too much trouble.

    I have deactivated other plugins. The problem remains until I deactivate Jetpack.

    http://wordpress.org/extend/plugins/jetpack/

  2. Healthy Family
    Member
    Posted 2 years ago #

    I have figured out how to solve the problem while still not understanding the cause. It appears like the Yoast SEO plugin plays a role (it was not in my developmental site). What I have discovered, after putting in a line of open graph php code (suggested by Yoast), is that only *some* older, un-optimized pages are affected. Once I updated the meta tags, description, and keywords in the old page/post, the content appeared correctly. The information in the header disappeared. I have 300 pages to manually check (tedious job) to make sure all is well and I haven't missed a page.

  3. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 2 years ago #

    Jetpack now detects if the WordPress SEO plugin is active on your site, and removes all Jetpack Open Graph tags if you use WordPress SEO.

    I had a look at your site, and everything seems to be working properly now.

    Is there anything else we can do to help?

  4. agronom93
    Member
    Posted 2 years ago #

    Help, install the infinite scrolling on artisteer theme.

    <?php get_header(); ?>
    <div class="art-content-layout">
        <div class="art-content-layout-row">
            <div class="art-layout-cell art-sidebar1">
             <div class="art-layout-bg"></div>
              <?php get_sidebar('default'); ?>
              <div class="cleared"></div>
            </div>
            <div class="art-layout-cell art-content">
    			<?php
    			  get_sidebar('top');
    			  global $post;
    			  if (have_posts()){
    				while (have_posts())
    				{
    					the_post();
    					art_post_wrapper(
    						array(
    								'id' => art_get_post_id(),
    								'class' => art_get_post_class(),
    								'thumbnail' => art_get_post_thumbnail(),
    								'title' => '<a href="'.get_permalink($post->ID).'" rel="bookmark" title="'.get_the_title().'">'.get_the_title().'</a>',
    								'before' => art_get_metadata_icons('date,author,edit', 'header'),
    								'content' => art_get_excerpt(), // 'content' => 'My post content',
    								'after' => art_get_metadata_icons('category,tag,comments', 'footer')
    						)
    					);
    				}
    				// previous_posts_link | next_posts_link
    			  } else {
    				art_post_wrapper(
    					array(
    							'title' => __('Not Found', THEME_NS),
    							'content' => '<p class="center">'
    							.__( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', THEME_NS)
    							. '</p>' . "\r\n" . art_get_search()
    					)
    				);
    			  }
    			  get_sidebar('bottom'); 
    
    			?>
              <div class="cleared"></div>
            </div>
        </div>
    </div>
    <div class="cleared"></div>
    <?php get_footer();
  5. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 2 years ago #

    @agronom93 You can follow the instructions on this page to add Infinite Scroll to your theme:
    http://jetpack.me/support/infinite-scroll/

    If you experience issues, please start a new thread with your issues. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic