klint01
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] PRELOAD is starting with First Post instead of Newest PostI found the line, for those that need to correct it as well.
if ( $wp_cache_preload_posts == 'all' || $c < $wp_cache_preload_posts ) { $posts = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE ( post_type != 'revision' AND post_type != 'nav_menu_item' ) AND post_status = 'publish' ORDER BY ID ASC LIMIT $c, 100" );
Change last line ASC to DESC.
if ( $wp_cache_preload_posts == 'all' || $c < $wp_cache_preload_posts ) { $posts = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE ( post_type != 'revision' AND post_type != 'nav_menu_item' ) AND post_status = 'publish' ORDER BY ID DESC LIMIT $c, 100" );
Forum: Plugins
In reply to: [Evergreen Post Tweeter] Include Image in Tweet@paul, from what I can gather from research. Twitter:title and description will not be written to the header if open graph has already been written. I think I have found my issue to be that robots.txt is blocking Twitter user-agent from reading the image path.
Forum: Plugins
In reply to: [Evergreen Post Tweeter] Include Image in TweetHaven’t figured it out yet. Does not appear to be tied to Yoast Meta Title and Description values. In addition, I am using Yoast for open graph as well for FB. I guess I will have to continue to dig into it.
Forum: Plugins
In reply to: [Evergreen Post Tweeter] Include Image in Tweet@paul, I think I know why. Looks like it pulls the title and description from the Yoast meta data fields instead of the WordPress fields.
Forum: Plugins
In reply to: [Evergreen Post Tweeter] Include Image in Tweet@paul, I am finding that the twitter: title and twitter:description are not getting passed to the header. Everything else looks good. Is there something in Yoast that needs to be populated?
Forum: Plugins
In reply to: [Evergreen Post Tweeter] Include Image in Tweet@paul, thanks!!! I will look into it.
Forum: Plugins
In reply to: [Evergreen Post Tweeter] Include Image in Tweet@paul, It may be twitter cards. Essentially, I would like the tweet to include text from the original post and one image from the post. If that can be satisfied via twitter cards, then that works for me.
Forum: Plugins
In reply to: [WP Super Cache] Breaks ThemeI think I got it working now. I had to reset the CDN settings in Super Cache and delete and reset the CNAME settings in my DNS Zone editor. Fingers-crossed that it holds on.
Forum: Plugins
In reply to: [WP Super Cache] Breaks ThemeI spoke to fast, looks like it is acting up again. I guess more digging on my part is needed.
Forum: Plugins
In reply to: [WP Super Cache] Breaks ThemeThank you. Found out it was the CDN configuration. I forgot to configure the new CNAME in cpanel.
Forum: Plugins
In reply to: [WP Super Cache] Breaks ThemeHi, I recently moved my site to its own domain and its own cpanel. Since doing so, I am experiencing the exact same thing as lemonpips described. All is good when caching is off, but left aligned when caching is on. I tried deactivating and uninstalling super cache and then re-installing with the same results.
Donncha, feel free to contact me if you need additional information. I really love your plug-in and this is the first real issue I’ve run into and I am assuming it looking for old domain paths which is why it may not be working.
Forum: Fixing WordPress
In reply to: How to change Attachment fields (Title, Caption, etc.)I figured it out. Finally identified that the fields are stored in the wp_posts table along with the post.
Upon submitting their post (from the front-end), they are redirected to the homepage (index.php of the theme).
Here are the results of the debug file:
** With Clear all cache files when a post or page is published or updated SELECTED. **
06:57:10 /foodfrenzy/ wp_cache_shutdown_callback: collecting meta data.
06:57:10 /foodfrenzy/ Writing meta file: /home/xxxxx/public_html/foodfrenzy/wp-content/cache/meta/wp-cache-335a2832d4cc99997afd5c189959dfc8.meta** With Clear all cache files when a post or page is published or updated NOT SELECTED. **
06:57:53 /foodfrenzy/submit-post/ Clearing cache for post 10042 on post edit.
11:57:53 /foodfrenzy/submit-post/ Clearing cache for post 10042 on post edit.Where is the plugin error log, because I am not seeing an error log file for this plugin. The site error log shows nothing.
Like I said before, it works fine for wp_insert_post, but wp_publish_post is not causing the homepage to clear. Per the debug effort I have done, I can see that it clears the specific post, but not the homepage.
@donncha, not sure if your response is to both of us, but here is my interpretation of your response. Please let me know if I got the right understanding.
If I run preload, it will cache taxonomies and posts and those cached files will not be deleted when the super_cache expiry time hits. They will only be cleared individually upon submission of a comment or post update.
Questions:
What falls under the definition of taxonomies? My definition is that taxonomy is a classification of items, therefore I am reading it to say the taxonomy would be used to identify posts/pages to cache, but it would not cache dynamic pages, such as the home page or category pages.Upon a comment or post update, will only the page being commented or updated be cleared? All other posts/pages would remained in preload cache.
Finally, would the dynamic pages (home page, etc.) be cached via the normal super cache process?
Thanks again for the help. I appreciate your attention to the support forum.