WP Document Revisions Simple Downloads
Spanish translation, one suggestion and some problems with shortcode (5 posts)

  1. Eduardo Larequi
    Posted 2 years ago #

    Here you have the spanish translation of WP Document Revisions Simple Downloads plugin.

    In order to get the best results in taxonomy permalinks (I would like something closer to spanish than "file category"), I think it could very useful some way of modifying that taxonomy slug from the admin UI. I've done this by modifying line 57 in wpdrsd-taxonomies.php file (look at the URL in http://traduccioneswp.elarequi.com/categoria-de-ficheros/traducciones-de-plugins/), but I know this is not the best way.

    On the other hand, when I try to display a list of downloads on a page, by means of a shortcode, I can't get the correct output. Look, for example, at this page: http://traduccioneswp.elarequi.com/traducciones-de-temas/. The list includes not only theme translations, but also plugin translations.

    I've tried the shortcode [documents wpdr-file-categories="traducciones-de-plugins"] and many combinations of WPDR shortcode parameters, but to no avail. Any idea?


  2. daveshine (David Decker)
    Plugin Author

    Posted 2 years ago #

    Hi Eduardo!

    It's frustrating that the WP.org forum notification seems not to work or is delayed for days/weeks...
    However, thanks for hooking me up!!

    Your translations are awesome, will be included in next update which will be out very soon (this coming week!).

    For the taxonomy slug, I'll see if I could add a setting in the plugin. Still you can already use the filter for all the args of the taxonomy, if you need the (example) code for this snippet, I am happy to help you out!

    As for the shortcode, I am sure, the way you set it up will not work, at least not, with what Ben did built in for WPDR (see her: https://github.com/benbalter/WP-Document-Revisions/wiki/Frequently-Asked-Questions - scroll down a bit for shortcode parameters).
    You can try out the following:
    [documents cat="###"] where ### is your ID of the category
    [documents category_name="traducciones-de-plugins"]
    We have to ask Ben here for further advise if his shortcode supports all custom taxonomy parameters of WP_Query...

    If this is not working, you can try out the "Display Post Shortcode" plugin http://wordpress.org/extend/plugins/display-posts-shortcode/ -- see here for documentation and examples: https://github.com/billerickson/display-posts-shortcode/wiki
    I guess this may work then for you:
    [display-posts post_type="document" taxonomy="traducciones-de-plugins" posts_per_page="20"]

    I hope this helps for the moment :)
    -Thanks, Dave.

  3. Eduardo Larequi
    Posted 2 years ago #

    Thanks to you, Dave, for your attention and your suggestions. Unfortunately, none of the proposed alternatives work properly. Please look at this page:


    Shortcodes 1 and 2 don't work at all (no results), while shortcode 3 produces the complete list of plugin and theme translations.

    I've tried a fourth option (shortcode 4). The output is the same as in shortcode 3.

  4. Eduardo Larequi
    Posted 2 years ago #

    I've changed the URL where I've inserted shortcodes:


  5. reichi
    Posted 2 years ago #

    i have the same problem with the shortcode ... i get none or all files listet!

    need an option to only show downloads from one category!

    any ideas?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Document Revisions Simple Downloads
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic