![](/img/trans.png)
[英]Adding external links in Wordpress tag list and get the names of tags without their own links
[英]Adding tag to external links
無論如何我可以修改 .htaccess 文件或添加一點 php 來附加所有帶有 id 的出站鏈接。
例如 www.example.com/&this_is_the_id
非常感謝您的投入! 使用 WordPress。
更新:
我試過這個 -
<script>
$(".class").attr("href", function(i, href) {
return href + '&_my_id';
});
</script>
$(".class").attr("href", function(i, href) {
return href + '&id_mine';
});
以上就是我最后所需要的。 謝謝大家看
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.