If there are others with the same request, I think this code will do it (Add it to your child-theme functions.php)
/* ----------------------------------------------------------------------------
Enable date-based filtering for popular posts
*/
define('TD_POPULAR_BY_DATE_ENABLED', true);
add_filter('td_data_source_blocks_query', function($wp_query_args) {
if (isset($wp_query_args['sort'])) {
$wp_query_args['popular_by_date'] = true;
}
return $wp_query_args;
});
Now you should see a new option under the “Sort order” called “Popular by date” which you can enable or disable.
I have added a recaptcha in the Theme panel already, and a recaptcha doesn’t appear on the contact form.
As I said in my first comment – I know alternative methods.
As I asked in my last reply – is there an option to suggest this to be included in future updates to the theme creators? The only question left, and not addressed in your wise last comment.
-
This reply was modified 2 years by
arajioni.
Thanks Calin, but I know several solutions with third party plugins, and in this case – using jetpack only for this option doesn’t seem the optimal one.
Maybe this should be included as a built in filter option in Newspaper theme, as it is more logical for news publishers to display most popular in time range + published in that time range.
Is there an option to submit this to the theme creators?
Oh, really? This logical and simple thing for a news website? That a lot of free plugins are offering? Is this a joke?
Isn’t newspaper a theme specialized for news publishers? Why on earth will a publisher want to put on his homepage an old news publication?
Hello!
I tried clearing all website cache + browser cache + incognito window + testing on the MacBook with different safari version, and the issue is there.
Here you can see the screenshots.
The overlap in a single post – https://paste.pics/4a15735e25b09675bd4cdccc018b3765
The overlap on the homepage – https://paste.pics/f8ee178e196d89d0a07390b15bf6565c
Hey, Bartowel! I have the same issue! Can you share the solution with us?
I Found alternative, i have testet 7 plugins and the working one for newspaper 7 is called “Facebook Publish”
I will left it here if there are other users with the same question. If you think its a problem, you can delete the topic.
Thank you.
Thank you for the answer!
Now how do i change the background image of the mobile menu when i`m not using the mobile theme plugin?
Thank you for the great reaction! The solutions are more simple, that i thought!