Timeline for Need to while loop and display contents in the subfield of a group field given by ACF
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 6, 2020 at 8:35 | comment | added | Pranavmtn | thank you Elaine,as you said ,i was not inside of mail loop.now it is working correctly.you pointed out in the right time | |
Feb 4, 2020 at 14:17 | comment | added | WebElaine |
Are you inside the main Loop of this template - the if(have_posts() ... part? If so, have you set your custom field to be assigned to a specific Post/Page, or are these fields edited in an options page? If they're edited in an options page, you have to add an additional parameter to all of your the_field() , the_sub_field() calls. And if you're not inside the main Loop, you need to include the post ID in your calls to them, so ACF knows which Post/Page to pull them from.
|
|
Feb 4, 2020 at 12:30 | review | Close votes | |||
Feb 20, 2020 at 3:05 | |||||
Feb 4, 2020 at 11:40 | history | edited | fuxia♦ |
edited tags
|
|
Feb 4, 2020 at 10:15 | history | asked | Pranavmtn | CC BY-SA 4.0 |