Custom fields display problem (used to work, but doesn't anymore)
This is concerning http://www.imwhatsnew.com.
The homepage list articles, that are actually links to external websites.
These links are put in categories (several loops), and also mention the website the article comes from (the source of the article)
I enter those sources in wp post editor, as a custom field.
Here is the code I use in list.php (the template that allows me to list posts this way. This is included by default in my theme) :
<span class="meta"> <?php global $wp_query; $postid = $wp_query->post->ID; echo get_post_meta($postid, 'source', true); wp_reset_query(); ?> </span>
This used to work perfectly untill a few days.
Now the problem is that it’s still shows the sources, but all links show the same source, i.e the latest one I added for the latest article.
Even weirder, the categories page work just fine : http://www.imwhatsnew.com/monetization/
It’s weird, I haven’t touched list.php since then.
What changed however in the meantime :
– switched to DSO
– switched to fastcgi
– played with W3TC to tweak website speed
Do you guys know where this comes from ?
- The topic ‘Custom fields display problem (used to work, but doesn't anymore)’ is closed to new replies.