I need custom meta box for download url.
Hello, may I know what theme do you using in your site? Thanks.
I am using video / movie theme
Thank you for the information. Please follow this instruction:
1. Create a new post. Go to “Custom field” box, screenshot:
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.
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); ?>
i have tried but not showing anything ….
Are you sure?? Please cross check your code, maybe you forget something.
Are you sure, you add below code into single.php file?
Your email address will not be published. Required fields are marked *