Mic
Forum Replies Created
-
Forum: Plugins
In reply to: [WP 500px jsGallery] Gallery not updatingHello,
I checked your site and everything seems setup correctly, but the feed is not updating.
I checked the feed url and it shows also the new images.
The plugin is using the WordPress ajax engine to retrieve the feed from 500px and to show it on the page, maybe you or your host are using some kind of caching system?
This could explain why the page is not being updated.Regards,
Mic
Forum: Plugins
In reply to: [WP Super Cache] Using wp_cache_key to set the cache key dynamicallyIf you need to save and serve different versions of the same page, I got this using a different approach.
Using the wp_cache_key filter was not saving different versions of the same page on my setup (I’m using PHP mode cache).I did it using the supercache_filename_str filter in this way:
function my_supercache_filename_filter($extra_str) { if(custom_criteria_satisfied()) { $extra_str .= '__some_custom_string'; } return $extra_str; } add_cacheaction('supercache_filename_str', 'my_supercache_filename_filter'); if ( function_exists( "apply_filters" ) ) { add_filter('supercache_filename_str', 'my_supercache_filename_filter'); }I got this from here: https://github.com/Automattic/wp-super-cache/blob/3fce4ed10dd9a991197e917d2e9568c5516dd73a/wp-cache-phase1.php#L648
Hope it helps.
Forum: Plugins
In reply to: [Plugin: Now Reading Reloaded] Library PagingYou could leave the actual page as is and show only the last 5 books for each status.
Then, after each status, put a link to a “show all” page that shows all the books with that status, doing pagination.