Hi @misssm ,
Thanks for reaching out to us.
It is not really recommended to have longer import range from ‘Other URL’, as it might have an impact on the performance of the source site.
Please backup your site before attempting this.
If you are in control of the source site and are comfortable with the resources, then you can try this snippet in your functions.php file:
[code language="”php”"]
function tribe_ea_yearly_limit( $option ) {
$options[YEAR_IN_SECONDS] = array(
‘title’ => ‘One year’,
‘range’ => ‘One year’,
);
return $options;
}
add_filter( ‘tribe_aggregator_url_import_range_options’, ‘tribe_ea_yearly_limit’ );
[/code]
Let me know if that works.
Cheers,
Chika
Thread Starter
misssm
(@misssm)
Morning,
Thank you, I added that to our functions.php but the website then gave a critical error so reverted to the original functions.php
The limit appears to be able to be set in the plugin itself to unlimited, I don’t understand why that won’t apply?
Thanks
Sarah
Jaime
(@jaimemarchwinski)
Hi @misssm
I’m sorry to hear that didn’t work for you.
If you set the Import Limit Type to Unlimited, that Import Date Range Limit option should disappear, which means that it shouldn’t be an issue there.
Are you seeing the same thing on your site?
I hope that helps!
Thanks,
Jaime
Jaime
(@jaimemarchwinski)
Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help.