Forum Replies Created
-
AuthorPosts
-
September 2, 2014 at 11:32 am in reply to: Manage Taxonomy and Term Meta data at Add new screen #2363
SteveKeymaster@baar– So, “birthdate” will be term meta for “text_from”, and you want to enter data into “birthdate” here: post-new.php?post_type=cpt ?
September 1, 2014 at 2:51 pm in reply to: Manage Taxonomy and Term Meta data at Add new screen #2361
SteveKeymaster@barr- due to the way the WordPress new term screen is setup we have disabled the ability to add fields on term creation. Many of our fields didn’t layout properly.
SteveKeymaster@cdcorey– Sorry about that. This should have been in the changelog, or blog post and was missed.
August 29, 2014 at 6:02 pm in reply to: Taxonomies inside add more advanced fields in custom post types #2350
SteveKeymaster
SteveKeymasterWe had to make a change to the way numeric keys were handled. This change came in 0.9.4.
You will need to remove quotes around the numerical keys.
SteveKeymasterI don’t believe so. We’ll put that on the feature list.
SteveKeymaster@jason– Check out the Piklist ABOUT page in the admin menu. I believe that’s what you’re looking for.
August 27, 2014 at 11:56 pm in reply to: Pulling data from custom field and use it in place of Title of Custom Post Type #2332
SteveKeymaster@tuckerjoenz– This code is for future posts… glad it worked! For older posts you will probably have to write a custom script.
Closing this ticket.
August 27, 2014 at 11:21 pm in reply to: Pulling data from custom field and use it in place of Title of Custom Post Type #2329
SteveKeymaster@tuckerjoenz– This is working for me.
-Add new Grant
-Fill in Grantee Name
-Publish
-View All Grants.
-I see the name in the title column and in the database.What do you see?
August 26, 2014 at 11:41 pm in reply to: Pulling data from custom field and use it in place of Title of Custom Post Type #2326
SteveKeymasterGOOD NEWS
Piklist has a filter that let’s you set the Post Title IF the title is empty… which means NOT SUPPORTED by your CPT. So make sure when you register your CPT, thesupportsarray does not havetitlelisted.This code should change the title:
add_filter('piklist_empty_post_title', 'my_new_title', 10, 2); function my_new_title($data, $post_array) { // Grab the new title from the custom field. Replace my_custom_field with your own $new_title = $post_array['_post_meta']['my_custom_field'][0]; // Only filter on your custom post type. Replace my_custom_cpt with your own. return $post_array['post_type'] == 'my_custom_cpt' ? $new_title : $post_array['post_title']; }BAD NEWS
This will only set the title. The permalink does not match. We’re looking into a fix.August 26, 2014 at 4:54 pm in reply to: Pulling data from custom field and use it in place of Title of Custom Post Type #2320
SteveKeymasterDo you want to do this for EXISTING posts, or FUTURE posts?
August 26, 2014 at 2:38 pm in reply to: Why am I seeing piklist_meta_stories in my custom post types #2314
SteveKeymasterGlad to know the issue was an older version of Piklist, and an update fixed the issue.
Closing ticket.
August 26, 2014 at 1:39 pm in reply to: Why am I seeing piklist_meta_stories in my custom post types #2312
SteveKeymasterDo you have any code that is calling any Piklist filters? Feel free to zip up your code and upload it here, or email it to [email protected] if you want us to take a look.
August 26, 2014 at 1:17 pm in reply to: Why am I seeing piklist_meta_stories in my custom post types #2310
SteveKeymasterAre you sure that this meta box is being generated from this code? Do you have a file in /meat-boxes/ called stories.php?
-
AuthorPosts