Are there files in the directory you’re pointing to? If not, you need to add directories="true"
to your shortcode.
Also, there should be a semicolon at the end of that line of code.
echo do_shortcode('[fileaway type="table" directories="true" base="2"]');
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.
Do you mean you’re trying to load File Away on a wp-admin page? WordPress shortcodes are for front end only.
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?
Correct. Front-end only. You can make the page private and add showto="administrator"
to your shortcode and only administrators will see the files.
OK I’ll do that
Thank you