by the way you need to list your taxonomy in the backend separated by comma, no spacing in between.
I wanted to reply to this question of showing multiple taxonomy for custom post type as ‘tag_spot_taxonomy’ and ‘category_spot_taxonomy.
you can do this by:
1/modifying this file (child theme does NOT work):
Newspaper/includes/wp_booster/wp-admin/panel/views/ajax_boxes/td_panel_cpt_taxonomy/td_get_cpt_settings_by_post_type.php
search for ‘tds_category_spot_taxonomy’ and for ‘tds_tag_spot_taxonomy’
at each location change ‘td_panel_generator::dropdown’ to ‘td_panel_generator::input’
This will allow you to list your taxonomy slug in the theme page/cpt&tax/ for your CPT
2/ modifying this file (you CAN copy it in your child theme):
/newspaper/includes/wp_booster/td_module_single_base.php
replace line 185
$category_spot_taxonomy = td_util::get_ctp_option($this->post->post_type, ‘tds_category_spot_taxonomy’);
by this
$category_spot_taxonomy = td_util::get_ctp_option($this->post->post_type, ‘tds_category_spot_taxonomy’);
$arr = explode(“,”, $category_spot_taxonomy);
foreach ($arr as $value) {
$category_spot_taxonomy = $value ;
also add one }, right before the ‘} else {‘
you also need to the same for the tag locaiton
reaplce line 602 by this
$tag_spot_taxonomy = td_util::get_ctp_option($this->post->post_type, ‘tds_tag_spot_taxonomy’);
$arr = explode(“,”, $tag_spot_taxonomy);
foreach ($arr as $value) {
$tag_spot_taxonomy = $value ;
also add one } right before the comment ‘// also update …’
Hopefully you get the idea 😉
Too bad Tagdiv td_panel_generator function doesn’t offer an option to create radio selection with multiple choices, that woudl have been really clean !!!
PLEASE TAGDIV implement this code, it is really usefull ! and easy for yuo to implement now 😉
Bogdan,
can you recommend a freelancer that has some experience with your theme ?
I see that you guys use a lot of specific functions in your theme.
Phil.
subed
I hope you guys will implement more options with CPT, this is really what would add the final touch to this wonderful theme.
you have done an AMAZING job with the theme, add CPT flexibility and it will be the BEST 🙂
subscribed
I will second that, I am also looking to understand how to do it.
I assume I can start from one of your block and put it into the child theme ?
I am looking for a block that will show all the terms from a taxonomy 😉
exemple:
taxonomy: book author
terms: victor hugo, hemingway, proust
I would like to make a page ‘book authors’ and then list in there all the authors, so when people click on these they can go to the term page for each authors.
May be I can do it differently ?
one more question, how can I change the CPT for the category page ? Do I have to modify the code in category.php ?
thank you this was very helpful ! I am impressed by the support for this plugin , this is really good business !
actually I tried your cpt plugin with the books CPT, tried to add a new post with that CPT
but it doesn’t show on the homepage latest articles either…