Editing a list of several fields

I would build a custom post type. Use the editor to hold the quote in the site’s default language and create a new box to hold the translated version. A second meta box can hold the author’s name and title. For the post title, just use something descriptive, so that you can find the post … Read more

Custom Post Types, URL rewrite on multiple CPTs

Assuming the code snippet provided works then extending the conditional statement like so will help you, function filter_post_type_link($link, $post) { if ($post->post_type=”custom_post_type_1″) { if ($cats = get_the_terms($post->ID, ‘custom_cat_1’)) $link = str_replace(‘%custom_cat_1%’, array_pop($cats)->slug, $link); return $link; } elseif ($post->post_type=”custom_post_type_2″) { if ($cats = get_the_terms($post->ID, ‘custom_cat_2’)) $link = str_replace(‘%custom_cat_2%’, array_pop($cats)->slug, $link); return $link; } else { return … Read more

Query Custom posts of same taxonomy as the post itself

Assuming you want it for all the terms in the ‘Genre’ taxonomy. In the loop on the single Service post page, put this code: <?php $the_terms = get_the_terms( get_the_ID, ‘genre’ ); if(isset($the_terms) && !empty($the_terms)){ foreach($the_terms as $the_term){ $the_terms_slugs[] = $the_term->slug; } } $works = get_posts(array( ‘post_type’ => ‘works’, ‘posts_per_page’ => 5, ‘tax_query’ => array(array( ‘taxonomy’ … Read more

Custom post types team data

More than trying to give a definitive answer, some suggestions. WP Development Installation Although you can have an online test install, a local install will give faster results in a trial/error process. WordPress local development environment Gathering External Data Depends on your source of content. But if handling data in a SpreadSheet, the plugin CSV … Read more