Custom Flash & Custom Field
-
This line is in my page template, I am trying to add a different flash piece to each page on my website.
I thought that I could create a custom field called flash assign a value and then use that value to complete the path to the flash file.
e.g.
“https://www.websitename.ca/swf/<?php $key_name = get_post_custom_values($key = ‘flash’); echo $key_name[0]; ?>.swf”The query doesn’t return an error but my page source shows
websitename.ca/swf/.swf
Can someone tell me what I am doing wrong?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Flash & Custom Field’ is closed to new replies.