WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
update to 1.2.8.7 and blog page doesn't work anymore -.- (4 posts)

  1. teoeva
    Member
    Posted 1 year ago #

    WordPress version: 3.4.2
    WordPress SEO version: 1.2.8.7

    *** before the update all used to work fine ***

    I did this: i just uploaded Ypast - WP SEO plugin

    I expected the plugin to do this: i have a custom "blog" page (i've created a template and a blog.php file) which show posts under a precise category in a page (and not in the home)

    Instead it did this: now, if I turn Yoast WP SEO on, i can't see my page as a blog, but i see only the blank page i use to show my custom blog page... i have to turn the plugin off to see my posts again...

    here's my blog.php code

    PLEASE HELP ME!!!!

    <!-- pagina creata da matteo per creare le blog page, copiata da index.php -->
        <!-- creata in base a http://www.wpbeginner.com/wp-tutorials/how-to-create-a-separate-page-for-blog-posts-in-wordpress/ -->
    
        <?php /* Template Name: Blog */ ?>
    
        <?php get_header(); ?>
        <?php  if (is_category(get_option('boldy_portfolio')) || post_is_in_descendant_category( get_option('boldy_portfolio'))){?>
        <?php include (TEMPLATEPATH . '/portfolio.php'); ?>
        <?php } else {?>
                        <!-- Begin #colLeft -->
                        <div id="colLeft">
                        <!-- Begin .leftBox-->
                        <div class="leftBox">
                        <!-- archive-title -->
                                                        <?php if(is_month()) { ?>
                                                        <div id="archive-title">
                                                        Browsing articles from "<strong><?php the_time('F, Y') ?></strong>"
                                                        </div>
                                                        <?php } ?>
                                                        <?php if(is_category()) { ?>
                                                        <div id="archive-title">
                                                        Browsing articles in "<strong><?php $current_category = single_cat_title("", true); ?></strong>"
                                                        </div>
                                                        <?php } ?>
                                                        <?php if(is_tag()) { ?>
                                                        <div id="archive-title">
                                                        Browsing articles tagged with "<strong><?php wp_title('',true,''); ?></strong>"
                                                        </div>
                                                        <?php } ?>
                                                        <?php if(is_author()) { ?>
                                                        <div id="archive-title">
                                                        Browsing articles by "<strong><?php wp_title('',true,''); ?></strong>"
                                                        </div>
                                                        <?php } ?>
                                                <!-- /archive-title -->
    
                                                <?php
                                                $temp = $wp_query;
                                                $wp_query= null;
                                                $wp_query = new WP_Query();
                                                $wp_query->query('category_name=notizie'.'&posts_per_page=5'.'&paged='.$paged);
    											query_posts( array ( 'posts_per_page' => 5 ) ); //call only posts under "notizie" category
    											wp_reset_query();
                                                while ($wp_query->have_posts()) : $wp_query->the_post();
                                                ?>
    
                        <!-- Begin .postBox -->
                        <div class="postItem">
    
                         <h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
                         <div class="meta">
                              <?php the_time('M j, Y') ?> &nbsp;&nbsp;//&nbsp;&nbsp; by <span class="author"><?php the_author_link(); ?></span> &nbsp;&nbsp;//&nbsp;&nbsp;  <?php the_category(', ') ?>  &nbsp;//&nbsp;  <?php comments_popup_link('No Comments', '1 Comment ', '% Comments'); ?>
                         </div>
    
         				 <!-- managing "more" tag -->
                        <?php global $more; $more = FALSE; ?>
                        <?php the_content('Questo articolo continua. Leggi tutto...'); ?>
                        <?php $more = TRUE; ?>
    
                        </div>
    
                        <!-- End .postBox -->
    
                        <?php endwhile; ?>
    
                    <?php $wp_query = null; $wp_query = $temp;?>
    
                                <?php if (function_exists("emm_paginate")) {
                                        emm_paginate();
                                } ?> 
    
     <!-- managing "last news" resumes list -->
            <h3>Le ultime Notizie</h3>
            <ul>
             <?php
              $temp = $wp_query;
    $wp_query= null;
    $wp_query = new WP_Query();
    $wp_query->query('category_name=notizie'.'&showposts=8'.'&paged='.$paged);
    ?>
    <?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
    	<li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li>
    <?php endwhile; ?>
    </ul>
    <div class="navigation">
      <div class="alignleft"><?php previous_posts_link('&laquo; Precedenti') ?></div>
      <div class="alignright"><?php next_posts_link('Successivi &raquo;') ?></div>
    </div>
    <?php $wp_query = null; $wp_query = $temp;?>
    
                                <!-- finisce qui-->
                            </div>
                        <!-- End .leftBox-->
         </div>
                        <!-- End #colLeft -->
        <?php get_sidebar(); ?>
        <?php }?>
        <?php get_footer(); ?>

    Demo

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. bonnar
    Member
    Posted 1 year ago #

    I have the same sort of problem!... No one's helping :(

    WordPress version: 3.4.2
    WordPress SEO version: 1.3.1.1
    Front page displays: Your latest posts (not a static page)

    Since installing WordPress SEO my Blog page is completely blank - when I deactivate the plugin, the posts return.

    Is there a tick-box I need to alter?

    http://bodybarn-salon.co.uk/blog/

    http://wordpress.org/extend/plugins/wordpress-seo/

  3. wolochowicz
    Member
    Posted 1 year ago #

    Same problem, Error 404 with the newest update of WordPress SEO, can't see my slideshow galleries pages. When off this plugin whole page come back to work as usually.

  4. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    I'll need some, or all of you, to enable WP_DEBUG and give me an error, I just can't work off of just an "it doesn't work" error...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic