Editing wordpress theme with dashboard - wordpress

I created sample website in wordpress.I'm newbie.I want to edit it again.Now the website show without dashboard.how to bring back edit option to that wordpress theme.Now This shows only web page

I think you are reffering to wordpress built in file editor. By default it is enabled, but if somehow it has been disabled you can enable it by going to wp-config.php and add this code to the top.
define( 'DISALLOW_FILE_EDIT', false );

Related

Wordpress After Updating Avada Theme; Top Menu has disappeared

I have updated Wordpress Avada theme in my website. After updating I found the top menu has disappeared.
It's has appeared in dashboard but not in font end. Please kindly give me solution for this issue.
First, dou you have any plugin to disable the frontend menu? Please check it.
If not, please deactivate and activate the Avada Theme and try it again.
When these both solutions not working please enable WP_DEBUG in wp_config like so:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', true );
Please check if there is any error in the frontend after you refresh the page.

Why I cannot see my WordPress site when I am logged out?

I am creating a WordPress theme in the localhost. I do not know why I see a white screen when I logout from the dashboard.
If I login again into the dashboard I can visit the site again. Everything is working good.
Note: If I change the theme, the issue is gone by then.
There might be some Error in the new theme you are creating.
You can go to Wordpress root directory "wp-config.php" file and add a line
define( 'WP_DEBUG', true )
That will display you the error instead of the white screen.
define( 'WP_DEBUG', false ) can add this in wp-config to check

wordpress links in menu doesn't work

i'm working on word-press to create eCommerce website and i have face same problem.
i'm working on PC using XAMPP in localhost server. i have create new page in word-press and after that when i have publish the page and then i click on view the page to see the page whose the page look like ,the page show error "object is not found".
also error in menu on website link navigation.
i have already set permalinks as post name.
and now i have search many time on google but i doesn't found any solution.
i'm very feel frustrating.
please help me to find out the solution.
Are the links defined correctly in your database corresponding to your local Wordpress installation?
If yes, maybe FollowSymlinks are disabled and hence your Permalinks are not working correctly.
See the accepted answer from this SO thread:
Wordpress and Xampp not open child pages
Hope this helps.
define('WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
define('SAVEQUERIES', true);
ini_set( 'log_errors', 1 );
ini_set( 'error_log', WP_CONTENT_DIR . '/debug.log' );
add these lines in wp-config.php and then visit the page, this will not resolve the error but create a debug file in the wp-content folder so you can have the better idea where the issue is.. :)

WordPress theme editor is missing

I am trying to access the theme editor in WordPress.
The problem is that I cannot find the option under Admin-Appearances - Editor and when I try to access the page using the link http://www.nameofsite.com/wp-admin/theme-editor.php I get the error:
You do not have sufficient permissions to access this page.
I am logged in as an administrator. Why can't I find the editor option?
It is probably because of iThemes Security and its settings. So yeah, just go to wp-config and change DISALLOW_FILE_EDIT to false.
define( 'DISALLOW_FILE_EDIT', false );
Or just switch it off here:
Dashboard -> Security -> WordPress Tweaks -> Configure Settings
Uncheck: Disable File Editor
Open up your wp-config.php file, and search for
define('DISALLOW_FILE_EDIT', true);
Change true to false:
define('DISALLOW_FILE_EDIT', false);
For those who are using Siteground hosting define('DISALLOW_FILE_EDIT', false); won't work. Sitegound hosting provide SG Security plugin by default on direct WordPress installation from cPanel and it blocks the Theme Editor and Plugin Editor option by default.
To enable the Theme Editor and Plugin Editor option you just need to disable the option called Disable Themes & Plugins Editor under Site Security. Here is the path to disable that option :
Click on SG Security -> Site Security -> Disable
Themes & Plugins Editor Option
That's it. I hope you find it useful.
If you used Siteground host.. you can enable theme editor that option:
Go to domain.com/wp-admin.php
SG Security
Site Security
Disable Themes & Plugins Editor Option
I hope this is useful for you.
Hack:
Manually browse: domain.com/wp-admin/theme-editor.php
At root directory of your wordpress. Open up your wp-config.php file, and search for
define('DISALLOW_FILE_EDIT', true);
Change true to false:
define('DISALLOW_FILE_EDIT', false);
To enable the theme editor, follow these steps:
Go to Appearance, select one theme (any one you like) and activate it.
In this activated theme, go to Appearance → Editor → select the theme to edit (on the top right, above Templates. There is a drop-down click on it and select your previous theme.)
Now select config.php or demo config.php and remove the define ( 'DISALLOW_FILE_EDIT, true); code.
Now click on Update file.
Now change the theme to your previous theme.
Now you can find your editor in the Appearance drop-down.
The Sucuri WordPress plugin will also disable the editor in its settings under the "Hardening" tab. You can click on Revert Hardening, make your changes, and then go back and apply hardening when you're finished.
Remove both codes
define('DISALLOW_FILE_EDIT', false);
define('DISALLOW_FILE_MODS', true);
After this just refresh, the dashboard Theme editor will appear.
It is also possible that it is being blocked by a security plugin or the like. In my case SG security (from siteground) had an option active that deactivated the editor.

Wordpress Theme Compatibility Issue

I'm developing a WP theme for a client and have run into some trouble.
When my theme is activated:
I edit post or page (or several other areas), click UPDATE, PUBLISH, etc - and I get a blank white page.
When I go back, the post has been updated - so the system is working, it just isn't redirecting me back to the edit page.
Everything works fine when the default template is activated.
Thanks!!!
To trace the error set the WP_DEBUG as true
Refer : http://www.wprecipes.com/how-to-easily-enabledisable-debug-mode-in-wordpress
Change WP_DEBUG to true in wp-config.php file located in the WordPress root folder, and then you will be able to see the errors that are coming up. Fixing those errors will resolve your problem.

Resources