Jessica
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Anchor Link To An Anchor Tag On Another Page Does Not WorkOk so I narrowed it down to the jquery.jstree.js file. I of course have no idea how to fix it.
Forum: Fixing WordPress
In reply to: Anchor Link To An Anchor Tag On Another Page Does Not WorkThat was a great suggestion and I am kicking myself for not thinking of it. I had previously deactivated all of the plugins but had not tried a default theme.
I just did and the issue was not there so there must be something going on with the code that is causing this and I am thinking it may be javascript or jquery.
Just need to narrow down the cause.
Forum: Fixing WordPress
In reply to: Anchor Link To An Anchor Tag On Another Page Does Not WorkI have tried it with that as well and it still does the same thing.
Forum: Fixing WordPress
In reply to: Anchor Link To An Anchor Tag On Another Page Does Not WorkThanks for this, however, this appears to be linking to another page:
<a href="https://www.ourexcellentadventures.com/test-anchor/"> test</a>
Rather than linking to an anchor tag with in the page.
I am so stumped. It was suggested that it might be a server setting issue. It is simply the strangest thing and I really wish i could find a solution.
It is only when linking from another page.
Forum: Fixing WordPress
In reply to: Anchor Link To An Anchor Tag On Another Page Does Not WorkUnfortunately that does not work either. The same thing happens where the full url will display for a second and it will jump to the anchored text, but then the #and everything after is removed from the url and it jumps back to the top.
Forum: Fixing WordPress
In reply to: Anchor Link To An Anchor Tag On Another Page Does Not WorkHi kmessinger, thank you for responding. I may have misunderstood however. When I link from a different page I do use the full URL: https://fullurlhere/nbs-test-panel-of-diseases-2#anchorlink1
Forum: Fixing WordPress
In reply to: How To Call To A Diffrent Header Depending On The URLWell, I was able to figure out how to do this, and as no one has replied, I figured I would place the answer in case it will help someone in the future.
I placed the following code in my page.php:
// Call to appropriate header $url = $_SERVER["REQUEST_URI"]; if (strpos($url, "/url-here/page-name-here/") === 0) { get_header(newname); } else { get_header(); }
Note: if you have a header.php and then a header-newname.php, you can call to it like this:
get_header(wohl);