Good evening,
First of all, I would like to say to the author of this plugin : you are really a genius. Chapeau ! I tried to start a plugin, but really to difficult for me now.
Now I would like only to implement the possibility to reply at a post (to create a correspondence between to user). For that, I post the ID of a post (name : ‘AutosID’) from a page to the ‘reply’ page (make with TDO form plugin).
In my ‘reply’ page, I use the “Append to Content” widget and add some code as you said Mark.
<?php
if(isset($_POST['AutosID'])){
$autosID=$_POST['AutosID'];
$destis=strtolower(trim(get_the_author($autosID)));
add_meta_value($post_ID,’Destis’,$destis);
}
to retrieve and store the name of the author of the first post.
But it doesn’t work. The meta-value isn’t created.
Could you help me ?
Best regards,
Romain
Mark Cunningham
Guest
February 5th, 2009 at 11:43 am
The best way is to use the “Append to Content” widget and add some code.
So, to clarify, what you want to do is take the first character (in capitals if a letter) of the post’s title and then add it to the category of the same name (i.e. ‘0′ to ‘9′ and ‘A’ to ‘Z’)? It’s definitely doable.
Try this (I haven’t tested it). Insert this piece of code into an Append to Content widget. Make sure the Append widget is at the end of your post.
Permalink | Quote