elated
Forum Replies Created
-
I narrowed down to the file: wp-content/themes/groci/woocommerce/content-product.php
what should I look for in there?// Ensure visibility. if ( empty( $product ) || ! $product->is_visible() ) { return; } ?> <?php if(wc_get_loop_prop( 'columns' ) == '4'){ ?> <?php $column = '3'; ?> <?php } else { ?> <?php $column = '4'; ?> <?php } ?> <div class="col-md-<?php echo esc_attr($column); ?> pmb-3"> <?php /** * Hook: woocommerce_before_shop_loop_item. * * @hooked woocommerce_template_loop_product_link_open - 10 */ do_action( 'woocommerce_before_shop_loop_item' ); /** * Hook: woocommerce_before_shop_loop_item_title. * * @hooked woocommerce_show_product_loop_sale_flash - 10 * @hooked woocommerce_template_loop_product_thumbnail - 10 */ do_action( 'woocommerce_before_shop_loop_item_title' ); /** * Hook: woocommerce_shop_loop_item_title. * * @hooked woocommerce_template_loop_product_title - 10 */ do_action( 'woocommerce_shop_loop_item_title' ); /** * Hook: woocommerce_after_shop_loop_item_title. * * @hooked woocommerce_template_loop_rating - 5 * @hooked woocommerce_template_loop_price - 10 */ do_action( 'woocommerce_after_shop_loop_item_title' ); /** * Hook: woocommerce_after_shop_loop_item. * * @hooked woocommerce_template_loop_product_link_close - 5 * @hooked woocommerce_template_loop_add_to_cart - 10 */ do_action( 'woocommerce_after_shop_loop_item' ); ?> </div>
Thanks
- This reply was modified 4 years, 11 months ago by elated.
I have the same problem. I does not work with the changes on line 469. You can see here: finemarket.gr/shop/
Forum: Plugins
In reply to: [WordPress Popular Posts] Not counting viewsThanks, I did that. Now it seems to be working. I don’t know how accurate is but at least it’s updating the numbers.
Forum: Plugins
In reply to: [WordPress Popular Posts] Not counting viewsCan you send me some older version of the plugin? Probably with different algorithm of counting or something like that? Is it safe to overwrite with older version or it will mess everything?
Forum: Plugins
In reply to: [WordPress Popular Posts] Not counting viewsStrange, it should be working. From where are you accessing it?
Anyway, any ideas what could be the problem?
Forum: Plugins
In reply to: [WordPress Popular Posts] Not counting viewsI published new article few hours earlier and it’s not showing the real view count. Right now there is 70 people online, reading the article and 20-30fb likes but the WPP plugin shows only 4 people visited.
Forum: Plugins
In reply to: [WordPress Popular Posts] Not counting viewsNo, it’s definitely not counting views… Is the site loading now? Can you check?
Forum: Plugins
In reply to: [WordPress Popular Posts] Not counting viewsYes, of course. I was one update behind when I noticed this problem, so I updated to the last version today and cleared cache several times.
I guess I will investigate how it behaves for another day.
Forum: Plugins
In reply to: [WordPress Popular Posts] Wrong views numberIt’s all good. Thank you again.
Forum: Plugins
In reply to: [WordPress Popular Posts] Wrong views numberWeird, you kind of downgraded the plugin version. It Was 2.3.3 and now it’s 2.3.2 :). But it’s ok, i manualy downloaded and replaced it. Now everything is ok. Thank you very much for your time.
Forum: Plugins
In reply to: [WordPress Popular Posts] Wrong views numberI use this code for the view count in single posts:
<?php if (function_exists(‘wpp_get_views’)) { echo wpp_get_views( get_the_ID() ); } ?>Forum: Plugins
In reply to: [WordPress Popular Posts] Wrong views numberYes, the theme is the only change. Post meta – the info about the post (date, author and views). The function inside the single post is showing corect views. The problem is when using as widget and at the back end with the stats.
See this: prntscr.com/16yd3l
The first post in the top 20 shows with 42 views.Then see this: prntscr.com/16yd9z
The same post actually got 42 700 viewsForum: Plugins
In reply to: [WordPress Popular Posts] Wrong views numberiskamdaznam.com is the URL. I recently changed the theme, but I cant image what went wrong and why is the plugin actiong so weird.
Forum: Fixing WordPress
In reply to: Custom field URL problemwith https:// is fine. Thank you.