Hi,
We need a description on top of posts that will be used on other parts of the website as well as on Google (if we didn’t specify a meta description). So the 1st paragraph is useful.
But, if we have this 1st paragraph and then start a smartlist with a 1st H tag, then the 1st paragraph remains on top, mostly on the mobile version of Smartlist 2.
I thought I could start with a 1st H tag with this paragraph and then start the list at the 2nd H tag.
But, of course, my top 10 is now a top 11.
Is there a way to skip the count of the first H tag so it still shows as the 1st slide but without any number and then my list starts at 10?
https://www.coupdepoker.com/culture-poker/top-meilleurs-films-poker/
Thanks
Hi,
The smart list will use the heading you choose when creating it
– https://www.screencast.com/t/KqyLWxsBYj
So if you use one heading or paragraph in the beginning of the post, then a different one for the smart list, this will be outside of the smart list content on top.
If you use the same heading type as the smart list, then it will be considered the starting point of the smart list.
The smart lists are complex, modifying the files could cause them not to function correctly.
Maybe you could use a post subtitle for the posts instead
– https://www.screencast.com/t/0xo3N29z
Thanks
Hi Simion,
Thanks for your reply but unfortunately the Subtitle solution doesn’t work, look at the excerpt then: https://ibb.co/e0ESbx. That’s the text of the 1st item on the list, not the Subtitle text.
And if I leave the description out of the H tags then I have it on all pages on the Mobile version: https://ibb.co/hzRqwx
What could be the solution then? I’m surprised to be the 1st one to have this problem (which is very important SEO wise). How do other websites handle the SEO on their smartlist pages?
Thanks
The excerpt and subtitle are different things, that is true. Block modules will display the excerpts, the subtitles are only displayed in the post page.
The excerpt is either taken automatically from the post content, or you can enter it manually (in this case it will not be displayed in the post page, only in modules).
I have tried to explain above what will happen if you use a heading for example in the post content before the smart list. Also if the post begins directly with a smart list the excerpt will be taken from it, unless manually set.
You could leave it like that, with the text above the list. It could be as a description for the following smart list, that should not be a problem. Use a paragraph or heading for it.
Hi Simion,
Thanks for your detailed reply.
Unfortunately, it is an issue, mostly for the UX experience on the mobile version.
As you can see https://ibb.co/fDhgeH, in this top 10 the “top description” remains on top on the 2nd page of this top 10 list (number 9). Then, the previous/next buttons are below screen level and the content is also below. So, every time someone goes through those pages, he’ll have to scroll down, read, scroll down, read.. I bet the bouncing rate will be really high.
We need this first paragraph for excerpts (couldn’t find a way to specify an excerpt on all blocks without putting this text on top of this post) and SEO (although SEO could be handled by the meta description) but, in my opinion, it should disappear after the 1st page. Or there should be a way to specify the excerpt differently…
Maybe some CSS will work if you would consider it. For example a code like this will remove the first paragraph in all the posts that are paged
– https://www.screencast.com/t/EC7lzOnm1Z2A
It could be made to affect only certain posts
– https://www.screencast.com/t/12elDpSFsbXp
This is specific for that post if you want to make tests with it
body[class*="paged"][class*=postid-1325] .td-post-content p:first-child {
display: none;
}
For all posts it would be like this
body[class*="paged"][class*=single] .td-post-content p:first-child {
display: none;
}
The code will apply to posts that have the paged class, meaning when a smart list is used starting from the second page.
It will also apply if you use post pagination such as this
– https://forum.tagdiv.com/posts-with-pagination/
There is no way that I can think of to differentiate between posts containing a smart list and the ones that are simply paginated, also in relation to that paragraph.
Actually there is still a little problem:
On the test page (https://www.coupdepoker.com/culture-poker/top-meilleurs-films-poker/) everything works fine, the text under the H tags appears on secondary pages and the 1st paragraph disappeared. https://ibb.co/c8n0PH
But I tried on an other page: https://www.coupdepoker.com/actualite-poker/top-10-test/ and there all the text disappeared. I mean, the text under the H tags also disappeared. https://ibb.co/bCOPjH and https://ibb.co/dPi1Wx
Any idea why and how to fix it?
Thanks
Indeed, I did not see that. This should fix that, give it a try and see if it works properly
– https://www.screencast.com/t/1PQPfwUIuSE
body[class*=paged][class*=single] .td-post-content > p:first-child {
display: none;
}