Support Forums for LiveMesh Themes & Plugins › Forums › Invent Theme Support › custom post type
Tagged: columns, custom post type, rename, testimonials
- This topic has 6 replies, 2 voices, and was last updated 5 years, 6 months ago by
palmtree.
-
AuthorPosts
-
October 9, 2019 at 4:49 am #31997
palmtree
ParticipantHi Code Master,
In the older version of Invent theme, there was “custom-post-types.php” where I could change name, singular_name, menu_name and add_new names for WordPress admin menu on the left hand side.
When I updated to new version of Invent theme, this is all gone..
I need to change following text appeared in menu section.*Departments, Departments, Add New
*Staff Profiles, Staff Profiles, Add New, Specializations
*Courses, Courses, Add New
*Team Profiles, Team Profiles, Add New, Departments
*Testimonials, Testimonials, Add NewBy the way, I use a child theme to customize the theme. I am basically not touching parent theme.
I appreciate your support.
Thank you.October 9, 2019 at 12:15 pm #32001palmtree
ParticipantI just would like to give you an update.
I could change all the labels (mentioned above) in the admin menu by using add_action function register_post_type & taxonomy.However inside “Testimonial” admin editing page, I cannot change columns title names inside table TH tags such as Title, Testimonial name, image, details or order…
I tried to write following in functions.php but only label name could change to Voice.add_action('init', 'makeCustomPostType'); function makeCustomPostType(){ register_post_type('testimonials', array( 'label' => 'Voice', 'public' => true, 'columns' => array( 'title' => 'Name', 'testimonial' => 'Details', 'testimonial-customer-image' => 'Picture', 'testimonial-customer-name' => 'Place', 'testimonial-customer-details' => 'Date', 'testimonial-order' => 'Order', ) )); }
Obviously columns array does not do anything here…
It would be amazing if you could give me some magic code.October 14, 2019 at 1:36 am #32012palmtree
ParticipantHello–?
Could you take a look at this ticket?
I also attached the image so that you know what I am after..
Thank you:-)October 15, 2019 at 1:09 pm #32015Raghavendra
ModeratorThis issue is already fixed in the dev build. Pls expect the update to roll out tomorrow.
Thanks for reporting this to us.
October 16, 2019 at 12:58 am #32022palmtree
ParticipantYes I know you are going to update shortcode for testimonial in the livemesh invent plugin and thank you! However I guess you might have missed my original question in this particular thread.. Please see the #32012 (and the attached picture) again. I would like to change the top wording of each table cell.
October 21, 2019 at 11:04 am #32041Raghavendra
ModeratorYou can use the translation files to change the wordings. With the new update, if you update the translation files in the languages folder of the plugin Livemesh Themes Addons, you should be able to see the strings as being available for translation.
Have submitted the update. It should be approved soon by the reviewers. Thanks for helping us find these issues.
October 25, 2019 at 12:59 am #32060palmtree
ParticipantThanks for that. I could do what I wanted:)
-
AuthorPosts
- The forum ‘Invent Theme Support’ is closed to new topics and replies.