Timeline for Getting the category title / description returns first matching post?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 11, 2022 at 14:18 | comment | added | DeltaG | @JacobPeattie Yes, you are right! My answer was too fast. I edited my answer. Thanks for pointing it out! | |
Jan 11, 2022 at 14:14 | history | edited | DeltaG | CC BY-SA 4.0 |
Fixed my answer
|
Jan 11, 2022 at 14:07 | comment | added | Jacob Peattie |
This way won’t work. get_the_title() cannot get archive titles.
|
|
Jan 11, 2022 at 13:53 | comment | added | sackadelic |
So I was just able to fix it using get_the_archive_title() . Is there a benefit to your way?
|
|
Jan 11, 2022 at 13:50 | history | answered | DeltaG | CC BY-SA 4.0 |