As you can see in the below screenshot, I had insert the <!--more-->
tag after 1st paragraph in this article /
But it is not working, any idea why?
As you can see in the below screenshot, I had insert the <!--more-->
tag after 1st paragraph in this article https://igntimes/20-amazing-youtube-tricks-and-tips/
But it is not working, any idea why?
Share Improve this question asked Mar 22, 2017 at 12:12 Rahul SharmaRahul Sharma 11 silver badge2 bronze badges1 Answer
Reset to default 0The <!--more-->
tag is a replacement for an excerpt. You want to use the excerpt or <!--more-->
tag on you blog/archive page, NOT on single posts.
The <!--more-->
tag will not work on a single post like this:
https://igntimes/20-amazing-youtube-tricks-and-tips/
However, it should work on the blog (in your case your homepage, https://igntimes/
. But you only show post-title and image here for every post in the grid, so it will not be visible)
or
in your category archive pages (in your case, for example https://igntimes/category/social/
. But here the Youtube-Tricks post is only displayed at the top in your special grid, and you also only show title and image in the tiles, so it will also be not visible.)
So please move the Youtube Post in the normal post list under your grid/tiles: (maybe just quickly change the date on that post)
Than you need to make sure that your archive templates are using the_content()
and not the_excerpt()
.
Than you should only see the content above the <!--more-->
tag on the youtube post.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744733688a4590613.html
评论列表(0条)