Forum Replies Created
-
AuthorPosts
-
mostinterestingpeopleinworldParticipant
OK, Cool.
Can you please just give me a hint – in which file the widget code is?mostinterestingpeopleinworldParticipantIs there some code I need to add to the “newscard-widgets.php” file?
mostinterestingpeopleinworldParticipantGreat 🙂
Actually, one last quick question:
I’ve added different categories in the homepage, by setting widgets, as suggested above.How can I prevent the posts in the widgets from repeating in the Editor’s Pick and Trending Stories sections? (without choose specific category to Editor’s Pick or to Trending Stories)?
Meaning, the last posts I have on top (in Editor’s Pick & Trending Stories) wouldn’t appear in the categories that related to the widgets?Many thanks
mostinterestingpeopleinworldParticipantI’ve been modifying the code above in order to display no categories at all. My modification:
body:not(.single-post) .entry-meta .cat-links {
display: none;
}It seems to work OK, but I just wanted to make sure it doesn’t damage anything else, since it’s my own modification…
Can you please approve if the code is correct?mostinterestingpeopleinworldParticipantBrilliant! I was completely unaware of this instruction page.
Thanks 🙂mostinterestingpeopleinworldParticipantWonderful! thank you 🙂
June 20, 2020 at 7:27 pm in reply to: Remove Duplicate Posts in Editor’s Pick Section and Trending Stories Section #78667mostinterestingpeopleinworldParticipantGot it.
Thanks a lot!June 19, 2020 at 8:31 am in reply to: Remove Duplicate Posts in Editor’s Pick Section and Trending Stories Section #78633mostinterestingpeopleinworldParticipantSo I’ve created 8 different categories with one post per category, but still the last 4 posts that appear under “editor’s pick” and “trending stories” sections, repeat themselves under the “popular stories” section.
What did I missed?
Should I define which categories appear under each section? If so, how do I do it?June 16, 2020 at 7:51 pm in reply to: Remove Duplicate Posts in Editor’s Pick Section and Trending Stories Section #78532mostinterestingpeopleinworldParticipant*To be clear – I’m asking only about the “popular stories” section, because I understand what’s below is more complicated
June 16, 2020 at 4:30 pm in reply to: Remove Duplicate Posts in Editor’s Pick Section and Trending Stories Section #78528mostinterestingpeopleinworldParticipantthanks again for your reply 🙂
Can you please explain further the categories sections?After you’ve posted the first code chunk above – it worked well; “editor’s pick” and “trending stories” doesn’t contain same posts (for example, one contains posts 1+2, the other contains post 3+4).
However, the section “popular stories” below them contains the 4 posts they already contain, even though I have over 8 different categories in my site.
How can I avoid “popular stories” to repeat the posts under “editor’s pick” and “trending stories” sections?June 13, 2020 at 5:46 pm in reply to: Remove Duplicate Posts in Editor’s Pick Section and Trending Stories Section #78467mostinterestingpeopleinworldParticipantFor some reason I didn’t get your answer to my email and meanwhile changed theme…
I got back to these theme now and your solution works!
However, I wanted to know how how can I get a homepage with 0 repetitive posts (except “Main stories” which I don’t mind repetitive there from other sections).Meaning, I want to display posts as follow:
1. 2 latest posts under “trending stories”
2. 2 posts before them – under “editor’s pick”
3. 4 posts before them under “popular stories”
4. below – earlier posts (that aren’t appear in any of the sections above)So what is the proper code for that?
Thanks again!
-
AuthorPosts