Home » Ask (Forum) » [help] custom meta box for download URL in video tu


I need custom meta box for download url.

Nov 23, 2016 (1 year ago) - Posted by 5 Comments

5 Answers

  1. Support says:

    Hello, may I know what theme do you using in your site? Thanks.

    Team Support
  2. Support says:

    Thank you for the information. Please follow this instruction:

    1. Create a new post. Go to “Custom field” box, screenshot:
    Custom field

    2. Click “Enter New” link (inside “custom field” box).
    – In “Name” field write “download_link“.
    – In “Value” field enter your download url.

    3. Press “Add Custom Field” buttom. Now you have new field.
    new field wordpress


    4. Now open single.php file (inside your theme folder).

    5. For display the download link, please add below code inside your single.php file.

    <?php echo get_post_meta($post->ID, 'download_link', true); ?>

    Good luck.

    Team Support
  3. virtualitsupport says:

    i have tried but not showing anything ….

    Register Member
    • Support says:

      Are you sure?? Please cross check your code, maybe you forget something.
      Are you sure, you add below code into single.php file?

      <?php echo get_post_meta($post->ID, 'download_link', true); ?>
      Team Support

Your Answer

Your email address will not be published. Required fields are marked *