Title: Shortcode not work in the backend
Last modified: June 12, 2019

---

# Shortcode not work in the backend

 *  Resolved [yukabuki](https://wordpress.org/support/users/yukabuki/)
 * (@yukabuki)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-work-in-the-backend/)
 * Hello, I’m french so sorry for my level of English.
    I can not use the shortcode
   in the backend. `echo do_shortcode ('[fileaway type = "table" base = "2"]')` 
   not working. How can I make it work?

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

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-work-in-the-backend/#post-11630219)
 * Are there files in the directory you’re pointing to? If not, you need to add `
   directories="true"` to your shortcode.
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-work-in-the-backend/#post-11630232)
 * Also, there should be a semicolon at the end of that line of code.
 * `echo do_shortcode('[fileaway type="table" directories="true" base="2"]');`
 *  Thread Starter [yukabuki](https://wordpress.org/support/users/yukabuki/)
 * (@yukabuki)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-work-in-the-backend/#post-11630349)
 * Thank you, but there are files and I have the semicolon at the end. WordPress
   shows me [fileaway type = “table” base = “2”] as the result, as if the shortcode
   was not recognized.
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-work-in-the-backend/#post-11630392)
 * Do you mean you’re trying to load File Away on a wp-admin page? WordPress shortcodes
   are for front end only.
 *  Thread Starter [yukabuki](https://wordpress.org/support/users/yukabuki/)
 * (@yukabuki)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-work-in-the-backend/#post-11630461)
 * Yes that’s exactly it…
    So if I want to make a page in wp-admin to view all the
   files that my users send me, I can not?
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-work-in-the-backend/#post-11630471)
 * Correct. Front-end only. You can make the page private and add `showto="administrator"`
   to your shortcode and only administrators will see the files.
 *  Thread Starter [yukabuki](https://wordpress.org/support/users/yukabuki/)
 * (@yukabuki)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-work-in-the-backend/#post-11630488)
 * OK I’ll do that
    Thank you

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

The topic ‘Shortcode not work in the backend’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [yukabuki](https://wordpress.org/support/users/yukabuki/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-work-in-the-backend/#post-11630488)
 * Status: resolved