kazskater99
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Set UP /category%/%postname%/make sure to create Template set up with same title with A.category.php B.category.php in Create Page.
done
Forum: Fixing WordPress
In reply to: Set UP /category%/%postname%/function remove_category_base() { global $wp_rewrite; $wp_rewrite->extra_permastructs['category']['struct'] = '%category%'; } add_action('init', 'remove_category_base');
Do this for Category now shoen in url
just select
Custom Structure /%postname%/nothing to change .htacsss
Click permalink button
done
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Table press how to responsiveOK THANKS
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Table press how to responsive/* ヘッダーとフッターのセル */ .tablepress thead th, .tablepress tfoot th { background-color: #f8bbd0; font-family: sans-serif; font-size: 13px; font-weight: bold; color: #ffffff; text-align: center; } /* 通常のセル */ .tablepress tbody td { font-family: sans-serif; font-size: 14px; text-align: center; font-weight: normal; color: #0325FA; padding: 8px; /* パディングを追加 */ } /* ホバー時のソート可能なヘッダーセル */ .tablepress thead .sorting:hover { width: 100%; background-color: #FAF858; } /* すべてのテーブル内の画像 */ .tablepress img { width: 50px; height: 50px; } /* 特定のテーブルの最初の列 */ .tablepress-id-100 .column-1 { width: 100%; /* 幅を100%に変更 */ text-align: center; /* テキストの中央寄せを追加 */ } /* 上記で指定されたテーブルの最初の列内の画像 */ .tablepress-id-100 .column-1 img { width: 45%; height: 50%; } /* ページネーションのスタイルを調整 */ .dataTables_paginate .paginate_button { color: #7fdbb6; display: inline-block; margin: 0 5px; outline: none; position: relative; text-decoration: underline; } /* ページネーションの前後ボタンの色を変更 */ .dataTables_paginate .paginate_button:after, .dataTables_paginate .paginate_button:before { color: #00a9fd; } /* モバイル用の調整 */ @media (max-width: 767px) { .tablepress thead th, .tablepress tfoot th, .tablepress tbody td { font-size: 12px; /* フォントサイズを変更 */ } /* モバイル時の追加のスタイル調整を追加 */ .tablepress-id-100 .column-1 img { width: 100%; /* 画像の幅を100%に変更 */ height: auto; } .dataTables_paginate .paginate_button { margin: 0 3px; } }
Forum: Fixing WordPress
In reply to: wordpress core file says error template.phpOk I try thank you!
Notice: Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.) in /home/kaztokyo/www/wordpress/wp-includes/functions.php on line 6031
i backed up shown this error message but i delated some plugin . not sure what to do . hopefully wordpress helps me..
Forum: Fixing WordPress
In reply to: wordpress core file says error template.phpI just backed up date so i can edit post no white page come up.
but still template error shown hopefully wait for proper wordpress version
Forum: Fixing WordPress
In reply to: NOT SURE HOW TO REGENERATE IMAGEhttps://gamewidth.net/beginners-guide-you-frame-idea/
so i dont use regerate plugin just use old images but images is too long i know so zaly load is working for wordpress but Google speed shows this thumbnauil is too big.. wordpress is something with wrong..
Forum: Fixing WordPress
In reply to: wordpress core file says error template.phpAbove error code is here
I can not edit post page right now!!! Edit Post Page Screen is ALL white.
/** * Retrieves an array of post states from a post. * * @since 5.3.0 * * @param WP_Post $post The post to retrieve states for. * @return string[] Array of post state labels keyed by their state. */ function get_post_states( $post ) { $post_states = array(); if ( isset( $_REQUEST['post_status'] ) ) { $post_status = $_REQUEST['post_status']; } else { $post_status = ''; } if ( ! empty( $post->post_password ) ) { $post_states['protected'] = _x( 'Password protected', 'post status' ); } if ( 'private' === $post->post_status && 'private' !== $post_status ) { $post_states['private'] = _x( 'Private', 'post status' ); } if ( 'draft' === $post->post_status ) { if ( get_post_meta( $post->ID, '_customize_changeset_uuid', true ) ) { $post_states[] = __( 'Customization Draft' ); } elseif ( 'draft' !== $post_status ) { $post_states['draft'] = _x( 'Draft', 'post status' ); } } elseif ( 'trash' === $post->post_status && get_post_meta( $post->ID, '_customize_changeset_uuid', true ) ) { $post_states[] = _x( 'Customization Draft', 'post status' ); } if ( 'pending' === $post->post_status && 'pending' !== $post_status ) { $post_states['pending'] = _x( 'Pending', 'post status' ); } if ( is_sticky( $post->ID ) ) { $post_states['sticky'] = _x( 'Sticky', 'post status' ); } if ( 'future' === $post->post_status ) { $post_states['scheduled'] = _x( 'Scheduled', 'post status' ); } if ( 'page' === get_option( 'show_on_front' ) ) { if ( (int) get_option( 'page_on_front' ) === $post->ID ) { $post_states['page_on_front'] = _x( 'Front Page', 'page label' ); } if ( (int) get_option( 'page_for_posts' ) === $post->ID ) { $post_states['page_for_posts'] = _x( 'Posts Page', 'page label' ); } } if ( (int) get_option( 'wp_page_for_privacy_policy' ) === $post->ID ) { $post_states['page_for_privacy_policy'] = _x( 'Privacy Policy Page', 'page label' ); } Trying to get property 'post_status' of non-object
- This reply was modified 1 year, 2 months ago by kazskater99.
- This reply was modified 1 year, 2 months ago by kazskater99.
Forum: Fixing WordPress
In reply to: wordpress core file says error template.phpGeneral Things to do
- Deactive all plugin
- Debug error
- check drbug log file
- Chnage Theme such as Twenty Twenty One
Above lists Still Error shown in Customimazie Appearance in Theme
DO you know how to take out all massage or fix?
Thanks
WP Dark Mode plugin has problem
i can turn back to block editor
// deactivate new block editor function phi_theme_support() { remove_theme_support( ‘widgets-block-editor’ ); } add_action( ‘after_setup_theme’, ‘phi_theme_support’ );
This worked in Widget Problem ONLY when i dont use block editor
When I turn back to Blcock Editor it shows Error message again.
//widgets-block-editorの削除 function phi_theme_support() { remove_theme_support( 'widgets-block-editor' ); } add_action( 'after_setup_theme', 'phi_theme_support' ); // widgets-クラシックエディターの有効化 //function phi_enable_block_editor_support() { //add_theme_support( 'widgets-block-editor' ); //} //add_action( 'after_setup_theme', 'phi_enable_block_editor_support' );
This iS error
Notice: wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.) in /home/user/domain.com/wp-includes/functions.php on line 5663
- This reply was modified 1 year, 2 months ago by kazskater99.
- This reply was modified 1 year, 2 months ago by kazskater99.
Forum: Fixing WordPress
In reply to: My wordpress admin say this code NOT SUREError shown in WordPress Appearence Widget area shown.
Notice: Function wp_enqueue_script() was called incorrectly. “wp-editor” script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.) in /home/kaztokyo/www/wordpress/wp-includes/functions.php on line 6031
Error shown in WordPress Appearence Customize area shown.
Notice: Trying to get property ‘post_status’ of non-object in /home/kaztokyo/www/wordpress/wp-admin/includes/template.php on line 2298
Notice: Trying to get property ‘post_status’ of non-object in /home/kaztokyo/www/wordpress/wp-admin/includes/template.php on line 2302
Notice: Trying to get property ‘post_status’ of non-object in /home/kaztokyo/www/wordpress/wp-admin/includes/template.php on line 2308
Notice: Trying to get property ‘post_status’ of non-object in /home/kaztokyo/www/wordpress/wp-admin/includes/template.php on line 2312
Notice: Trying to get property ‘ID’ of non-object in /home/kaztokyo/www/wordpress/wp-admin/includes/template.php on line 2316
Notice: Trying to get property ‘post_status’ of non-object in /home/kaztokyo/www/wordpress/wp-admin/includes/template.php on line 2320
Notice: Trying to get property ‘ID’ of non-object in /home/kaztokyo/www/wordpress/wp-admin/includes/template.php on line 2334
- This reply was modified 1 year, 2 months ago by kazskater99.
Forum: Fixing WordPress
In reply to: My wordpress admin say this code NOT SURENOT SURE HOT TO ORDER…
wp_enqueue_script Order: The order in which scripts are loaded can be crucial. If, for instance, lightbox.min.js depends on jQuery, make sure to enqueue jQuery first. Multiple wp_enqueue_script Calls: Check if lightbox.min.js is being enqueued in multiple places. This can lead to conflicts. Make sure it's not being loaded redundantly. Unnecessary wp_enqueue_script Calls: Look for any unnecessary or outdated script calls. You might be loading an older version or a script that is no longer needed. jQuery Version Compatibility: Verify that the jQuery version aligns with the requirements of your scripts. lightbox.min.js might be dependent on a specific version of jQuery. Check these points and see if they help identify or resolve the issue. If the problem persists, sharing the error message and any additional details would be helpful.
Forum: Fixing WordPress
In reply to: My wordpress admin say this code NOT SUREmy blog