Need help with hiding contents
11 years ago
zetts
Member
Hi!
I want to hide all the contents above the tag,I recently stumbled upon the
That you are supposed to put in the single.php file, but it's not working normaly with the theme. (using tank theme). Any idea on how i do it? If questions just ask. //Zetts |
11 years ago
Administrator
Support Service
Hi!
This option, works in our themes by default. After you added tag <!--more--> into a post, it will be cutted in the feed. But single.php shows full text of post. |
11 years ago
zetts
Member
When I put that into the single.php I get 2 posts "Obviously".
1 post "original" have all the info including the info before <!-- more --> and the "new" one that also comes don't have it. the "new" one also dont have the topic, categories and all the other things the "old" one has. I want all the info before the <!-- more --> to show in the feed while all the other text below the <!-- more --> to be shown when you are reading the article itself. Just say if there is misunderstandings and I will try to rephrase it. Sorry for eventual misspelling. |
11 years ago
zetts
Member
even with the <!-- more --> tag it's not hiding by default.
|
11 years ago
zetts
Member
Well it hides in the feed but not the post itself.
|
11 years ago
Administrator
Support Service
Hi!
I just checked theme Tank for working with <!--more--> tag. And it works well. This option works by default in the theme. You don't need to add any code in file single.php, or any other files. |
Leave a reply
Search by forum
SMThemes.com Support
-
Categories
- Framework
- Themes
- Affiliate Company
- Sponsorship Useful pages
- How to start using our themes
- Contacts