使用php将点击的锚文本获取到引用页面

问题描述 投票:0回答:1

WordPress:PHP,我想在引荐页面中的“ a”标签之间获取文字。喜欢:

我在页1上有下面的链接:http://somesite.com/page1

<a href="http://somesite.com/page2"> Aminul Islam</a>

我想在第2页http://somesite.com/page2)上打印“ 伊斯兰伊斯兰教徒>>”

WordPress:PHP,我想在引荐页面中的“ a”标记之间获取文本。像:我在第1页上有以下链接:http://somesite.com/page1 Aminul Islam

anchor title
1个回答
0
投票

您可以使用Java脚本或jQuery ::

© www.soinside.com 2019 - 2024. All rights reserved.