WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Conflict with Origami Theme Options panel (6 posts)

  1. nothin7
    Member
    Posted 1 year ago #

    WordPress version: 3.4
    WordPress SEO version: 1.2.2

    I did this: activated the WP SEO plugin with Origami them activated (http://origami.gothemeteam.com/)

    I expected the plugin to do this: Not mess up the layout of the Origami Options WP admin panel. I emailed theme support and they told me to contact the plugin developer, since the issue only occurs with this particular plugin.

    Instead it did this: Added the following strange characters and new lines below the options tabs (copied exactly):

    1
    i

    %

    2

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

  2. Sheharyar
    Member
    Posted 1 year ago #

    1. Open wp-content/themes/[your-theme]/header.php in a text-editor
    2. Find this:

    <title><?php *bunch of code* ?></title>

    and replace it with

    <title><?php wp_title(''); ?></title>

    3. Save it.

    and you're done!

  3. nothin7
    Member
    Posted 1 year ago #

    My title tags already look like the latter in header.php. Must be something else.

  4. kjphpdev
    Member
    Posted 1 year ago #

    The problem is that both Yoast and Origami are using the same global variable.

    They are both using "options" to store data globally.

    The way I fixed it in mine (and yes I know this was incredibly lazy and I should have though of something more elegant but I'm in a rush, I may revisit it later) is this:

    Add "strlen($value['type']) > 1" to the if statement at around line 473 in the file functions.php in your Origami theme folder.

    This (for the time being) excludes all the Yoast options because none of them have a type of other than 1 character in length, and still catches all the Origami options because they all have a type of greater than one character in length.

    if ( $value['type'] <> "heading"
    &&  $value['type'] != "subsection"
    &&  $value['type'] != "editor"
    && strlen($value['type']) > 1) { // THIS IS THE IMPORTANT LINE
    ?>
    	<br/><span><?php echo $value['description']; ?></span>
    	</td></tr>
    <?php
    }
  5. nothin7
    Member
    Posted 1 year ago #

    Thanks kjphpdev!

  6. Burke Ingraffia
    Member
    Posted 1 year ago #

    I am having a problem with using Elegant Themes (all of them) and the Yoast SEO plugin.

    When I go to a post or page edit screen in wp-admin I am not allowed to toggle the Yoast panel to the open position. It stays closed unless I change the theme back to TwentyEleven or any other.

    I am having this problem using the themes named Trim and Nova specifically.

    Does anyone know of a way to fix this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic