awpile
Forum Replies Created
-
Forum: Plugins
In reply to: [More Types] [Plugin: More Types] Wrong datatype?@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;
}Forum: Plugins
In reply to: [Plugin: Yoast WordPress SEO] Site Name not displaying on postsSolved. 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.