[Plugin: TDO Mini Forms] Post titles that don’t have a date and timestamp
-
I’m using your plugin to allow visitors to make posts (as most people do). When a post is submitted, in the Dashboard, the titles of the post are the date and and a timestamp. Is there any way to change that? I’ve created a title field and used the following code in the append widget:
<?php /* assuming you have called the custom field key "name"... */ $post_title = get_post_meta($post_id, 'unique_post_title', true); $postdata = array( "ID" => $post_id, "unique_post_title" => $post_title; sanitize_post($postdata,"db"); wp_update_post($postdata); ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘[Plugin: TDO Mini Forms] Post titles that don’t have a date and timestamp’ is closed to new replies.