欢迎光临
我们一直在努力

[mcj]为WordPress网站增加go跳转功能

华为学生服务器每月仅需9元!
文章目录
[隐藏]

总览

让我们来看一下go跳转的效果:

步骤1

首先在站点根目录建立go目录,然后在go目录新建index.php文件,文件内容填写:

步骤2

打开站点主题目录下的functions.php,插入如下内容:

然后我们在添加站外链接的时候,就会自动通过go跳转了,如果是站内链接,则会直接打开。

点击下面测试一下效果:

https://google.com

如果你对这篇文章有什么疑问或建议,欢迎下面留言提出,我看到会立刻回复!

打赏
未经允许不得转载:马春杰杰 » [mcj]为WordPress网站增加go跳转功能
华为学生服务器每月仅需9元!

留个评论吧~ 24 评论前登陆可免验证码!

私密评论

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址(选填,便于回访^_^)
  1. #12

    I think what you wrote made a bunch of sense. However, consider this, suppose you added a little content?
    I mean, I don’t wish to tell you how to run your website, however what if you added something that grabbed people’s attention? I mean [mcj]为WordPress网站增加go跳转功能-马春杰杰 is a little plain. You ought to glance at Yahoo’s front page and see how they create post headlines to get viewers to click.

    You might add a video or a picture or two to grab
    readers excited about what you’ve written. In my opinion, it
    would bring your website a little livelier.

    genset perkins 2000Kva 2个月前 (08-04) Hong Kong 谷歌浏览器 Windows 10 回复
  2. #11

    Very descriptive post, I enjoyed that a lot. Will there be a part 2?

    BankID casinon 3个月前 (07-21) Hong Kong 谷歌浏览器 Windows 10 回复
  3. #10

    Hi there, I enjoy reading all of your article post. I wanted to write a little comment to support you.

    genset hartech 500Kva 3个月前 (07-21) Hong Kong 谷歌浏览器 Mac OS X 10_13_5 回复
  4. #9

    Wow, superb weblog layout! How lengthy have you ever been blogging for?
    you made blogging glance easy. The entire look of your
    site is fantastic, let alone the content material!

    genset perkins 10Kva 3个月前 (07-19) Hong Kong 谷歌浏览器 Mac OS X 10_13_5 回复
  5. #8

    It’s going to be finish of mine day, but before ending I am reading this impressive paragraph to
    increase my experience.

    thiết kế website chuyên nghiệp tphcm 3个月前 (07-18) Hong Kong 谷歌浏览器 Windows 10 回复
  6. #7

    Nice post 🙂

    michael marquart feel me 3个月前 (07-04) 这家伙可能用了美佬的代理 谷歌浏览器 Mac OS X 10_13_5 回复
  7. #6

    Thanks a bunch for sharing this with all people you really recognise what you are talking about!
    Bookmarked. Please also visit my site =).
    We will have a hyperlink exchange contract among
    us

    안전한온라인카지노 4个月前 (06-25) Korea Republic of QQ浏览器 Mac OS X 10_13_5 回复
  8. #5

    Question… have you tried any other blog platform before…?
    What is your opinion?

    sports news 4个月前 (06-22) 这家伙可能用了美佬的代理 Safari浏览器 Mac OS X 10_14 回复
  9. #4

    最大传输单元这个参数通常与通信接口有关(网络接口卡、串口等)。如:80、21等等。如果你技术不太好那么就直接关机吧。如果不是国内备案比较复杂,将来规模应该会非常大。 ,一种覆盖一座或几座大楼、一个校园或者一个厂区等地理区域的小范围的计算机网。京东云也是最近刚开始做的云计算,京东投入也比较大,目前针对新客户可以免费试用6个月。 VPS方案分为流量型和带宽型两种流量计费方式,有SSD硬盘和普通硬盘两种存储方式。是指一种通信协议的某一层上面所能通过的最大数据包大小(以字节为单位)。

    visual studio enterprise vs professional 5个月前 (05-24) 这家伙可能用了美佬的代理 谷歌浏览器 Mac OS X 10_13_3 回复
  10. #3

    Nice weblog here! Additionally your website quite a bit up very fast!
    What host are you the use of? Can I get your affiliate hyperlink
    on your host? I desire my web site loaded up as fast as yours lol

    Aline 5个月前 (05-24) Thailand Safari浏览器 Mac OS X 10_12_6 回复
    • @Aline my web server is Nginx , with AWS lightsail,It’s very stable~~only 5$/month , you can try it ~

      马春杰杰 5个月前 (05-24) 来自天朝的朋友 谷歌浏览器 Windows 10 回复
  11. #2

    Greate article. Keep writing such kind of information on your page.
    Im really impressed by it.
    Hey there, You’ve done a fantastic job. I will certainly digg
    it and in my opinion recommend to my friends.
    I am confident they will be benefited from this website.

    https://www.Dandlroofsystems.com#roofsystem 5个月前 (05-24) 这家伙可能用了美佬的代理 谷歌浏览器 Mac OS X 10_13_3 回复
  12. #1

    Good blog you have got here.. It’s difficult to find quality writing like yours nowadays.
    I truly appreciate individuals like you! Take care!!

    gclub 5个月前 (05-23) Indonesia 谷歌浏览器 Mac OS X 10_13_4 回复
切换注册

登录

忘记密码 ?

切换登录

注册