我手动获取帖子和标签并正确形成标签网址,但仍然标签链接不起作用。单击“在浏览器中检查网络”选项卡,自动将ajax请求发送到admin-ajax.php。
if (is_array(get_the_tags($post->ID)) || is_object(get_the_tags($post->ID))) :
foreach(get_the_tags($post->ID) as $tag)
{
echo '<li><a href="' . get_tag_link($tag->term_id) . '" title="'.$tag->name.'" class="'.$tag->slug.'">' . $tag->name . '</a></li> ';
}
endif;
验证链接; http://139.162.60.231/fow/
Html Formed:
<a href="http://139.162.60.231/fow/tag/startup/" title="Startup" class="startup">Startup</a>
答案 0 :(得分:0)
尝试使用:
mywebView .setWebViewClient(new WebViewClient() {
@Override
public void onPageFinished(WebView view, String url) {
//Page loading has finished. Hide the progressbar here.
}
});
mywebView.loadUrl("http://lightlobbies.com/p/");