Pretty Permalinks with CTP and Taxonomies / Hierarchical

Found a git repo that had the solution: https://github.com/hemal21/WordPress-CPT-Hierarchical-Taxonomy-Permalinks/blob/master/cpt-hierarchical-tax-permalinks.php I needed do a rewrite, Here is an example of working pretty permalink code: <?php /** * WordPress Custom Post Type and Hierarchical Taxonomy Permalinks * * Ever wanted to have custom taxonomy permalinks that reflect parent/child relation? * Then this is for you. Still in … Read more

Using WordPress custom post type to display StoryMapJS

what happens if you create the array first and then add to it in the loop. Right now you’re not adding to an array, you just keep creating it. post_name; $args=array( ‘post_type’ => ‘storymap_event’, ‘posts_per_page’ => -1 ); ?> <div id=”mapdiv” style=”width: 100%; height: 600px;”></div> <?php $my_query = null; $my_query = new WP_Query($args); $i=0; $sm_array_slides … Read more