Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$5
WPLatte Framework - Custom Fields
I am trying to insert custom fields into single.php in WPLatte framework, but it doesnt work.
There is my custom field in single.php
<?php $url = get_post_meta($post->ID, 'url', true); ?>
<?php $download = get_post_meta($post->ID, 'download', true); ?>
<a href="<?php echo $url; ?>" rel="nofollow"><h4 class="toggle">Purchase <?php echo $download; ?> Now</h4></a>
This question has been answered.
Chymmi | 02/02/13 at 9:16pm
Edit
Tutorial: How to assign prize money
(9) Responses
See a threaded view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
02/02/13
9:51pm -

Last edited:
02/02/13
10:17pmArnav Joy says:try this
<?php $url = get_post_meta(get_the_ID(), 'url', true); ?>
<?php $download = get_post_meta(get_the_ID(), 'download', true); ?> -

Last edited:
02/02/13
10:09pm -

Last edited:
02/02/13
10:19pmArnav Joy says:or try this
<?php $url = get_post_meta($post->id, 'url', true); ?>
<?php $download = get_post_meta($post->id, 'download', true); ?>
<a href="<?php echo $url; ?>" rel="nofollow"><h4 class="toggle">Purchase <?php echo $download; ?> Now</h4></a> -

Last edited:
02/02/13
10:26pmChymmi says:Lol this works, maybe its bug ..in a few minuts I will tell you :D
Anyway thanks bro -

Last edited:
02/02/13
10:30pm -

Last edited:
02/02/13
10:32pm -

Last edited:
02/02/13
10:44pmArnav Joy says:Click on vote to award prize link below your question and then choose amount and click on vote.
-

Last edited:
02/02/13
10:45pmArnav Joy says:Also see this
http://blog.tailormadeanswers.com/2011/04/22/voting-assign-prize-money/
This question has expired.
Chymmi voted on this question.
Current status of this question: Completed
Please log in to add additional discourse to this page.
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
