Forum Replies Created
-
AuthorPosts
-
Hi,
I found a better solution to this, if you feel you can integrate it to theme
for now I have added this at functions.phpfunction expired_job_noindex(){ $job_id = get_the_ID(); $closing_date = get_post_meta( $job_id, '_closing', true ); $closing_date = empty( $closing_date ) || is_numeric( $closing_date ) ? $closing_date : strtotime( $closing_date ); $is_expired = ( 'expired' == get_post_status( $job_id ) ) || ( ! empty( $closing_date ) && $closing_date <= time() ); if($is_expired){ echo ''; } } add_action('wp_head', 'expired_job_noindex');
Hope this would be useful.
Yes. I am aware of this setting and it is enabled on my website and its not working.
Even on your demo it doesnt work
This reply has been marked as private.5 years, 11 months ago in reply to: Captcha Not available on Send to Friend at homepage (leading to spams) #1068695Thanks a lot, it would be much helpful if you could update it in documentation.
5 years, 11 months ago in reply to: Captcha Not available on Send to Friend at homepage (leading to spams) #1068658This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.5 years, 11 months ago in reply to: Captcha Not available on Send to Friend at homepage (leading to spams) #1068501This reply has been marked as private.This reply has been marked as private. -
AuthorPosts