Matías
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Popular Posts] WPP Query doesn’t workThank you! I checked again and WPP isn’t the one causing performances issues so I better won’t use “accuracy”.
Y una última pregunta para no abrir otro tema… estoy algo confundido con la opción “Límite del registro”. Si decido guardar datos por 30 días por ejemplo, se limpiará solo la tabla “popularpostssummary”? Y la tabla “popularpostsdata” quedará intacta?
Forum: Plugins
In reply to: [WordPress Popular Posts] WPP Query doesn’t workThat didn’t answer my question from earlier. You’re declaring a variable that you’re not using in your code. How do you expect it to do anything if you don’t use it at all?
Sorry but I’ll respond this in spanish to clearly say what I want to say… Usé eso únicamente para probar sin saber realmente si funcionaría… Ahora sé qué falta algo en el código para que funcione y es lo que no sé qué es. ?Qué falta?
Lo que quiero es simplemente mostrar los posts más populares (igual que hasta ahora) tomando la data de WPP directamente y sin guardar la data de los views de cada período en post meta una y otra vez, porque provoca una sobrecarga en mi hosting, o algo así me dijo mi proveedor.
Before, I used another plugin and I could mix the code. Look especially since “orderby”:
<?php global $post; $mvp_related_num = get_option('mvp_related_num'); $pop_days = esc_html(get_option('mvp_pop_days')); $popular_days_ago = "$pop_days days ago"; $category = get_the_category(); $current_cat = $category[0]->cat_ID; $recent = new WP_Query(array('cat' => $current_cat, 'posts_per_page' => $mvp_related_num, 'ignore_sticky_posts'=> 1, 'post__not_in' => array( $post->ID ),'order' => 'DESC', 'orderby' => 'post_views', 'views_query' => array( 'year' => date( 'Y' ), // this year 'month' => date( 'm' ), // this month 'day' => date( 'd' ), // this day ), 'date_query' => array( array( 'after' => $popular_days_ago )) )); while($recent->have_posts()) : $recent->the_post(); ?>
That’s all! I hope you understand!
Forum: Plugins
In reply to: [WordPress Popular Posts] WPP Query doesn’t work1. I also tried with \WordPressPopularPosts\Query but apparently the entire code is wrong.
2. $popular_days is a function of my theme to sort popular posts by the date published, for example the most viewed posts published 1, 2, 3…7…30, etc. days ago. But without that line it’s the same!
3. Actually I’m using it right now but with other meta key name and works well:
<?php global $post; $mvp_related_num = get_option('mvp_related_num'); $pop_days = esc_html(get_option('mvp_pop_days')); $popular_days_ago = "$pop_days days ago"; $category = get_the_category(); $current_cat = $category[0]->cat_ID; $recent = new WP_Query(array('cat' => $current_cat, 'posts_per_page' => $mvp_related_num, 'ignore_sticky_posts'=> 1, 'post__not_in' => array( $post->ID ), 'orderby' => 'meta_value_num', 'order' => 'DESC', 'meta_key' => 'post_views_day', 'date_query' => array( array( 'after' => $popular_days_ago )) )); while($recent->have_posts()) : $recent->the_post(); ?>
4. The same but without saving the views data in post meta.
Forum: Plugins
In reply to: [WordPress Popular Posts] WPP with an AJax-based siteSorry for that. I sent you a message to your page.
Forum: Plugins
In reply to: [WordPress Popular Posts] WPP with an AJax-based siteThank you, and re-read the edited version of the message and answer, please!
Forum: Plugins
In reply to: [WordPress Popular Posts] WPP with an AJax-based siteLmao yes @hcabrera, because I found another plugin that worked when the auto loading function was enabled in my site. Now it’s disabled and a post got viral and I just realized GA views are double than the plugin for that post, so I need back to your amazing plugin… I think it’s the only one that counts very similar to GA ??
And I’m thinking in contact you when I enable ALP again. Además considerando que sé que hablas espa?ol, mejor aún!
Firstly, I want to know if can I import the data from this plugin?
Forum: Plugins
In reply to: [WordPress Popular Posts] WPP with an AJax-based siteForum: Plugins
In reply to: [WordPress Popular Posts] Auto load posts don’t countThere might be a way but again it depends on how the post autoloading has been implemented.
Please get in touch with the plugin developer and ask them how to you can send a POST request to update the views count of an autoloaded post.
I don’t understand anything of that ??
Forum: Plugins
In reply to: [Mobile Navigation] Search boxOh you need to update the plugin, and with css i changed the size of the logo and wrapper and works good but the hamburger or bars icon doesn’t show in all devices, you could change the icon, i tried to change it/ (font awesome, elusive) but didn’t work.
Forum: Plugins
In reply to: [Blurry - Mobile menu] Menu for web browsersame, i need for 991px
Forum: Plugins
In reply to: [Yoast SEO] not able to get XML Sitemapwhat the fuck, same https://hiphopandrnb.com/post-sitemap.xml
Forum: Plugins
In reply to: [Insights from Google PageSpeed] Jetpack Site Statssame problem! Google Analytics doesn’t count extra views but Jetpack counts every view from Pagespeed
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] It counts admin visitsYes, I’ve activated an option like this: “Set expire caching (Leverage Browser Caching)” but I think it’s for everyone. I’ll disable it.
No, retiro lo dicho! Aunque haya regenerado los thumbnails los tama?os no son correctos y algunas se ven deformadas y más grande de lo normal asi que tuve que volver a instalar la versión antigua.
Forum: Plugins
In reply to: [a3 Lazy Load] Issue with Paginationany form to deactivate it only for home page? posts sliders don’t work for me :/