rletc
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How i connect 2 WordPress Togetherhave a look at this: https://www.ads-software.com/plugins/wp-mobile-edition/installation/
Forum: Fixing WordPress
In reply to: "An unexpected error occurred." message after WP3.7 updatedeffo related https://www.ads-software.com/support/topic/37-update-breaks-update-corephp-and-pluginsphp?replies=4
Although we (otitleb and I) seem to be able to use the core update part.
Forum: Fixing WordPress
In reply to: Create a search engineyou mean you want to add the search box?
the code for that is <?php get_search_form(); ?> afaik
you might want to look in the widgets section, there may be a search box in there you can just drag into the sidebar.
Forum: Fixing WordPress
In reply to: 3.7 update breaks update-core.php and plugins.phpinteresting. seems related to this https://www.ads-software.com/support/topic/an-unexpected-error-occurred-message-after-wp37-update?replies=16
although for us the update-core.php seems ok. Are you on shared hosting? (doesn’t sound like it)
Forum: Fixing WordPress
In reply to: Create a search engineLooks like this plugin can be configured to search only what you want:
https://www.ads-software.com/plugins/search-everything/
it says you can exclude posts but I haven’t used it.
try googling “wordpress search plugin exclude posts” or “wordpress search plugin only pages” or whatever
Forum: Fixing WordPress
In reply to: Create a search enginesomething along these lines
function SearchFilter($query) { if ($query->is_search) { // Insert the specific post type you want to search $query->set('post_type', 'page'); } return $query; } // This filter will jump into the loop and arrange our results before they're returned add_filter('pre_get_posts','SearchFilter');
in your functions.php
perhaps
Forum: Fixing WordPress
In reply to: "An unexpected error occurred." message after WP3.7 updateI’m pretty sure if you click the ‘Check Again’ button your wp install does contact the wp servers.
Forum: Fixing WordPress
In reply to: "An unexpected error occurred." message after WP3.7 update@otiteb can you try clicking on Updates (/wp-admin/update-core.php) in the dashboard of 3.7? I’m pretty sure that contacts wp servers* so if that works then we can rule that out.
(I’m willing to be corrected but I think it does)
Forum: Fixing WordPress
In reply to: "An unexpected error occurred." message after WP3.7 update@ipstenu Surely I wouldn’t have been able to download the upgrade unless I was able to connect to the wp servers? I did it through wp-admin 20 minutes ago.
I don’t have full access to the server unfortunately but I was able to install plugins earlier this week through the wp-admin and was able to install the update. Now suddenly wp cannot connect.
Seems odd. Maybe the update tripped something. I dunno.
Specifically the file causing the issue is /wp-admin/plugin-install.php
The only plugins active atm are Contact Form 7 and Cookie Law Info and everything on the front end is fine.
Also: I’m able to check updates here: /wp-admin/update-core.php so that would lead me to believe my server can contact wp servers.
Forum: Fixing WordPress
In reply to: "An unexpected error occurred." message after WP3.7 updatesame happened with me straight after the update. wp was only installed this week and this has been the first and only update. I was able to add plugins from within the admin panel yesterday. Now I get this error.
Forum: Plugins
In reply to: [Custom Contact Forms] PHP Warning and instable adminin custom-contact-forms-dashboard.php I changed line 21
$user_roles = $current_user->roles;
to
$user_roles = array($current_user->roles);
all seems ok now
Forum: Plugins
In reply to: [Custom Contact Forms] PHP Warning and instable adminWarning: array_shift() [function.array-shift]: The argument should be an array in /home/zzz/public_html/wp-content/plugins/custom-contact-forms/modules/widget/custom-contact-forms-dashboard.php on line 22