Wordpress plugins sub menu not and delete button not showing - wordpress

WordPress plugins submenu not and delete button not showing. Please see the below image in my plugins dashboard:

Look into your wp-config.php for define( 'DISALLOW_FILE_MODS', true );. If there is anything written in that remove it.

Related

Menu page not showing in WP Admin section

I have a WordPress eCommerce website in this website all working but admin menu page not working and the page showing blank, and I was trying to add a new image that image does not upload and not showing the old image in media library only loading process see attachment
In order to solve this issue, you need to see what error is causing this blank page. By default, PHP suppresses errors display for security reasons, but Wordpress has a setting to show the errors.
In order to turn on error display, open your wp-config.php in the root folder
And add these two lines:
define( 'WP_DEBUG_DISPLAY', true );
define( 'WP_DEBUG', true );
NOTE: You must insert this BEFORE /* That's all, stop editing! Happy blogging. */ in the wp-config.php file.
You can read more here: https://wordpress.org/support/article/debugging-in-wordpress/
Only after you do that you will be able to see the error instead of a blank page, and then share it here to help us solve it or google for solution yourself.

How to fix wordpress dashboard appear in html only

I have a problem with WordPress website,, the customer added a link to the home page then the website crashed and the WordPress dashboard appear in html only.
I tried to edit the load style CSS file and edit the configuration file but nothing worked with me,, I can't post an image because I am new here,, please I need help as fast as possible,, thank you.
I tried this code
error_reporting(0);
...and change it to this...
error_reporting( E_ALL | E_STRICT );
in the load style css file.
I have the same problem showed in this article but the solution didn't work with me.
https://manovotny.com/fix-wordpress-admin-styles-not-loading
In your wordpress wp-config.php before require_once add below code into file
define('CONCATENATE_SCRIPTS', false);
In wp-config.php before require_once add below code into file
define('FORCE_SSL_LOGIN', true);
define('FORCE_SSL_ADMIN', true);
define( 'CONCATENATE_SCRIPTS', false );
define( 'SCRIPT_DEBUG', true );
Add Below line in wp-config.php you can show the error also.
define(‘WP_DEBUG’, true);
================================================================
Also, Try below instruction.
Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

WP admin bar not working in front end

My admin bar is not showing on the frontend of my site.
It is set to display on the profile
Tried deactivating and activating all plugins
footer.php is fine
logged off and cleared the cache
Still no progress, can someone pls help.. I'm very new to blogging and have very little knowledge of programming. Thanks.
1) check your function.php if this line is present
show_admin_bar( false );
2) if this is not present then try to add this in your function.php
show_admin_bar( true);

Blank White Screen Wordpress

I was working in my functions.php file, and i was trying to comment something out and when i refreshed the page it was all blank. Not only my website but also my /wp-admin page.
I have tried re-downloading my themes function.php and replacing it but this hasn't worked.
Please help!
open your wp-config.php and find
define( 'WP_DEBUG', false );
set it to
define( 'WP_DEBUG', true );
it will show which file is causing problem, Its a starting level to check white screen problem in wordpress otherwise you can follow Ahmad's answer
Uninstall your all plugins by renaming the plugins folder , ie plugins1.
And also change the theme and try. If not work then Go to following link.
https://code.tutsplus.com/tutorials/fixing-the-wordpress-white-screen-of-death--cms-21008

why is the <?php wp_head ?> tag creating a top margin at the top of my theme header

Hey people, I've been coming here for a while but just decided to join.
I'm new to php and I'm trying to make a website with WordPress as the CMS.
Anyway, I'm basically making my own theme because I don't want my website to look like a blog, and it's going pretty smoothly so far but theres this huge top margin gap in the browser even when I set margins to 0px.
I tried trial and error and found out that it's being caused by: <?php wp_head(); ?>
It's two different things.
1. wp_head() function
wp_head() is a template tag to print whatever plugin / theme specific function used by wordpress action. Read codex for more detail about it.
2. The admin bar
The top margin, is generated by wordpress's admin bar.
To fix this for logged in users you can do a couple of things:
Disable admin bar from the admin:
Go to admin panel
Users >> User Profile
Uncheck 'when viewing
site' on 'Show Admin Bar'
Remove the admin bar from your theme entirely:
Open your functions.php
Add this to it:
function my_function_admin_bar(){ return false; }
add_filter( 'show_admin_bar' , 'my_function_admin_bar');
Remove only the code which creates the css:
Open your functions.php
Add this to it:
function my_filter_head() { remove_action('wp_head', '_admin_bar_bump_cb'); }
add_action('get_header', 'my_filter_head');
Note: Extensive updates are from #hitautodestruct
you neeed to call wp_footer() in your footer
just insert this line <?php wp_footer();?> into your footer.php file
If you have updated your wordpress install to the latest version.. there seems to be some bug with the admin bar...
were it would produce an inline stylesheet appended to the top of your pages.. causing the margin-top:28px
see here
1 recomendation is to put a new function into your functions.php file located in your theme folder.. this will completly remove the bar, so no users of your theme will have any of the same issues!
function my_function_admin_bar(){
return false;
}
add_filter( 'show_admin_bar' , 'my_function_admin_bar');
Not sure if this will help.. but worth a shot.. also turning off the admin bar while viewing the front end of the site under your profile page..

Resources