rsgca
Forum Replies Created
-
Forum: Plugins
In reply to: [Menu Item Visibility Control] Gantry compatibilityAs per the warning,
GantryWidgetMenu::clearMenuCache()
just needs an argument.I tried an integer, an undefined variable and NULL. All seem to work to remove the warning.
So on
130
of./wp-content/plugins/menu-items-visibility-control/init.php
change
GantryWidgetMenu::clearMenuCache();
to
GantryWidgetMenu::clearMenuCache(NULL);
Forum: Plugins
In reply to: [Menu Item Visibility Control] Gantry compatibilityI too am seeing this error with Gantry 4.06 and Menu Item Visibility Control .03
Would there be something in our setup that is preventing your fix, shazdeh, in v0.3 from fixing the issue?
Forum: Fixing WordPress
In reply to: Redirecting PagesIn ver 2.6.2, I’m using the following php code to perform this redirect:
// redirect from empty category pages to first child if ( is_page( array('page-slug1', 'page-slug2')) ) { $pagekids = get_pages("child_of=".$post->ID."&sort_column=menu_order"); $firstchild = $pagekids[0]; wp_redirect(get_permalink($firstchild->ID)); }
Note that this code block should be placed at the top of your header.php file.
Forum: Installing WordPress
In reply to: 2.3 Upgrade ProblemOne more possible solution added to the mix:
My host suggested that there is a small incompatibility in 2.3.x with PHP 5.
The suggested solution: In the file wp-includes/taxonomy.php in 2.3.3, on line 11, 12 and 13 “(object)” needed to be removed before the array.
This edit solved the blank page installation issue for me. Hope this helps someone.
Forum: Installing WordPress
In reply to: I got blank page installing WP 2.3.3My host suggested that there is a small incompatibility in 2.3.x with PHP 5.
The suggested solution: In the file wp-includes/taxonomy.php in 2.3.3, on line 11, 12 and 13 “(object)” needed to be removed before the array.
This edit solved the blank page installation issue for me.