cjkorf
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Polls] Sometimes Works/Sometimes Doesn'tI’m still having problems with it. It works one time but not the next couple of times I try to use it.
Forum: Plugins
In reply to: [WP-Polls] Sometimes Works/Sometimes Doesn'tMy site is https://www.chiefswarpath.com. I am not using any caching plugins.
Forum: Fixing WordPress
In reply to: Search ResultsProblem fixed.
Forum: Fixing WordPress
In reply to: Search ResultsTheme Name: WordPress Naked
Theme URI: https://bealers.com/wordpress-nakedThe theme is old and I don’t think updated or supported any longer. I have used it for about 5 or 6 years and have never had any problems with it.
Here is my search form:
<div id="search"> <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> <fieldset> <input type="text" size="14" value="<?php the_search_query(); ?>" name="s" id="s" /> <input type="submit" id="searchsubmit" value="Search" /> </fieldset> </form>
I have also added a line of code to my functions.php, to keep certain categories from showing in the search and on my index page. The line of code is:
function remove_my_categories( $wp_query ) { // 4 = Site News, 6 = Lead Story $remove_cat = '-4,-6'; // remove from archives (except category archives), feeds, search, and home page if( is_home() || is_feed() || is_search() || ( is_archive() && !is_category() )) { set_query_var('cat', $remove_cat); //which is merely the more elegant way to write: //$wp_query->set('cat', '-' . $remove_cat); } } add_action('pre_get_posts', 'remove_my_categories' );
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Not sure if any of that information helps or not.
Forum: Fixing WordPress
In reply to: 'Skip to Navigation' suddenly appearing on all my WP pagesI understand what your saying but I have no idea how to go about doing this. I just took the current theme I am using for my website and did the best I could with the knowledge I have. Thanks for your input and suggestions.
Forum: Fixing WordPress
In reply to: 'Skip to Navigation' suddenly appearing on all my WP pagesOk, thanks for your help. What I don’t understand is why, even with all these errors, was my site displaying properly and now after upgrading it isn’t? I wasn’t having this problem before I upgraded. It seems like every time I upgrade I have something wrong with my theme or a plug-in that stops working. It’s very frustrating.
Forum: Fixing WordPress
In reply to: 'Skip to Navigation' suddenly appearing on all my WP pagesSorry, should have posted that in the first place.
Forum: Plugins
In reply to: Problem with Search Everything after upgradeanyone?
Forum: Plugins
In reply to: Plugin – Comment TimeoutThanks. I’ve upgraded now.
Forum: Fixing WordPress
In reply to: Strange Characters in place of quotes and apostrophes?Anybody know how or what I need to change in order to make these strange characters disappear on my site’s home page?
Forum: Fixing WordPress
In reply to: Strange Characters in place of quotes and apostrophes?Ok thanks for the quick reply, I don’t really understand though. Can I change this somehow to make it work?
Forum: Installing WordPress
In reply to: Removing categories from archiveThanks, that was simple enough.