keithwjones
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: User Role DirectorThanks for response it was something to do with hostinger plugin. Which is now gone.
Role now Administrator.
All good to go.
Keith
Forum: Plugins
In reply to: [Enable jQuery Migrate Helper] Dashboard Format GoneNow back to square one. Back end is good again.
Drop down menu not working.
Keith
Forum: Plugins
In reply to: [Enable jQuery Migrate Helper] Dashboard Format GoneOvernight the site updated to 5.6 – not sure how but presuming hosting.
Front end drop down menu no longer working. Back end still scrambled.
I believe the real issue is the theme.
Keith
Forum: Plugins
In reply to: [Enable jQuery Migrate Helper] Dashboard Format GoneThe above info is when home page displayed not logged in.
Home page when logged in:
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:23 JQMIGRATE: Migrate is installed with logging active, version 1.4.1
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56 JQMIGRATE: jQuery.fn.load() is deprecated
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58 console.trace
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56 JQMIGRATE: jQuery.fn.unload() is deprecated
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58 console.trace
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56 JQMIGRATE: jQuery.browser is deprecated
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58 console.trace
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56 JQMIGRATE: ‘ready’ event is deprecated
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58 console.trace
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58
inject.js:294 running with options: {“name”:”SYMUR”,”sample”:1,”tracking_adapter”:{},”variants”:{“cws”:{“weight”:50},”trustpilot”:{“weight”:50}},”user_id”:null}
inject.js:294 cws active
inject.js:294 activated variant : cwsWhen in no style dashboard:
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:23 JQMIGRATE: Migrate is installed with logging active, version 1.4.1
inject.js:294 running with options: {“name”:”SYMUR”,”sample”:1,”tracking_adapter”:{},”variants”:{“cws”:{“weight”:50},”trustpilot”:{“weight”:50}},”user_id”:null}
inject.js:294 cws active
inject.js:294 activated variant : cwsForum: Plugins
In reply to: [Enable jQuery Migrate Helper] Dashboard Format GoneBrowsers Chrome and Edge
SCRIPT_DEBUG did not fix error
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:23 JQMIGRATE: Migrate is installed with logging active, version 1.4.1
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56 JQMIGRATE: jQuery.fn.load() is deprecated
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58 console.trace
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56 JQMIGRATE: jQuery.fn.unload() is deprecated
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58 console.trace
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56 JQMIGRATE: jQuery.browser is deprecated
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58 console.trace
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56 JQMIGRATE: ‘ready’ event is deprecated
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:56
jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58 console.trace
migrateWarn @ jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp:58
inject.js:294 running with options: {“name”:”SYMUR”,”sample”:1,”tracking_adapter”:{},”variants”:{“cws”:{“weight”:50},”trustpilot”:{“weight”:50}},”user_id”:null}
inject.js:294 cws active
inject.js:294 activated variant : cws
/wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 400 (Bad Request)- This reply was modified 4 years, 2 months ago by keithwjones.
Forum: Plugins
In reply to: [Enable jQuery Migrate Helper] Dashboard Format GonePHP is 7.0. I can not update it breaks site.
Theme is out dated and needs replacing. There are no updates.
So at present front-end good but back-end scrambled.
Keith
Forum: Plugins
In reply to: [Enable jQuery Migrate Helper] Dashboard Format GoneMarius
It is missing styling. Now displays as a white page with plain text links down the left. Post the Pages etc.
Front end is perfect now. The only way I can get out of this is by FTP. But I may leave as is in short term.
Keith
Forum: Fixing WordPress
In reply to: Remove wlwmanifest.xmlI worked it out in the end.
I had a Windows Live Writer system still working deep in the system now removed.
Keith
Forum: Fixing WordPress
In reply to: Remove wlwmanifest.xmlThanks for input, I will see what I can find out.
Normally I would use the custom file.
Keith
Forum: Fixing WordPress
In reply to: Remove wlwmanifest.xmlI am putting it in a custom php file of the theme.
Keith
Forum: Developing with WordPress
In reply to: Exclude Categories from Home pageRight the code is now amended and appears to work:
/* CLASS CATEGORY EXCLUDE FROM HOME and paged pages excludes selected categories from main loop on the blog home page controlled by text input under dashboard->settings->reading -> 'Exclude Categories from Home' */ class custom_exclude_categories { public function custom_exclude_categories() { $this->__construct(); } public function __construct() { add_action('admin_init',array($this,'register_setting'),10,0); add_action('admin_menu', array($this,'admin_option_setup'),10,0); add_action('pre_get_posts',array($this,'pre_get_posts'),20,1); } public function register_setting() { register_setting('reading','excluded_categories'); } public function admin_option_setup() { add_settings_field( 'excluded_categories_field', __('Exclude Categories from Home', 'custom_lang'), array($this,'excluded_categories_field'), 'reading', 'default' ); } public function excluded_categories_field() { $value = get_option('excluded_categories'); echo '<p><input type="text" class="large-text code" id="excluded_categories" name="excluded_categories" value="'. $value .'" /></p>'; echo '<p class="description">'. __('Enter here comma separated IDs of the categories, if you want them to be excluded from the home page of your blog.','custom_lang') .'</p>'; } public function pre_get_posts(&$query) { if (!$query->is_admin && ($query->is_home || ($query->is_feed && !$query->is_category)) && (!isset($query->query_vars['suppress_filters']) || false === $query->query_vars['suppress_filters']) && !$query->is_preview) { if(get_option('excluded_categories') != '') { $excluded = get_option('excluded_categories'); $excluded_arr = explode(',',$excluded); $query->set('category__not_in', array_map('intval',$excluded_arr)); } } } } $custom_exclude_categories = new custom_exclude_categories ; /* END CATEGORY EXCLUDE CLASS */
Forum: Developing with WordPress
In reply to: Exclude Categories from Home pageSeems to function with this instead of the blank echo.
echo '<input type="text" name="excluded_categories" id="excluded_categories"> ';
Keith
Forum: Developing with WordPress
In reply to: Exclude Categories from Home pageI am now thinking that the blank echo line is the problem
and it needs something like:echo '<input type="text" name="excluded_categories" id="excluded_categories" value="> ';
Keith
- This reply was modified 5 years, 8 months ago by keithwjones.
Forum: Fixing WordPress
In reply to: Customize comment checkbox?Done a bit more research and I needed to change to name of the theme.
Keith
Forum: Fixing WordPress
In reply to: Customize comment checkbox?Thank you I have used this code and it works but one question.
Not sure about frontier in code I believe it should be ‘theme_text_domain’ which is the name of your theme’s text domain.
Please can someone tell me what I should change it to?
Keith