Timeline for Problem with WordPress query on page using custom fields
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 15, 2014 at 13:30 | comment | added | Even T | Thank you so much! Much appreciated. The code you gave me after the edit worked like a charm. I was able to pull all the custom fields. This is like a "related post" roll under my silopages, where I pull posts with custom fields based on another custom field on the pages. When I use this as a page template, I can get a roll with related posts and easily silo my WP sites. To anyone that googles this later. :) | |
S Sep 15, 2014 at 12:19 | history | suggested | codescribblr | CC BY-SA 3.0 |
fixed a typo in 4th line from the end causing a php error.
|
Sep 15, 2014 at 11:44 | review | Suggested edits | |||
S Sep 15, 2014 at 12:19 | |||||
Sep 14, 2014 at 20:54 | history | edited | AnC | CC BY-SA 3.0 |
added 847 characters in body
|
Sep 14, 2014 at 16:00 | comment | added | Even T | Thanks, but still no luck. With the latest change, I just get a blank screen. | |
Sep 14, 2014 at 13:41 | comment | added | AnC | i have updated the code. I think you only have to get the fields after u specified the post type in the loop args | |
Sep 14, 2014 at 13:38 | history | edited | AnC | CC BY-SA 3.0 |
deleted 438 characters in body
|
Sep 14, 2014 at 13:29 | history | edited | AnC | CC BY-SA 3.0 |
added 99 characters in body
|
Sep 14, 2014 at 13:26 | comment | added | AnC | i didnt' notice that your are using ACF. I look into this again in the evening. Perhaps this link helps advancedcustomfields.com/resources/code-examples | |
Sep 14, 2014 at 13:04 | comment | added | Even T | Thanks for your reply, but I still can't get it to work. I get a blank page, however if I change the echo in the while loop to something like 'test', I get this printed 4 times, which is the number of sammenligne-posts I have. | |
Sep 14, 2014 at 12:51 | history | edited | AnC | CC BY-SA 3.0 |
deleted 123 characters in body
|
Sep 14, 2014 at 12:45 | history | answered | AnC | CC BY-SA 3.0 |