mewing22
Forum Replies Created
-
Forum: Plugins
In reply to: [flickrRSS] [Plugin: flickrRSS] Fatal error when upgrading to version 5.2I hired a programmer to fix it. This is what he told me: “It looks like the plugin author did not reference the object where the function exists properly, as such it broke the call to the function and with it the plugin. It’s now corrected and the plugin is active for you. I do not suggest re-installing this plugin as it will revert my changes. Specifically the setupActivation plugin now reads:
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Fixing WordPress
In reply to: WordPress search not workingI discovered that the problem was in my theme’s searchform.php file. I changed the form method from “post” to “get.” Now search queries show up in the url address.
Before:
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
After:
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
Does that help you?Forum: Fixing WordPress
In reply to: WordPress search not workingEvery free theme at https://designdisease.com has the same problem. Try searching for the word “the” in any of them: https://designdisease.com/preview/ So, the problem is most likely not our plugins.
Forum: Fixing WordPress
In reply to: WordPress search not workingI’m having the same problem. Please let me know if you find the solution.
Forum: Plugins
In reply to: [WP-PageNavi] [Plugin: WP-PageNavi] Doesn't work on search results page@alexlakes I’ll try that. Thanks!
Forum: Plugins
In reply to: [WP-PageNavi] [Plugin: WP-PageNavi] Doesn't work on search results page@scribu: So, you don’t know how or why, it just works for you. Good for you. Not helpful for me.
Forum: Fixing WordPress
In reply to: wp_list_pages won’t exclude pagesI’m also trying to exclude pages from being listed in my menu bar. I found a tutorial that says to type this…
<?php wp_list_pages('exclude=17,38' ); ?>
…(the number being page IDs), but my code looks like this:
<?php $pages = wp_list_pages('sort_column=menu_order&title_li=&echo=0'); $pages = preg_replace('%<a ([^>]+)>%U','<a $1><span>', $pages); $pages = str_replace('</a>','</span></a>', $pages); echo $pages; ?>
Where should I enter the “exclude” text?
Forum: Fixing WordPress
In reply to: Possible? Search only posts, exclude pagesThanks for this! It worked for me too. Now, any ideas on how to exclude pages in a “recent posts” widget?