You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each event is grabbing my jetpack Share options. That means that for each item on the timeline the plugin is treating it as a separate post. So on each page hit WP is trying to query 70+ posts. (my understanding anyway) I use a cashing plugin, so this helps some on the load time, but it still takes time. I am wondering if there might be some why to turn off the "Share this post" option on just the posts in the time line. How might this work? am I missing something?
The timeline plugin pulls in the post excerpt for each post on your wordpress blog using the apply_filter('the_content') function provided by the Wordpress API. If the 'jetpack Share options' is hooking this filter, which I can only assume it is then this is most likely why it is appending the share options to each post - which is the correct behaviour in terms of the functionality provided by this plugin.
I agree that this is obviously quite slow and taxing in generating the page request, but there isn't anything I can do to prevent this plugin from hooking the post content at this point.
I will be adding AJAX loading to the plugin soon so that not all content is added in one go - which is currently what happens, I just haven't had the time to develop it yet. Hopefully this will resolve your issue when I have had a chance to implement the changes.
Thanks, Well, I'll update when you release your AJAX update.
Actually, after some more thought, perhaps if the plugin could be coded to use a custom post type, rather than a standard post type then would the filter apply_filter('the_content') still apply? Perhaps what would be useful would be if the user can select if they want to use standard posts or if they want to use custom posts.
I am running a timeline with 70+ events in it.
Each event is grabbing my jetpack Share options. That means that for each item on the timeline the plugin is treating it as a separate post. So on each page hit WP is trying to query 70+ posts. (my understanding anyway) I use a cashing plugin, so this helps some on the load time, but it still takes time. I am wondering if there might be some why to turn off the "Share this post" option on just the posts in the time line. How might this work? am I missing something?
http://wordpress.org/extend/plugins/wp-facebook-timeline-mf-timeline/
Wanna see the time line in real live?: http://hugh.thejourneyler.org/2012/timeline
The text was updated successfully, but these errors were encountered: