Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @trevornet’s fix also worked for me (WP 3.1.1 with two sites networked).

    Just to be clear, lines 285-292 originally look like this:

    $tax = array();
    $stax = array();
    $mytax = $more_types_settings->get_val(‘taxonomies’);
    foreach($wp_taxonomies as $taxonomy) {
    if (!trim($taxonomy->label)) continue;
    $tax[$taxonomy->name] = $taxonomy->label;
    if (in_array($taxonomy->name, $mytax)) $stax[] = $taxonomy;
    }

    You add in @trevornet’s code to line 291, pushing what’s on 291 down. So the above block of code now looks like this:

    $tax = array();
    $stax = array();
    $mytax = $more_types_settings->get_val(‘taxonomies’);
    foreach($wp_taxonomies as $taxonomy) {
    if (!trim($taxonomy->label)) continue;
    $tax[$taxonomy->name] = $taxonomy->label;
    if(!isset($mytax)) {
    $mytax = array();
    } else if(!is_array($mytax)) {
    settype($mytax, “array”);
    }
    if (in_array($taxonomy->name, $mytax)) $stax[] = $taxonomy;
    }

    Thread Starter awpile

    (@awpile)

    Solved. Now I’m embarrassed…

    Under the post-entry settings, I entered a post-specific title. This overrode the variables I setup in the WordPress SEO settings.

    Once I erased the post-specific title, the WordPress SEO settings kicked in, and post name and site name properly appeared in the page title.

Viewing 2 replies - 1 through 2 (of 2 total)