- 0
WordPress Loop Side Effect
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 3 answers
- 3,249 views
-
QNAP issues patch for an RCE security vulnerability affecting PHP in NAS Drive management
By Alap Naik Desai,
- remote code execution
- rce
- (and 12 more)
- 0 replies
- 6 views
-
Get this Dynamic 2022 Data & IT Security Training Bundle at 97% off
By News Staff,
- neowin deals
- cyber security
- (and 4 more)
- 0 replies
- 6 views
-
Save 98% off this 27 Course Premium Learn to Code Certification Bundle
By News Staff,
- neowin deals
- coding
- (and 10 more)
- 0 replies
- 9 views
-
Get the Complete 2021 Superstar Backend Developer Bundle for only $39.99
By News Staff,
- neowin deals
- sponsored
- (and 7 more)
- 0 replies
- 321 views
-
Question
Mr.XXIV
I'm using this plugin to display the "Trending" list. http://wordpress.org/extend/plugins/wp-most-popular/
The way this loop is set is causing the post loop to react to it. The first post in the trending list will end up going to the article's loop, replacing the original content.
I believe it's the "foreach". I tried doing "while", but it didn't work for me.
Anyone know a way? Check out the screenshot (look at the "Trending" bar, the post, and also look at the URL and the title on the browser) and you'll know what I mean. :)
Link to comment
Share on other sites
17 answers to this question
Recommended Posts