Nick McBurney
Member
Posted 1 year ago #
Im trying to use some interal links ie:
<a name="top"></a>
<a href="#top">Top of Page</a>
to link to segments of my page and for some reason wordpress is forcing the links to have target="_blank" within the code, ive tried adding target="_self" to overwrite this but wordpress still inserts _blank, ive used these kind of links many times before (including on this site) but I have no idea why this isnt working.
Any help would be appreciated.
Thanks
Nick
Nick McBurney
Member
Posted 1 year ago #
Bump. Nobody come across this before?
Please Help.
Have you tried:
- deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
- switching to the Twenty Eleven theme to rule out any theme-specific problems.
- resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
TheBluePill
Member
Posted 1 year ago #
Not sure if this helps, but i changed my base target to _self.
Similar to this: Link
Put this inside the <head> section of your Theme's template header.php file:
<base target="_self" />