Custom Post Type: about ping service and feed stuff
-
Hi,
i’m using custom_post_type and all is ok. The only problem is that, in my case, i use it like normal blog updates so i need to get good seo for that.
The problem is that when i publish my custom_post_type, all pings to service list are not performed. I solved this problem whit this code:
function my_custom_pings($post_id){ wp_schedule_single_event(time(), 'do_pings', array($post_id)); } add_action('publish_movies', 'my_custom_pings');
But miss something…
I used this hack to add custom post in main query, but i have notice that my main feed, after that i publish a news custom post, is not updated. It updates only when i post a wp native post type.I use WP Super cache, but i disabled cache for feed, so the problem is not related whit any plugin installed.
Somebody know how to flush feed and add it via “publish_{custom_post}” hook?
- The topic ‘Custom Post Type: about ping service and feed stuff’ is closed to new replies.