-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement navigation menu overrides to replace hardcoded links #18
Comments
The logic in The link to the blog, in the header is of this form, with page_id=36. Conversely, when we visit the blog page Blog is not considered to be the current menu item WorkaroundChange the URL to use a permalink. |
The Contact link suffers a similar prolem since the actual URL is |
The Contact page link needs correcting. |
The templates and template parts which contain hard coded links prefixed
https://s.b/wp55/thisis/
are acceptable when used in a local development environment but not at all acceptable in a live site. The browser attempts to finds.b
and takes an awfully long time. Alternatively, in my local development environment, I may not notice the switch.Given that this is an experimental theme, and I expect to make many changes to template parts with navigation blocks, it would make sense to automatically adjust any URL starting
https://s.b/thisis/
to the siteurl(). This may result in a 404, but that’s OK.Requirement
Proposed solution
The text was updated successfully, but these errors were encountered: