{"id":12531410,"date":"2020-03-11T10:04:55","date_gmt":"2020-03-11T10:04:55","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/blog-post-preview-from-translated-post\/"},"modified":"2020-03-11T10:04:55","modified_gmt":"2020-03-11T10:04:55","slug":"blog-post-preview-from-translated-post","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/blog-post-preview-from-translated-post\/","title":{"rendered":"Blog post preview from translated post"},"content":{"rendered":"<p>Hey there,<\/p>\n<p>my theme includes a small preview of the blog posts, taking the first few words of each post (see screenshot):<\/p>\n<blockquote class=\"imgur-embed-pub\" lang=\"en\" data-id=\"mw3Sxaa\"><p><a href=\"https:\/\/imgur.com\/mw3Sxaa\">View post on imgur.com<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/s.imgur.com\/min\/embed.js\" charset=\"utf-8\"><\/script><\/p>\n<p>Of course I can manually translate this little snippets for every blog post, but I was wondering if there is a smarter way.<\/p>\n<p>Is it possible to take the first few words of the already translated post itself and fill it to the preview? Just like my theme is doing it for the default language?<\/p>\n","protected":false},"template":"","class_list":["post-12531410","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12531410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12531410\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12531410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}