Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
depatech
tagDiv Member

I do not think it is fixed at 12.7.3, still using the patch from this thread

depatech
tagDiv Member

Same here, happens only at sites with newspaper theme and wp 6.9

Please release an update

depatech
tagDiv Member

@be2name your proposed fix works ok!
Thank you

depatech
tagDiv Member

I think finally people want the better matches first, so maybe the logic to appear first the matches at title and then the matches at post words is the best solution, so ignore my query before.

Thank you for your time, i think everything is ok

depatech
tagDiv Member

Finally found out what is happening!

As i checked big sites with hundreds of search result i found this:

If at search query pick the latest option, actually it searches both title and post words and results are correct BUT firstly appear by date all results where search term is at title and after these results appear by date results where search term is inside post. That’s why the confusion for me and the topic creator. So we see first all title results.

If pick by modified date the search results are returned by date both from title and post words, it is ok as solution but some older posts that modified recently appear first.

Could you check the query when latest is picked in order all results from title and post words to appear all together ordered by date?

Thanks

depatech
tagDiv Member

Thank yo ufor reply Calin

I did a research at some newspaper sites, some mine some not and at all search was working only for title not post words so obviously newspaper in some way changes default wordpress search engine to search only titles right?

Anamaria had reply that search in newspaper returns results also for post words though

Depa

depatech
tagDiv Member

Same here, 12.7.1 results are based only on post title.
Any idea?

depatech
tagDiv Member

thx!

depatech
tagDiv Member

Hi Bettina

Could you add an option at later versions to have different header/menu at the posts of one or more specified categories?

Thanks

depatech
tagDiv Member

Just did and send part of logs.
Actually happens at all our newpaper sites

Thanks

depatech
tagDiv Member

Error is still at debug.log, many thousands lines of same error per minute
php8.2, latest newspaper

  • This reply was modified 1 year by depatech.
depatech
tagDiv Member

Cache option does not work for me at this block at 12.6.5 posts
hcange in the timeframe specified as cache time and also
is the ony slow query found with query monitor at a high end server

depatech
tagDiv Member

Hi Bettina, thanks for update!
No problem for old data, actually it seems all want to have
popular in a latest timeframe.
When use popular 48h for example, block will present
only posts from last 2 days or posts that have the most views
last 2 days but can be from last year fo example?

Also i noticed that caching from tagdiv composer such blocks does not work,
i set 30 minutes cache but i see at brosing that posts at block change inside the 30 minutes

depatech
tagDiv Member

working fine with newspaper and the official turnstile plugin
works also without that plugin when form plugin supports it

depatech
tagDiv Member

Hi,

As have same problem, is there a way number of followers to not appear
at all at social counter and only the text to follow?

Thanks

depatech
tagDiv Member

Thanks for reply Bettina!

Does not work even with 999999 priority

depatech
tagDiv Member

Hi,

Any updae?

depatech
tagDiv Member

In order to put filters at wordpress content we use this filter that works
at all themes in order to filter the content, add ads inside article etc

add_filter(‘the_content’, ‘function_with_the_filters’, 100);

At newspaper it work at desktop version but not at mobile theme, obviously
at mobile there is other filter, this is what i am searching for

depatech
tagDiv Member

Yes ok, but is there any hook for mobile content like
the usual for desktop?

depatech
tagDiv Member

Merry Christmas to everyone!

Newspaper team if you have any news/updates for counters please post here.

Thanks~

depatech
tagDiv Member

You script is working fine bhcrow, thanks for that!

Waiting newspaper team if will fix the 24h, 48h, 7d counters
else i will put it in production!

  • This reply was modified 2 years by depatech.
depatech
tagDiv Member

Ah i see you read post_views_count newspaper field, thanks for the code!
So you noticed also that post_views_count is correct and 24h,48h, 7d fields all wrong counts?

  • This reply was modified 2 years by depatech.
depatech
tagDiv Member

Let’s see the case more closely as popular posts is vital nowadays

I have all below set:

– option in theme panel to show views on post
– 24h/48h post views sorting
– ajax view count
– single post views inside template for single post

I made a post today:
From google analytics i see it has about 1600 views

From special post fields:

post_views_count has 1660 and it is correct

post_views_last_24_hours, post_views_last_48_hours and post_views_count_7_day_total show all 77 views, the fact that all 3 have the same number is correct as post is from today but why are so different and wrong comparing to post_views_count ?

All these 4 fields obviously should show the same number as post is today’s, right?

post_views_count_7_day_last_date has 1703030789, is it a timestamp or something?

Thanks!

  • This reply was modified 2 years by depatech.
  • This reply was modified 2 years by depatech.
  • This reply was modified 2 years by depatech.
depatech
tagDiv Member

Yes custom field post_views_count_7_day_last_date has always millions as views while the fields are correct.
It is also at 12.6.3, obvious bug
Is there a way except direct sql queries to reset all these?

depatech
tagDiv Member

All our flex blocks have cache enabled (from 1 to 10 minutes).
The option was 100% there before 2 days

Viewing 25 posts - 1 through 25 (of 27 total)