Open hbooo opened 7 years ago
Hello,
Are you using rest api?
Hello,
Yes I am
I have correct my first post (show_in_rest instead of show_in_menu)
Sorry I haven't really checked this rest api so far... I need to have a look.
Can't you just pass a "language" parameter into the url? like "&language=xx" ?
I already tried but I got a 404
Hello,
I'm trying to add translated title and content of posts in mysite.com/wp-json/wp/v2/posts but I can't find where to modify it,
Can anyone help me pointing which file in need to modify?
I tried to add
'show_in_rest' => true,
in register_post_type array's in compat/sublanguage.php but it doesn't seems to workThanks in advance