Title: Shortcode Not Working
Last modified: May 7, 2020

---

# Shortcode Not Working

 *  Resolved [louisgossify](https://wordpress.org/support/users/louisgossify/)
 * (@louisgossify)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-not-working-333/)
 * I’m uploaded a number of documents which I am trying to display in different 
   areas of my website.
 * Using the Simple Taxonomy plugin I have created some custom fields by which to
   filter my documents: ims_section & ims_type
 * However when I use the shortcode [documents ims_section-“001man”] for example,
   it continues to display all documents without filtering.
 * Could you please tell me how to only display documents with the required taxonomies?
 * Thanks

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

 *  Plugin Contributor [nwjames](https://wordpress.org/support/users/nwjames/)
 * (@nwjames)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-not-working-333/#post-12807728)
 * [@louisgossify](https://wordpress.org/support/users/louisgossify/)
    There is 
   a simple way to ensure that you have the correct information entered.
 * This shortcode simply creates a WP Query and displays the result to you.
 * So you can create one that works in another, standard, way and once you confirm
   it works enter it into the shortcode.
 * If you go to the All Documents screen, you’ see that its web address is like:
   `
   https://example.com/wp-admin/edit.php?post_type=document`
 * Now modify it with your taxonomy query field:
    `https://example.com/wp-admin/
   edit.php?post_type=document&ims_section-“001man”`
 * I don’t expect this to work as is, because you have a minus character, and not
   an equals one. Change it to `ims_section=“001man”` to see if better.
 * Once you have a working example, copy/paste that into your documents shortcode.
 * You can have both taxonomies as selectors. Separate them with spaces in the shortcode.
 * Hope that is of use,
    Neil James
 * [If this answers your query, please can you mark it resolved.]
 *  Thread Starter [louisgossify](https://wordpress.org/support/users/louisgossify/)
 * (@louisgossify)
 * [6 years ago](https://wordpress.org/support/topic/shortcode-not-working-333/#post-12819730)
 * Thank you Neil, this is now working.
 * I’ll mark as resolved, I have another query which I will create a new post for.

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

The topic ‘Shortcode Not Working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-document-revisions_6c6c6c.svg)
 * [WP Document Revisions](https://wordpress.org/plugins/wp-document-revisions/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-document-revisions/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-document-revisions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-document-revisions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-document-revisions/reviews/)

## Tags

 * [taxonomy](https://wordpress.org/support/topic-tag/taxonomy/)

 * 2 replies
 * 2 participants
 * Last reply from: [louisgossify](https://wordpress.org/support/users/louisgossify/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/shortcode-not-working-333/#post-12819730)
 * Status: resolved