Posting article with REST API

Posted in: Newspaper
Post count: 3

I’m using REST API to post an article /wp-json/wp/v2/posts
How can I add the information for Source name and Source URL. Both fields are in the Post settings but I can not find a way to give the data through the API

Post count: 21065

Hello!

They work as custom labels; the variable’s names are td_source and td_source_url.

Thank you!

Post count: 3

Thanks, but for some reason it does not get the values from:
‘meta’: {‘td_source’: <source_name>, ‘td_source_url’: <source_url>}

Post count: 21065

Hello!

That’s not correct! Perhaps it is not that easy to do it.
For customization and other services, contact our custom work team here: https://tagdiv.com/premium-customization-services/.

Thank you so much for your understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.