bzonderman
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Tried to move my site, broke it.Yes, resolved. For posterity and reference, here are the steps I took:
1. Log into your WordPress dashboard.
2. Navigate over to Settings > General.
3. Locate the “WordPress Address (URL)” and “Site Address (URL)”, and then enter the EXACT URL listed for “WordPress Address (URL)” which you will use later.
4. Change the URL for both “WordPress Address (URL)” and “Site Address (URL)” to https://www.bethzonderman.com
5. Save
6. Refreshed to error page (which I didn’t record).
[Instructions: 6. Log out of your WordPress dashboard and close your browser’s window, but do not attempt to load the site just yet.]
7. Move files by ssh from directory bzonderman.com to bethzonderman.com
8. Backed up database using Panel > ‘Billing & Account’ > ‘Backup Your Account
9. Opened wp-content/themes/tower/functions.php and added these two lines to the file (using my domain obviously), immediately after the initial “<?php” line.
update_option( ‘siteurl’, ‘https://example.com’ );
update_option( ‘home’, ‘https://example.com’ );
10. Upload the file back to your site, in the same location.
11. Update the hardcoded URLs which are defined in the database with
wp search-replace https://www.bzonderman.com https://www.bethzonderman.com
12. Remove the 2 added lines from functions.php
13. Regenerate .htaccess by going to Settings -> Permalinks and saving the settingsForum: Plugins
In reply to: [WP FullPage] Using a button to scroll to an anchor only works onceOk, thanks Julien.
Forum: Fixing WordPress
In reply to: Anchor links vs JS scroll, "clear the hash"Can someone tell me if this is a WP issue or a theme, or plugin issue? It’ll help me contact the right support network. Thanks
Forum: Plugins
In reply to: [WP FullPage] Using a button to scroll to an anchor only works onceHey, I’m having a similar problem but from the content end.
I’m trying to make a link to a section within the same page. I’m using my theme’s (Tower, by Codeless) Visual Composer WYSIWYG editor. I entered the link as https://www.mydomain.com/thepage/#anchor or just #anchor and the anchor name is assigned as a row ID. Clicking the link works the first time but not thereafter.
A quick google shows this is to do with the javascript for the smooth page scrolling and clearing the hash (I have only the broadest understanding of that). But that isn’t an option when just adding a single link in the page content.
See https://www.bzonderman.com/wp/, the ‘Read on’ button.
Thanks
Forum: Fixing WordPress
In reply to: Anchor links vs JS scroll, "clear the hash"@artur – yes, same result.