Ardhia Mangku
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [WebberZone Top 10 — Popular Posts] Popular Posts widget not working anymorefrom error_log file:
[19-Mar-2020 18:31:05 UTC] WordPress database error Table './WP/wp_top_ten_daily' is marked as crashed and should be repaired for query INSERT INTO wp_top_ten_daily (postnumber, cntaccess, dp_date, blog_id) VALUES( 31790, '1', '2020-03-20 01', 1 ) ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, tptn_parse_request, tptn_update_countForum: Plugins
In reply to: [WP Popular Posts] Obtain data from JSONso how do I display custom output like <div class=”store-product”>… instead of <ul class=”wpp-list”>?
Forum: Plugins
In reply to: [WP Popular Posts] Obtain data from JSON@hcabrera
it’s related to your plugin.
I only get output:
<ul class=”wpp-list”>-
it should be the same as the code above.
I use this code to display custom popular post
<?php $query = array( 'cat' => '2,4,6', 'post_type' => 'post', 'limit' => 20, 'range' => 'weekly', ); $query = wpp_get_mostpopular($query); if ( $query->have_posts() ) : if ( is_home() ) : endif; while ( $query->have_posts() ) : $query->the_post(); get_template_part( 'template-parts/content-album-page', get_post_type() ); endwhile; else : get_template_part( 'template-parts/content', 'none' ); endif; ?>
Viewing 3 replies - 1 through 3 (of 3 total)