0
使用URL我有我使用調用從自定義字段中的URL一個WordPress站點以下jQuery的重定向自變量
<?php $redirect_url = get_post_meta($post->ID, 're_url', true);
我也使用TinyBox2顯示在彈出框中輸入此網址,使用回調函數我已經將它設置爲運行在重定向到,對於現在的頁腳功能,www.google.com
TinyBox
-------
<div class="redirect" onclick="TINY.box.show({html:'Your website is : <br /><?php echo get_post_meta($post->ID, 're_url', true); ?>',animate:true,close:true,mask:false,boxid:'success',openjs:function(){openJS()}})"></li>
Footer
------
<script type="text/javascript">
function openJS(){setTimeout("top.location.href = '$redirect_url'",5000);}
</script<
這個心不是工作,我希望它,任何人可以解釋我要去的地方錯了嗎?
完美,不能相信我錯過了顯而易見的:) – fightstarr20