【发布时间】:2014-05-01 17:27:16
【问题描述】:
请在下面的脚本下方找到...
我想在 url 变量上插入一个链接!
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function ($) {
$(".to-lock-1").sociallocker({
text: {
header: "<center>The content is locked!</center>",
message: "<center></br>Please support us, click like button below to download the Wallpaper.</center>"
},
theme: "starter",
locker: {
close: false,
timer: 0
},
buttons: {
order: ["facebook-like", "twitter-tweet", "twitter-follow", "google-plus", "linkedin-share"]
},
facebook: {
appId: "206841902768508",
like: {
title: "Like us",
url: "https://www.facebook.com/9H9Gang"
}
},
twitter: {
tweet: {
title: "Tweet",
text: "PHPGang Programming Blog, Tutorials, jQuery, Ajax, PHP, MySQL and Demos.",
URL: "http://www.phpgang.com/"
},
follow: {
title: "Follow us",
url: "http://twitter.com/phpgang"
}
},
google: {
plus: {
title: "Plus +1",
url: "http://www.phpgang.com/"
}
},
linkedin: {
url: "http://www.phpgang.com/",
share: {
title: "Share"
}
}
});
});
我想将网址:“http://www.phpgang.com/ 更改为 URL: "<?php the_permalink(); ?>
我正在使用这个脚本来锁定我的 wordpress 博客上的部分内容!`
twitter: {
tweet: {
title: "Tweet",
text: "PHPGang Programming Blog, Tutorials, jQuery, Ajax, PHP, MySQL and Demos.",
URL: "http://www.phpgang.com/"
},
follow: {
title: "Follow us",
url: "http://twitter.com/phpgang"
}
}
【问题讨论】:
标签: javascript php wordpress