Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to display custom field in value in the form implemented in single.php


  • 4ella
    Participant

    @4ella

    I have recently purchased price calculator script (not plugin) working perfectly on my buddypress blog in single.php, example here: http://www.4ella.com/2011/11/hospitone-night-club-olbia/

    In the code in single.php I have following code and I would like to change the value with value from custom fields:

    `

    €60

    €70

    `

    data-cost=”60″ is a value which I want to change dynamicaly depending on custom field in every post. How can I implement custom field code in every data-cost=”price1 custom field value” ?
    `data-cost=”ID, ‘key’, true); ?>”` doesnt work for me :-( , do I have to change something in functions.php to make it work ?

  • The topic ‘How to display custom field in value in the form implemented in single.php’ is closed to new replies.
Skip to toolbar