• Resolved robotor

    (@robotor)


    How can I add the short description or post content into a categories list content template?

    I’ve tried adding things like this to another existing template:

    <?php echo $dlm_download->short_description(); ?>
    <?php $dlm_download->short_description(); ?>
    <?php $dlm_download->post_content(); ?>
    etc.

    But nothing works, and it breaks the page output.

    • This topic was modified 7 years, 7 months ago by robotor.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter robotor

    (@robotor)

    Is this plugin still supported or in active development?

    Hello

    To display the short description, please use below code in custom template:

    <?php $dlm_download->the_short_description(); ?>

    To display the main download content, please use below code:

    <?php echo apply_filters( 'the_content', $dlm_download->post->post_content ); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add short description to category list’ is closed to new replies.