• korythewebguy

    (@korythewebguy)


    First and foremost, this is a FANTASTIC plug-in! I can’t even begin to say how much time it saves me, and am going to donate to it’s developer again!

    I have a Custom Post Type called “Downloads” for which I’m intending to allow the client to add files which can then be downloaded on the website with hit tracking. (I know I could just use one of the many “download manager” plugins available, but I’m trying this first.)

    One of the “Custom Field Template” fields I have set up for this Post Type is called “Download_Size”, where WordPress will get the bytesize of the added file (via PHP) and display it in a read-only text box. I have this field set up as follows:

    [Download_Size]
    hideKey = true
    type = text
    size = 32
    label = File Size
    code = 0

    I’m able to echo out the resulting string from PHP, so I know it’s working – However, anything I set to $value does not go into the text box. (e.g. $value = ‘Yes we can’; does NOT put Yes we can into the text box.)

    Am I assigning my string from PHP to the wrong variable, or is this just broken for the time being?

    http://wordpress.org/extend/plugins/custom-field-template/

Viewing 1 replies (of 1 total)
  • Hey! im having trouble adding page titles to the the header of my blog, do you have any suggestions on how to do soo? and im having problems with font as well1 would greatly appreciate your help if you know how. the site is celebrityshoestatus.com let me know if u need any other info.

    thanks!

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Custom Field Template] PHP Code $value not showing in text boxes’ is closed to new replies.