Home › Forums › Weaver Show Posts & Show Sliders › Showing a text when there are no available posts
- This topic has 5 replies, 2 voices, and was last updated 2 years, 6 months ago by
scrambler.
-
AuthorPosts
-
November 25, 2020 at 01:52 UTC - Views: 18 #66165
lachezarpeychev
ParticipantGood day,
Recently, I installed the plugin and I was very happy with its functionalities. I was wondering if there is a way for me to display a simple “There are no more posts of these kind” text when there are currently no more posts from a certain category that I am showing.
November 25, 2020 at 04:46 UTC - Views: 15 #66166scrambler
ModeratorJust to be sure, you want a message at the end of any list of posts displayed by the showpost shortcode?
Please provide a link to the site page with posts, as we need to check if you are using the XTreme Theme or some other theme.
We could do it with the XTreme theme but cant be sure with another theme without looking at the page.
November 25, 2020 at 05:48 UTC - Views: 10 #66167lachezarpeychev
ParticipantGood day,
I am using a different theme. Here is the link of the page : http://hoviragallatmentes.com/en/lost-and-found/
I am looking for a text to be shown that says “There are no more posts” if the plugin can not find anything from the category that I have set it up as.
Thank you for the quick response!
November 25, 2020 at 17:40 UTC - Views: 13 #66168scrambler
ModeratorYou can insert a message at the end of a show post shortcode page by adding the Custom CSS rule below to the Theme Custom CSS Rule box, and tuning the property.
#atw-show-posts-navigation:before {content: "No More Posts In that Category";padding: 10px;color: black;background-color: grey;width: 100%;display: inline-block;}
I am not sure if we could detect if there are no posts to have a different message, in order to find out, I would need a link to a page where the showpost shortcode does not return any posts to be sure.
Same thing regarding the situation where there would be more than one page of posts, I would need to see such a page to see if we could limit the message to the last page.November 29, 2020 at 22:39 UTC - Views: 5 #66194lachezarpeychev
ParticipantGood day,
I have removed all the posts from the page and there is a “No posts found.” as a text. Any idea if I can customize that text specifically? Here is the link again :
http://hoviragallatmentes.com/en/lost-and-found/Thanks!
November 30, 2020 at 00:22 UTC - Views: 2 #66196scrambler
ModeratorI am not following any of that…
The Page says : “There are currently no animals. Check with us tomorrow.”
AND NOT “No posts found.”
You don’t seem to have use the method I gave you, so how did you add that text?
If you added the text, then you can obviously make it what you want.
So you will need to elaborate on what you exactly mean here…
-
AuthorPosts
- You must be logged in to reply to this topic.