The shortcode for WordPress Download Manager Public Profile:

[wpdm_user_profile template="link-template-id"]

Parameters:

 

Configuring Profile Page:

  1. Go to WordPress Admin Menu >> Downloads >> Settings >> Frontend, select the Public Profile Page you created:
    Public Profile Page Settings
  2. And click on “Save Changes” button to save your selection.

 

What authors need to do to configure their profile:

  1. Go to Author Dashboard ( Author Dashboard Shortcode explained here https://www.wpdownloadmanager.com/doc/short-codes/wpdm_frontend-front-end-uploader-ui/ )
  2. Click on “Edit Public Profile” from the left side menu, it will look like the following image:

    [caption id=”attachment_55676″ align=”alignnone” width=”960″]Edit Public Profile Edit Public Profile Demo https://demo.wpdownloadmanager.com/wpdmpro/frontend-uploader/?adb_page=edit-profile[/caption]

  3. Now fill the fields properly on “Edit Public Profile” page and click “Save Changes” button.

Demo:
http://demo.wpdownloadmanager.com/wpdmpro/profile/?profile=admin

Note for theme developers:

If you want to use this shortcode in WordPress native author page ( …site-url/author/user_nicename/ ), please follow the steps:

  1. Create author.php inside you theme dir
  2. Instead of regular loop use following code:
    <?php echo do_shortcode('[wpdm_user_profile template="link-template-id" items_per_page=12]'); ?>
  3. Now, if you want to customize template file please follow the steps #4 – #6
  4. Create a dir named download-manager inside your theme dir
  5. Copy user-profile dir from plugins/download-mamager/tpls and paste it in [theme-dir]/download-mamager
  6. Now you can edit [theme-dir]/download-manager/user-profile/profile.php as per your need

Note for webmasters:

  1. if your theme have a template named `author.php`, open it, replace the loop with following code:
    <?php echo do_shortcode('[wpdm_user_profile items_per_page=12]'); ?>
  2. If your theme don’t have `author.php`, copy `page.php`, name the new file `author.php`, open it, replace the loop with following code:
    <?php echo do_shortcode('[wpdm_user_profile items_per_page=12]'); ?>
Last Updated: Mar 26, 2017


Leave a Reply