Get Post
Get Post adds a tag that allows you to retrieve and display the latest post identified by a specific set of parameters. When this plugin is active, any post or page can contain the get-post markup as follows: [get-post tag=some-tag] This will be replaced with the latest post tagged with the given tag. Parameters The parameters control which posts are retrieved by get-post. Options can be used in combination to build a list of criteria for post or posts to retrieve. By mixing criteria, you can exert a lot of control over the post(s) which are found by the plugin. [get-post tag=some-tag random show=3] One note on WordPress in general: if you specify criteria that WordPress can’t match, it will make something up. For instance, if you specify a tag or category that doesn’t exist, it will simply retrieve the latest post with no indication that anything is wrong. Take care to ensure that the options you specify are what you intend. Several of these parameters work best when specifying the slugs. For instance, when specifying a tag it’s best to use the slug value rather than the full name of the tag. To find the slug, see the admin panel -> posts -> post tags. The slug is listed right on that page. You may wish to specify an option value with a space in it. This is accomplished with quotes: [get-post option="a value with spaces"] tag: Specify a tag to search for. The tag’s slug should be specified. [get-post tag=some-tag] category: Specify a category to search for. The category’s slug should be specified. [get-post category=some-category] show: Specify the number of posts to show. [get-post show=5] template: Specify the template to use. This specification overrides the template set in the options panel of the admin interface. See the template section for more details on template tags. NOTE: If entering any HTML into this, please be sure to select the HTML editor rather than the visual editor. [get-post template=" Title: {title} "] random: Select a random post from the matching criteria [get-post random] default: This isn’t really an option. By default, get-post displays the latest blog post. [get-post] Templates Get-post ships with a default template that should render the usual post details in a form that fits well with most themes. You can customize this template to add or remove data from the included post. Additionally, you can use the template parameter to the [get-post] tag to specify a one-off template. Using the show parameter will retrieve multiple posts. In this case, the template will be repeated one time for each retrieved post. These tags are replaced with the value from the retrieved post. For instance, a template containing {title} will actually have the title of the retrieved post, rather than the word title. {title}: The title of the post. {content}: The content of the post. {author}: The author of the post. {date}: The date the post was written. {time}: The time the post was written. {permalink}: A link to the post itself. {authorlink}: A link to all posts by the post’s author. {id}: The post’s ID number. Examples Indicate when your blog was last updated: Blog last updated [get-post template="{date} at {time}."] Link to the latest post: Check out my post: [get-post template=" {title} "] How it works This plugin does something a little bit unorthodox: It reenters “The Loop” while the post content is being rendered. Then, it calls whatever WordPress internal functions will safely work, using raw data from $post when these functions are unsafe to call again. People curious about the internals should examine class-get-post-getter.php. The class is structured to be reusable by any other GPL2 projects.
Translation with DeepL API
This plugin allows you to use DeepL translation API to translate posts (and pages) right from your WordPress Admin. Adds a translate button to the edit post page. Shows current and remaining API usage. This plugin requires an active DeepL API subscription with access to the API. Please note that DeepL User or Teams plans do NOT include API access. You have to get a “DeepL Developer” plan (both ‘DeepL API Free’ and ‘DeepL API Pro’ work with this plugin) Want to translate Products, meta fields, or translate in batches? Get the DeepL Pro API plugin Please note: the free and the premium version works the same relative to content editors (Elementor, Blocks, etc.). You’re free to test this plugin on your website to see if your specific configuration works well with the plugin. We cannot guarantee that all content editors work perfectly with the DeepL API so please test this plugin before buying the premium (you’ll need the premium only if you need extended features like meta translations and batch translations) Legal This plugin is an independent tool developed by Fluenx and is not affiliated with, endorsed by, or sponsored by DeepL SE. DeepL® is a registered trademark of DeepL SE. All trademarks are property of their respective owners. External services This plugin connects to the DeepL API to provide machine translation services for your WordPress content. What data is sent The text content you choose to translate (post title, excerpt, and/or content) Your DeepL API key for authentication The source and target language codes When data is sent Data is only sent when you explicitly click the “Translate” button in the post editor metabox. No automatic or background translations occur. Service provider This service is provided by DeepL SE. DeepL Terms and Conditions DeepL Privacy Policy DeepL API Documentation Note: This plugin requires a DeepL API subscription. The free “DeepL API Free” plan or paid “DeepL API Pro” plan both work. Standard DeepL User or Teams plans do NOT include API access. External services This plugin relies on the DeepL API to provide text translation services. Service used: DeepL API (provided by DeepL SE). Purpose: To translate WordPress content (posts, pages, strings) into different languages. Data sent: The text content requested for translation and the user’s API Authentication Key are sent to DeepL servers via secure HTTPS requests. Links: DeepL Terms and Conditions: https://www.deepl.com/en/terms/ DeepL Privacy Policy: https://www.deepl.com/en/privacy/ Trademark Disclaimer: This plugin is an independent integration and is not affiliated with, sponsored by, or endorsed by DeepL SE. The name “DeepL” is a trademark of DeepL SE.