chrishdunn
Forum Replies Created
-
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] php7You’re right .. I tried php 7.1
7.0 works fine.
Thanks.
Forum: Plugins
In reply to: [W3 Total Cache] Format of "additional pages" in page cache purge policyI moved to WP Rocket cache.
Also managed to write some code to cover purging…I have the code below in my functions.php …
This is specific to WP Rocket, but the point is that you can use the ‘publish_post’ hook to delete your cache files. Pre-loading would be a different issue though! (I have this covered in WP Rocket)add_action( ‘publish_post’, ‘example_publish_post’ );
function example_publish_post(){$homepath = get_home_path();
$path = $homepath . ‘/wp-content/cache/yourpath/yoursite.co.uk/’ ;
$filestopurge = array(
$path . ‘index.html’,
$path . ‘index.html_gzip’,
$path . ‘/early-years/index.html’,
$path . ‘/early-years/index.html_gzip’,
$path . ‘/primary/index.html’,
$path . ‘/primary/index.html_gzip’,
$path . ‘/secondary/index.html’,
$path . ‘/secondary/index.html_gzip’,
$path . ‘/further-education/index.html’,
$path . ‘/further-education/index.html_gzip’,
$path . ‘/higher-education/index.html’,
$path . ‘/higher-education/index.html_gzip’,
$path . ‘/dfe/index.html’,
$path . ‘/dfe/index.html_gzip’,
$path . ‘/ofsted/index.html’,
$path . ‘/ofsted/index.html_gzip’,
$path . ‘/sta/index.html’,
$path . ‘/sta/index.html_gzip’,
$path . ‘/topics/index.html’,
$path . ‘/topics/index.html_gzip’,
$path . ‘/subjects/index.html’,
$path . ‘/subjects/index.html_gzip’,
$path . ‘/ofqual/index.html’,
$path . ‘/ofqual/index.html_gzip’,
$path . ‘/unions/index.html’,
$path . ‘/unions/index.html_gzip’,
$path . ‘/blogs/index.html’,
$path . ‘/blogs/index.html_gzip’,
$path . ‘/qaa/index.html’,
$path . ‘/qaa/index.html_gzip’,
$path . ‘/hefce/index.html’,
$path . ‘/hefce/index.html_gzip’,
$path . ‘/exam-boards/index.html’,
$path . ‘/exam-boards/index.html_gzip’,
$path . ‘/northern-ireland/index.html’,
$path . ‘/northern-ireland/index.html_gzip’,
$path . ‘/scotland/index.html’,
$path . ‘/scotland/index.html_gzip’,
$path . ‘/wales/index.html’,
$path . ‘/wales/index.html_gzip’,
$path . ‘/efa/index.html’,
$path . ‘/efa/index.html_gzip’,) ;
foreach ($filestopurge as $purgefile) {
if (file_exists($purgefile)) {
unlink($purgefile);
}
}Forum: Plugins
In reply to: [Social Media Auto Publish] Support for premium pluginI’ve sent a support request 3 times over the last 2 weeks using the link you have posted but got no response. Can you confirm that support is currently available?
Forum: Plugins
In reply to: [Social Media Auto Publish] Link missing in twitterBut your code shortens the content when it detects it is over 140 characters. When it shortens the content the link is then missed out. I think this is a bug.
Forum: Plugins
In reply to: [Comments - wpDiscuz] Comments not updating using HHVMUPDATE…seems to be working OK after clearing comments made before enabling HHVM.
Forum: Plugins
In reply to: [Auto Post Scheduler] Publishing posts using the pending dateAll ok except post_date_gmt is blank.
Edited rss feed-to-post to create post_date_gmt, but still not working.
Was surprised to find that manually changing from pending to published in the post editor maintains the original date, whether there is a value for post_date_gmt or not.
Can’t see that it’s in any way a problem with your plugin, but would appreciate and views/suggestions.
Many thanks,
Chris.
Forum: Plugins
In reply to: [Auto Post Scheduler] Publishing posts using the pending dateThanks for such a fast response!
The code works for posts that have created manually (as pending), but for some reason it doesn’t work with posts that have been created by my rss feed-to-post plugin. Have verified this by making edits to auto-post-scheduler.php which gives the same results. Can’t see any difference between the posts…..any ideas gratefully received.
Many thanks again,
Chris.
Sorry… I had the word limit enabled. All working fine.
Forum: Plugins
In reply to: [Search & Filter] Cannot modify header information – headers already sentFinally solved by enabling output_buffering on my host server setup.
Forum: Plugins
In reply to: [W3 Total Cache] Format of "additional pages" in page cache purge policy@jacobstone … no it doesn’t…not sure if the format is the problem or something else. Preloading isn’t working properly either. Am investigating with my host at the moment.
Forum: Plugins
In reply to: [W3 Total Cache] Format of "additional pages" in page cache purge policyI have the same issue…
I have about 25 pages set up as ‘additional pages’ that I want purged and recreated whenever a new post in published (they all display grids of posts sorted by category/tag etc), but it’s not happening.
This is the format I’m using in the ‘additional pages’ box…
https://edgazette.co.uk/early-years
https://edgazette.co.uk/primary
https://edgazette.co.uk/secondaryDoes this work separately to the cache preload settings or are they somehow tied together?
Many thanks,
Chris.
P.S. All works incredibly fast once the cache for a page is in place…brilliant performance!
Forum: Plugins
In reply to: [Social Media Auto Publish] Images missing, need time delayI see this issue is actually solved in the pro version…good news!
Forum: Plugins
In reply to: [Youtube Channel Gallery] No thumbnails or columnsAll sorted now….was a css error in my code.
Regards,
Chris.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] Top 10 2.x – Tracking fixThanks….adding the echo worked!
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] Top 10 2.x – Tracking fixFantastic plugin!
I’m dealing with the issue of needing <?php the_content(); ?> to trigger the counter.
I tried using <?php tptn_add_viewed_count( ” ) ?> but it didn’t work.
Currently using <?php the_content(); ?> in a div, and then using display:none; in css to hide it. This gets the counter working but is not ideal.
Is there an issue with <?php tptn_add_viewed_count( ” ) ?> ?
Many thanks.