Hi, This plugin is brilliant, but I have not found a way of adding an e-mail or URL field which will link by default. Has anyone tried this and got it working?
Hi, This plugin is brilliant, but I have not found a way of adding an e-mail or URL field which will link by default. Has anyone tried this and got it working?
Still hoping someone has done this - it would be great to have links to other sites and e-mails which I could add through the custom fields.
Fingers crossed.
If you are using the custom field template format, you can do that. Something like this:
TEMPLATE #0
[url]
type = text
size = 30
[email]
type = text
size = 30
FORMAT #0
<a href="[url]">[url]</a>
<a href="mailto:[email]">[email]</a>
In the post, use the shortcode like [cft format=0]. I hope this will help you.
And how abour multiple Urls using "select" type?
This is an example of multiple urls.
TEMPLATE #0
[url]
type = select
value = http://www.google.com/ # http://www.yahoo.com/
outputCode = 0
[url]
type = select
value = http://www.google.com/ # http://www.yahoo.com/
outputCode = 0
FORMAT #0
[url]
CODE #0
$value = '<a href="'.$value.'">'.$value.'</a>';
I think I must be missing something. All I can see when the post is published is [url][email] ehey behave like links, but are not creating links based on the values given, the only way I can display a link which works seems to be by putting the whole html <a href=" etc. into the value field.
In Template #2 I have the title 2 and then
[url]
type = text
size = 30
[email]
type = text
size = 30
In the post I have tried
[cft format=2] [cft template=2]
and
[url]
[email]
Please can someone who has this working tell me where I am going wrong.
Many thanks, Jane
Hello,
This post is really interresting but I would like to know what I have to put in the single.php at the bottom ?
Thanks for your help
Julien
Hi Hiroaki Miyashita,
I am wondering if it is possible to send and get published a post with custom fields name / key pair using your plugin and WP Post via-email feature.
Thanks in advance!
You must log in to post.