stevenswv
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Version Update Causing Fatal Error: Cannot Redeclare is_rtlFINALLY found this answer on my own. It’s a plugin issue which the following process fixed.
How to deactivate all plugins when not able to access the administrative menus?
Sometimes it may be necessary to deactivate all plugins, but you can’t access the administrative menus to do so. One of two methods are available to deactivate all plugins.Use phpMyAdmin
In the table wp_options, under the option_name column (field) find the active_plugins row
Change the option_value field to: a:0:{}
orCreate an empty plugins folder
Via FTP or your host’s control panel, navigate to the wp-contents folder (directory)
Via FTP or your host’s control panel, rename the folder “plugins” to “plugins.hold”
Via FTP or your host’s control panel, create new folder called “plugins”
Login to your WordPress administration menus
Via FTP or your host’s control panel, delete the empty “plugins” you previous created
Via FTP or your host’s control panel, rename “plugins.hold” back to “plugins”Forum: Installing WordPress
In reply to: Version Update Causing Fatal Error: Cannot Redeclare is_rtlAlso, I cannot enter the admin screen either because the same error is displayed and I host through godaddy.
Forum: Themes and Templates
In reply to: Footer Text Centering IssueHmm I’m running IE8 but the second line still looks right aligned. I will try it in another browser though. Thanks for the quick response Samboll.
Forum: Fixing WordPress
In reply to: Including and Excluding Posts on PagesOk new update…After some searching I replaced this:
<?php query_posts('category_name=bnews'); ?>Which I put in Before
<?php if (have_posts()) : ?>But after some reading I decided to use:
<?php if (is_page()) { query_posts('cat=3'); } ?>I also, changed the position so now it looks like this:
<?php if (have_posts()) : ?> <?php if (is_page()) { query_posts('cat=25'); } ?> <?php while (have_posts()) : the_post(); ?>So now the page displays the posts in the Business News category BUT the page content is now gone, which I would like to display above the posts as a page description.
Also if anyone could tell me the best way to put a maximum amount of posts displayed on the page I would appreciate it.
Thanks,
~SteveForum: Fixing WordPress
In reply to: Including and Excluding Posts on PagesOk I used this:
<?php query_posts($query_string . ‘&cat=-5’); ?>
In place of this:
<?php query_posts(‘category_name=-bnews’); ?>
To exclude the Business News category from the Blog page and that worked great! So, I replaced this:
<?php query_posts(‘category_name=’.’bnews’.get_option(‘posts_per_page’)); ?>
With this:
<?php query_posts(‘category_name=bnews’); ?>
Thinking it might do the job but it didn’t. All it did was bring back the original pages writing but there are no posts under it.
So I still can’t get the news.php template working correctly…Any Ideas?
Thanks,
~SteveForum: Fixing WordPress
In reply to: Including and Excluding Posts on PagesOk I did each of those steps and with the new template loaded the Business News page is now displaying “No Posts matched your criteria” and the Blog page is now ONLY displaying the bnews posts and no others.
I don’t know if I didn’t something wrong but I copied the code posted here into my templates so I don’t know what could be happening. I’ve left these changes on my site so they can be reviewed.
Thanks,
~SteveForum: Fixing WordPress
In reply to: Posts not displaying after setting static front pageWow that really pisses me off…I spent far too much time figuring this was a legitimate problem and not just a theme flaw!
Thanks Mike I appreciate your help!