Title: shortcode just for posts?
Last modified: August 22, 2016

---

# shortcode just for posts?

 *  [sanderbelou](https://wordpress.org/support/users/sanderbelou/)
 * (@sanderbelou)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/shortcode-just-for-posts/)
 * is there a shortcode that just translates the page or post where the shortcut
   is written?
    i saw something in the settings
 * > Single language usage in
   >  nav menu/pages/posts
 * but it just said: “Spanish” in my text… not even clickable.
 * I dont want to translate my whole site but just a post. if i use the [google-
   translator] shortcut i get a button that translates my meny and sidebars too.
   
   Also in the button that comes up i can not choose to set it to off…
 * a resetbutton or “default” between the languages would also help… or a shortcode
   that just translates that piece of text where it is placed.
 * [https://wordpress.org/plugins/google-language-translator/](https://wordpress.org/plugins/google-language-translator/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-just-for-posts/#post-5281025)
 * Hi sanderbelou, for now I only know of a way to prevent translation on one single
   piece of the website. But I don’t know of a way to translate ONLY one piece of
   your site, unless I were to add some custom CSS directly to your website.
 * In the future I might add an interface to allow you to choose certain areas of
   your site, but as of now it is not ready.
 * Also, I believe the most recent update should fix the other issue with the link
   not being clickable. I’m sorry for that inconvenience.
 * Let me know if you are able to fix.
 * Thanks, Rob
 *  [hunterF](https://wordpress.org/support/users/hunterf/)
 * (@hunterf)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-just-for-posts/#post-5281040)
 * Hi Rob
 * Hi sanderbelou, for now I only know of a way to prevent translation on one single
   piece of the website.
 * how this is done?
 * Thanks!!!
 *  Thread Starter [sanderbelou](https://wordpress.org/support/users/sanderbelou/)
 * (@sanderbelou)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-just-for-posts/#post-5281041)
 * thanks!
    I used something else 🙂
 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/shortcode-just-for-posts/#post-5281062)
 * Hi sanderbelou, would you mind sharing your solution? Did you use another plugin
   for this?
 * Also for **hunterF**, you can prevent translation on a single element by adding`
   class="notranslate"` to that HTML element.
 * That will prevent translation on all items within that element.
 * Thanks!
 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/shortcode-just-for-posts/#post-5281063)
 * Also, sanderbelou – I will be working on a function that targets only a specific
   area of your site. I’m currently thinking through it, I’m certain that in the
   upcoming few months it should be available.
 * Thanks for using the plugin either way!
 * Rob Myrick

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘shortcode just for posts?’ is closed to new replies.

 * ![](https://ps.w.org/google-language-translator/assets/icon-256x256.png?rev=3007649)
 * [Translate WordPress - Google Language Translator](https://wordpress.org/plugins/google-language-translator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-language-translator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-language-translator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-language-translator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-language-translator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-language-translator/reviews/)

## Tags

 * [page](https://wordpress.org/support/topic-tag/page/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [reset](https://wordpress.org/support/topic-tag/reset/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 5 replies
 * 3 participants
 * Last reply from: [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/shortcode-just-for-posts/#post-5281063)
 * Status: not resolved