WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Download Manager
Short code to add to template file (2 posts)

  1. dezinezone
    Member
    Posted 1 year ago #

    Hello What would I use as php code to add a category to the template itself instead of into a page or post?

    This is a link to my test site
    http://67.18.218.218/~garston/tech-solution/

    This is the short code for my main category
    {wpdm_category=tech-solutions}

    And this is the code I have tried but does not work in the template page code

    <?php if ( function_exists( 'wpdm_category' ) ) { wpdm_category('tech-solutions'); } ?>

    http://wordpress.org/extend/plugins/download-manager/

  2. gladsonucan@gmail.com
    Member
    Posted 1 year ago #

    <?php echo do_shortcode('[wpdm_file id=2]'); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.