Joshua Russak
Forum Replies Created
-
For some strange reason, when I go to Dashbboard>Site Stats it says “Already Installed: You appear to have already installed WordPress. To reinstall please clear your old database tables first.” yet I didn’t do anything?
Thoughts?
-Red
Forum: Fixing WordPress
In reply to: How to add Categories AND pages to navigation bar?CORRECTION: The theme has been recently updated. As a result, here’s the new fix:
Find
mystique_list_pages(array(‘exclude’ => get_mystique_option(‘exclude_pages’), ‘sort_column’ => ‘menu_order’));
and paste before the endif;?> the following…
mystique_list_categories(array(‘hide_empty’ => false, ‘exclude’ => get_mystique_option(‘exclude_categories’)));
Forum: Fixing WordPress
In reply to: How to add Categories AND pages to navigation bar?That solution doesn’t work with the way Mystique set up its navigation.
Simply put, if you want to display both PAGES and CATEGORIES, it takes 2 steps:
STEP 1: Go to Mystique Settings > Navigation and set “Top Navigation Shows” to Pages. Click SaveSTEP 2: Go to Header.php file and find the following…
echo preg_replace(‘@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i’, ‘<li$1><span class=”title”>$3</span><span class=”pointer”></span>‘, wp_list_pages(‘echo=0&orderby=name&title_li=&exclude=’.get_mystique_option(‘exclude_pages’))); endif;?>
Right before the “endif;?>” paste in the following code…
echo preg_replace(‘@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i’, ‘<li$1><span class=”title”>$3</span><span class=”pointer”></span>‘, wp_list_categories(‘show_count=0&echo=0&title_li=&exclude=’.get_mystique_option(‘exclude_categories’)));
That should work. Good luck!
Forum: Fixing WordPress
In reply to: [Plugin: WordPress Automatic upgrade] how to upgrade TO 2.7How do I upgrade automatically from WordPress 2.7 to the newer versions coming out (ie: 2.7.1)?