Custom Post Type Not Working
-
Hi
I have got the plugin working for normal posts, but it won’t work for custom post type of ‘people’.
<?php // This uses the https://wordpress.org/plugins/ajax-load-more/ plugin. echo do_shortcode( '[ajax_load_more post_type="people" transition="fade" pause="true" scroll="false" transition="fade" images_loaded="false" button_label="Load More People" button_loading_label="Loading More..." container_type="div" offset="4"]' ); ?>
CPT is set to public and yes, deffo slug is ‘people’.
See here dev site: http://website-test-lab.com/sites/omtv-dev/news/our-people/henry-ford/
It loads but not correctly as you will see.Any ideas?
Thanks
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Custom Post Type Not Working’ is closed to new replies.