Hi everyone,
has anyone tested the Plugin with PHP 8.2 and knows if it works?
Thank you in advance.
Regards,
Jessica
]]>Hi,
I loved this plugin functionality but need some help to send expire notification mail to the admin/author.
1. Can I use wp-mail?
2. Plugin has some settings for email?
Thanks
]]>hello. i have installed the version 1.6. but the plugin adds the word “expired” even to menu items or to other posts or to the footer menu. Please help
]]>I have multiple posts. Let’s assume the post published on 17/07/2016 expired on 18/07/2016. But the post published on 15/07/2016 will never expires. (Image 1)
In this scenario the blog shows both 17th and 15th are expired. (Image 2). But individual posts correctly shows only 17th is expired not 15th. (Image 3 & 4).
Similarly, the related posts of 17th (expired) shows every related post as expired, although they are not. However the single post of 15th shows related post correctly (only 17th as expired). (Bottom of Image 3 & 4). Related posts are retrieved based on the date.
Images – https://drive.google.com/folderview?id=0B3X23u9BNQrrU3N0YTRBMldHXzA&usp=sharing
]]>Hi
If i choose 08.10. will this be expired on 07.10 midnight or 08.10 midnight?
]]>To solve the problem of the word Expires before each menu links, you must edit the file : content-expire-scheduler.php
Replace this function
function rl_ces_content_title( $title = '', $post_id = 0 ) {
if( rl_ces_is_content_expired( $post_id ) ) {
$prefix = get_option( 'rl_ces_prefix', __( 'Expired:', RADLABS_TEXTDOMAIN ) );
$title = $prefix . ' ' . $title;
add_filter( 'the_content', 'rl_ces_expiry_content' );
add_filter( 'comments_open', 'close_comments', 10, 2 );
}
return $title;
}
add_filter( 'the_title', 'rl_ces_content_title', 100, 2);
by
function rl_ces_content_title( $title = '', $post_id = 0 ) {
if( rl_ces_is_content_expired( $post_id ) ) {
$prefix = get_option( 'rl_ces_prefix', __( 'Expired:', RADLABS_TEXTDOMAIN ) );
if (in_the_loop() && $post_id == get_the_ID()) {
$title = $prefix . ' ' . $title;
add_filter( 'the_content', 'rl_ces_expiry_content' );
add_filter( 'comments_open', 'close_comments', 10, 2 );
}
}
return $title;
}
add_filter( 'the_title', 'rl_ces_content_title', 100, 2);
For compatibility with WordPress 4.41, we must change another fonctiondans the same file:
Replace this :
function rl_ces_is_content_expired( $post_id = 0 ) {
global $post;
$expires = get_post_meta( $post->ID, 'rl_ces_expiry', true );
if( ! empty( $expires ) ) {
// Get the current time and post's expiration date
$current_time = current_time( 'timestamp' );
$expiration = strtotime( $expires, $current_time );
if( $current_time >= $expiration ) {
return true;
}
}
return false;
}
by
function rl_ces_is_content_expired( $post_id = 0 ) {
global $post;
if( ! empty( $post->ID ) ) {
$expires = get_post_meta( $post->ID, 'rl_ces_expiry', true );
if( ! empty( $expires ) ) {
// Get the current time and post's expiration date
$current_time = current_time( 'timestamp' );
$expiration = strtotime( $expires, $current_time );
if( $current_time >= $expiration ) {
return true;
}
}
}
return false;
}
That is all, apparently plugin works well
See you soon
Bernard
It is a disaster…
]]>On my Expired Page every menu item in my primary navigation reads expired.
https://zencowboy.com/2015/09/25/zen-cowboy-presents-the-nicaragua-zen-sessions/
Also on the footer of the page under retreats it shows EXPIRED not the custom message I Entered.
How can I make this changes
Thanks
]]>Yup!
]]>Hi! How can I exclude Expiry Message frome excerpt? Or shows Expirt Message on bottom post instead of top?
Thanks in advance!
Hi! Nice plugin. I would like to colorize the Content Expiry Message. Can you give me a hint on code for this? ??
Thanks
]]>Hi,
Thanks for the great work on this scheduler, it certainly helps a lot.
I was wondering if you can work on something like:
1) Send out a email reminder and also dashboard reminder when a post is expiring and almost expired?
2) Allow me to set the days for reminder before it hits the expiry date.
Many thanks ??
]]>Hi, this plugin work very fine… but I wantto know if is possibble to make an automatic change of category of the expired post.
]]>Hi,
on one Post ive got a Problem.
I typed the wrong expire Date and saved. (expired 2014….)
After i see the Mistake i removed the expire Date and save again.
It removed the EXPIRE before the Headline, but the Content dont show. It shows only the Text for an expired Post.
Thanx for Help
]]>Hi,
Thanks for the plugin. It’s a great work.
Is it possible to keep the content on the post after expiration but to only give notification message “The post is out of date” in the top of the content ?
Thanks
]]>Hey
Great idea for a plugin! Was curious if this is compatible with aggressive nginx server side caching? Would a cookie need to be excluded from caching or should this work regardless of page caching? If a cookie should be excluded, do you know the name of the cookie? Thanks!
]]>