condor85
Forum Replies Created
-
Forum: Plugins
In reply to: [Facebook Page Publish] [Plugin: Facebook Page Publish] Custom Post TypeI’ve figured out how to alter the code to allow custom post types…
open fpp_index.php
look for the comment *Action Handler
you will see…
add_action(‘future_post’, ‘fpp_future_action’);
add_action(‘publish_post’, ‘fpp_publish_action’);I have a custom post type called “wholesale”, so I added this below it…
add_action(‘future_wholesale’, ‘fpp_future_action’);
add_action(‘publish_wholesale’, ‘fpp_publish_action’);Next find locations where it says
and change it to
if (is_object($post) && ($post->post_type == ‘post’)|| $post->post_type == ‘wholesale’)there are just a few places where you have to change it.
Note: if you upgrade this plugin later.. you will have to add these changes again manually. This is a work around until the author adds custom post type support.(note, this can also work for pages. instead of “wholesale” just type pages)
Forum: Plugins
In reply to: [Facebook Page Publish] [Plugin: Facebook Page Publish] WordPress PagesThis might go in with darnoldussen’s page idea, but is it possible to implement it with custom post types?
I have a real estate wordpress blog running that uses custom post types now, so it would be nice to be able to post it to facebook when I update a new listing.
Forum: Plugins
In reply to: [Facebook Page Publish] [Plugin: Facebook Page Publish] Double PostingJust wanted to pop in and say I have had no other issues regarding double posting. Thank you!
Forum: Plugins
In reply to: [Facebook Page Publish] [Plugin: Facebook Page Publish] Double PostingWell I deactivated WP-Super Cache and that seemed to make it only post once…
I’ll play with it the next couple of days and see what is going on.
Thanks for your help.