无限滚动文字导致"Read More"错误



我正在使用无限滚动Wordpress插件,由于某种原因,使用该插件加载的所有帖子的"继续阅读"链接未正确显示。这是一个链接:http://fieldtreasuredesigns.com/。一旦你向下滚动到足够远以加载更多帖子,你应该注意到"继续阅读"链接搞砸了。正在发生的事情是,实际的文本"继续阅读"被推到外面,它只是显示为文本而不是在链接内。为什么要这样做?

以下是格式正确的"继续阅读"链接的 html:

<div class="entry-content">
                                    <p>Ok friends, let&#8217;s face it. It&#8217;s always time for coffee around here. So this week I am doing a giveaway to help you have a solid coffee time as well. It&#8217;s super easy to enter to win. Just repost the photo above on @Instagram with a shout to @fieldtreausuredesignsa and use the hashtag #fieldtreasurecoffeetimegiveaway. If </p>
                <a class="more-link auto" href=http://fieldtreasuredesigns.com/field-treasure-coffee-time-giveaway/>Continue reading &raquo;</a>                                <div class="clr"></div>
            </div><!-- .entry-content -->

下面是一个示例,说明当有人向下滚动到页面末尾并且无限滚动插件加载更多内容时加载的帖子的"继续阅读"链接会发生什么情况:

<div class="entry-content">
                                    <p>Yesterday I shared a live periscope&nbsp;of a little behind the scenes of our temporary shop and the last Saw Horse Desk build process for 2015. Enjoy! (Click the little play button down at the bottom if the video doesn’t automatically load.)</p>
                <a class="more-link auto" href="http://fieldtreasuredesigns.com/periscope-sawhorsedesk-bth"></a>Continue reading »                                <div class="clr"></div>
            </div>

任何帮助将不胜感激。

问题:

您在锚标记之外发短信,请检查存档页面以修复它。

固定代码

<div class="entry-content">
                                    <p>Yesterday I shared a live periscope&nbsp;of a little behind the scenes of our temporary shop and the last Saw Horse Desk build process for 2015. Enjoy! (Click the little play button down at the bottom if the video doesn’t automatically load.)</p>
                <a class="more-link auto" href="http://fieldtreasuredesigns.com/periscope-sawhorsedesk-bth">Continue reading » </a><div class="clr"></div>
            </div>

最新更新