johnatanasoff
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Theme in Cpanel. Customize front end in browser possible?I had eye surgery last days so i am still recovering. That’s why the delayed message!
I am still quite new to WP and development; and testing!
————————————————————————————
For testing purposes, i inserted in website localhost folder (new wordpress skeleton); except wp-content folder, of website i’m working on.
Created new database name and inserted new data in wp-config!
Uploaded database.sql backup file, and all the content came up like a charm! That simple!So if this is needed, it works!
————————————————————————————
The other option is as you said:– Healthy backup; where if you break something, you simply move to FTP server the healthy file, and you’re good to go!
————————————————————————————
The problem is; on the site that i’m working on, the latest backup has the site broken on mobile/tablet!
https://www.ads-software.com/support/topic/saved-index-html-to-root-folder-deleted-it-no-longer-displaying-ok-in-mobile-2/Would be great if you could help here, as you’re quite experienced with WP.
Hello @cspiliakos
Thanks a lot for helping me, as i am desperate to get this solved asap!
https://prntscr.com/hlml95 – What i mean!
https://prntscr.com/hlmlv0 – How it displays in Chrome and IE 11
https://prntscr.com/hlmlzy – How it displays in Tor browser and mobile/tablet.
Before i did what i said, everything was OK everywhere!
Forum: Fixing WordPress
In reply to: Theme in Cpanel. Customize front end in browser possible?The safest thing to do is the thing you’re doing right now: test on a local site with backups and then upload the changes via FTP, and if something breaks, upload the backup via FTP.
Forum: Fixing WordPress
In reply to: Theme in Cpanel. Customize front end in browser possible?Yes there’s Cpanel’s file manager.
I haven’t seen any Dashboard > Appearance > Editor. Is this inside Cpanel?
I am using cpanel 11.As for locking me out of the dashboard. If you dont recommend this way, please recommend a better way. What would you do if it was you?
So for example, you go to Section and you edit some html path that links to a .css file. Or even if its just text…
I upload the whole wordpress because i tried uploading the responsible file and it did nothing. Maybe i need to try again.
But what better way you recommend?
Thanks a lot for your help!
Here’s the snippet you need from functions.php
/** * Determines if Widgets library should be loaded. * * Checks to make sure that the widgets library hasn't already been loaded. * If it hasn't, then it will load the widgets library and run an action hook. * * @since 2.2.0 */ function wp_maybe_load_widgets() { /** * Filter whether to load the Widgets library. * * Passing a falsey value to the filter will effectively short-circuit * the Widgets library from loading. * * @since 2.8.0 * * @param bool $wp_maybe_load_widgets Whether to load the Widgets library. * Default true. */ if ( ! apply_filters( 'load_default_widgets', true ) ) { return; } return; require_once( ABSPATH . WPINC . '/default-widgets.php' ); add_action( '_admin_menu', 'wp_widgets_add_menu' ); } /** * Append the Widgets menu to the themes main menu. * * @since 2.2.0 */ function wp_widgets_add_menu() { global $submenu; if ( ! current_theme_supports( 'widgets' ) ) return; $submenu['themes.php'][7] = array( __( 'Widgets' ), 'edit_theme_options', 'widgets.php' ); ksort( $submenu['themes.php'], SORT_NUMERIC ); }
- This reply was modified 7 years, 3 months ago by johnatanasoff.
- This reply was modified 7 years, 3 months ago by johnatanasoff.
I didn’t remove any files!
I copied files from live server to my PC; deleted files in public_html and uploaded another WP theme i am working on.When i did this procedure a second time it stopped working with the error.
But look at my last reply as putting “return;” before the code in functions.php lets the site load!Let me know what you think?
As suggested by a friend; putting a ” return; ” before the code works.
But it’s not the solution. For some reasons when i upload default-widgets.php to server and refresh, it disappears!Let me know the solution if possible.
Thank you!—————————————————————————————
return;
require_once( ABSPATH . WPINC . ‘/default-widgets.php’ );add_action( ‘_admin_menu’, ‘wp_widgets_add_menu’ );
}
—————————————————————————————While on the customize page the maps shows, when i refresh site on a separate page, the code itself displays, and not the map.
Am i doing something wrong?
Forum: Fixing WordPress
In reply to: OneTone Theme, embed a Google Map.@anevins, Won’t happen again!
Thanks!- This reply was modified 7 years, 3 months ago by johnatanasoff.
Forum: Fixing WordPress
In reply to: Find which is right file to customize.Onetone. I’l post in their forum!
I’l check what you said about the <body> tag having classes that describe what template the current page is using, and from there able to find the correct file.
As for editing the CSS, the back end notified me about not changing the CSS there, as i could break the site.
Thanks guys!
Forum: Fixing WordPress
In reply to: Best customization and support experience.hehehe thanks! ??
Forum: Everything else WordPress
In reply to: How to change this site username? Or delete account?@jdembowski I am happy with wordpress as a whole!
Though you should look into implementing this possibility ??Now I will have to use a secondary email.
Almost all other websites offer this possibility or the administrator does it for us.Forum: Everything else WordPress
In reply to: How to change this site username? Or delete account?I understand.
It might have to do with the created topics and the database data.
Would be cool to be able to change username and have it refresh in every topic created.
Could be a troublesome thing to do depending on your IT architecture though.Forum: Everything else WordPress
In reply to: How to change this site username? Or delete account?If you block it, can i create a new account and use the same email address?
I don’t want this username found on search engines, thus why i want to use a new one! ??- This reply was modified 7 years, 11 months ago by johnatanasoff.
Forum: Fixing WordPress
In reply to: Best customization and support experience.After much research that’s what i realized ??
Thanks!