Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
昨天,一个额外的 twitter 关注按钮开始出现在网站的 AddThis 部分,因此有两个相同的 twitter 关注按钮。AddThis 将按钮放入 JavaScript。这一定是一个 AddThis 或 Twitter 错误,因为在 html 的 addthis 部分中只有一个 twitter 链接。
今天它似乎已经修复,但这可能在未来有用。我通过隐藏第二个 Twitter 关注按钮来修复它:
iframe.twitter-follow-button + iframe.twitter-follow-button { display: none; }
<?php if($range == 'arizona'): ?> <?php echo $image->county; ?> <?php endif; ?>
好的,所以这段代码正在运行,并且回显输出是:“arizona”
现在我想用 echo 替换第一行的“arizona”。我试过