Yoast SEO
Using Blog Template on OptimizePress + Yoast SEO plugin = displays (1 post)

  1. robrave
    Posted 4 years ago #

    Wordpress 3.4.1
    OptimizePress 1.5
    WordPress SEO 1.2.5 by Joost de Valk

    Created a page named as 'Blog' using the template "Blog Template".

    It works fine while the SEO plugin is deactivated. There's a list of posts.

    Once the SEO plugin is activated, the area where the posts are supposedly listed is now blank.

    After playing around, I found out the cause.

    I used print_r to display the query_posts args array. Here's what I found out:

    With SEO plugin activated:
    Array ( [author] => 5 [post_date] => DESC [cat] => -0 [paged] => 1 )

    With SEO plugin deactivated:
    Array ( [author] => [post_date] => DESC [cat] => -0 [paged] => 1 )

    [author] was set like this, 'author' => get_the_author_meta( 'ID' )

    Please fix the plugin, as a temporary solution, I set author to blank while it is activated.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic