Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hi essdeeay,

    I checked the page that you liked to, but the only shortcode I’m seeing is [media-tags...].

    By your description, it sounds like the [dg] is just being printed to the page as written (rather than being parsed into a gallery), is that correct?

    If that’s the case, there are two possibilities I can think of:

    1. I have to ask the obvious question, did you *enable* Document Gallery after installing? That would be on the plugins page in your dashboard.
    2. Some other plugin is messing with things it shouldn’t be. Try disabling all plugins except for Document Gallery and see if the problem persists.

    Please let me know what shows up after you check the above things on your setup.

    Thanks!
    -Dan

    Thread Starter essdeeay

    (@essdeeay)

    Hi Dan,

    Thank you for taking the time to reply.

    Yes, I enabled the Document Gallery plugin – I know you had to ask – it’s like checking if the power cable’s plugged in šŸ˜‰

    I’ve disabled *all* other plugins, and the only text on my page is now:
    [dg [fancy=true] [category=test-category] ]

    But if you go to the page, you’ll see what I’m getting.

    I’m using WordPress 3.9 and for the purposes of diagnosing this problem, and unmodified TwentyFourteen theme.

    Kind regards,
    Steve

    Plugin Author Dan Rossiter

    (@danrossiter)

    Ah-ha! Remove the brackets around each of the parameters (leave just the outer ones around dg itself) and it should work. Those are in the documentation to indicate that the attribute is optional šŸ™‚

    -Dan

    Thread Starter essdeeay

    (@essdeeay)

    Dan – thanks, we’re almost there. No code errors now, it’s just not displaying the files. If you check out this page, you’ll see: http://www.liturgysingers.org/test/

    It could be that the taxonomy name is not ‘category’ when using this plugin. I don’t care which plugin I use, just want to be able to assign categories/tags to media so your plugin will display them nicely on my pages.

    Alternatively, how do I find out the taxonomy name (if that’s what you call it?)

    -Steve

    Plugin Author Dan Rossiter

    (@danrossiter)

    Steve,

    What plugin are you using to set the category value? The one I know of where users have had success is Media Library Categories. There are definitely other ones that will work, but the taxon name may change. For the one linked above, it will be [dg category=...].

    -Dan

    PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! šŸ™‚

    iamcreating

    (@iamcreating)

    Hello

    am also having an issue with the short code.

    http://omahawcc.us/newsletters/

    the plugin is active
    all I have is [dg] as tag
    I have a pile of .pdf files in my media folder, no categories

    any troubleshooting thoughts?

    Thanks!

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi iamcreating,

    If you put [dg localpost=false] does it work? My guess is that your PDFs aren’t attached to the post you want them to be displayed on, in which case DG doesn’t know which attachments you want to display.

    Please let me know if changing the localpost attribute doesn’t solve your issues!
    -Dan

    PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! šŸ™‚

    Thread Starter essdeeay

    (@essdeeay)

    Aha! – I was having the same problem as ‘iamcreating’ – I hadn’t added the media to any post/page, so I’ve done as you suggested and used localpost=false.

    Thanks very much Dan for your support – it’s a great plugin and I will rate now.

    Steve šŸ™‚

    Plugin Author Dan Rossiter

    (@danrossiter)

    Glad to help, Steve!

    Thanks for rating! šŸ™‚

    -Dan

    iamcreating

    (@iamcreating)

    That did it. Wow that is fantastic.

    Stupid question… How can I attach the documents to the page without leaving a big list of ugly linked documents at the bottom?

    Sorry to be the slow kid in class!

    Plugin Author Dan Rossiter

    (@danrossiter)

    No worries, iamcreating. Not a stupid question! šŸ™‚

    The easiest solution is to attach only to the post you want the documents only the documents you want displayed. If you attach them to the post you can remove the localpost=false and everything will “just work.”

    To attach a document you can either go to the post you want it attached to and upload directly from there. If the documents are already uploaded, you’ll need to go to Dashboard -> Media and the documents you want to attach will (hopefully) have an “Attach” option under the “Uploaded to” column. If you click that and select the post you want the documents to displayed to, everything should work.

    If attaching the documents to the post you want to show them on doesn’t work with how you want to use them, there are some more complicated options I can discuss, but let’s start with that.

    -Dan

    PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! šŸ™‚

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

The topic ‘Shortcode not working’ is closed to new replies.