Timeline for Get title color from category custom field
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 17, 2021 at 19:51 | answer | added | Alexander Holsgrove | timeline score: 0 | |
Dec 8, 2021 at 20:35 | comment | added | Usman | Tried using get_queried_object_id() but it didn't work. | |
Dec 8, 2021 at 16:33 | comment | added | WebElaine |
Have you tried get_queried_object_id() ? get_queried_object() returns a full WP_Post object and according to ACF documentation get_field() is looking for just an ID.
|
|
S Dec 8, 2021 at 16:27 | review | First questions | |||
Dec 22, 2021 at 16:27 | |||||
S Dec 8, 2021 at 16:27 | history | asked | Usman | CC BY-SA 4.0 |