douya2982 2015-02-01 21:19
浏览 43
已采纳

Wordpress随时随地打开新窗口[关闭]

I have a wordpress page and every link I have it opens into a new tab. This happened when I change the wordpress from localhost to a remote server.

What can be the problem?

Thanks.

  • 写回答

1条回答 默认 最新

  • dongxie559554 2015-02-01 21:40
    关注

    If you check the HTML page source, you can see that every link in your page has the target="_blank" attribute, which means that every time you click on them, the browser will open a new tab.

    If you didn't put the target="_blank" manually (hence i suggest you to check your theme .php files) something may inject them when the page is loaded. Thus there might be some possibilities:

    1. A plugin you (or the theme) maybe installed is changing all links to open in a new tab
    2. That theme has a particular option which enable this behaviour and filter pages and rewrites the links.

    Without any more information, it's a little hard to answer your question...

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题