display CPT next to post title This topic has 11 replies, 2 voices, and was last updated 4 years ago by Ernest Marcinko. Viewing 12 posts - 1 through 12 (of 12 total) Author Posts July 27, 2020 at 8:04 am #28698 dklong57Participant Hello Can you advise the if there’s any Advanced Title Field so i can display CPT name next to the Title? For example: Post – ABC Book – ABC July 27, 2020 at 1:48 pm #28710 Ernest MarcinkoKeymaster Hi, This knowledge base will help. There is no option, but a small custom code snippet. July 27, 2020 at 5:17 pm #28723 dklong57Participant You cannot access this content. July 28, 2020 at 8:57 am #28728 Ernest MarcinkoKeymaster Sorry, there was an error in that code, please use this one: add_filter( 'asp_results', 'asp_show_the_post_type', 10, 1 ); function asp_show_the_post_type( $results ) { foreach ($results as $k=>&$r) { if ( isset($r->post_type) ) { // Modify the post title $r->title = get_post_type( $r->id ) . ' - ' . $r->title; } } return $results; } July 28, 2020 at 10:10 am #28731 dklong57Participant You cannot access this content. July 28, 2020 at 11:36 am #28732 Ernest MarcinkoKeymaster You are welcome. This documentation should help! August 9, 2020 at 8:58 am #28851 dklong57Participant You cannot access this content. August 10, 2020 at 1:23 pm #28871 Ernest MarcinkoKeymaster Hi, Some product attributes might be custom fields, other can be taxonomy terms. Enabling the search in taxonomy terms feature will help then. August 10, 2020 at 4:12 pm #28891 dklong57Participant You cannot access this content. August 11, 2020 at 12:47 pm #28904 Ernest MarcinkoKeymaster I see a few single character words in the terms, and I think changing this option may help: https://i.imgur.com/aTBmNXK.png If no change, can you please add temporary back-end and FTP access, so I can check the issue? Thank you! August 19, 2020 at 7:16 am #29044 dklong57Participant You cannot access this content. August 19, 2020 at 2:28 pm #29063 Ernest MarcinkoKeymaster You cannot access this content. Author Posts Viewing 12 posts - 1 through 12 (of 12 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In