zjones850
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] WP-Product Review Exclusion Not WorkingHi Frank,
Sorry, that didn’t work. I’m also getting screwiness in the sidebar with AO turned on. I think I’ll leave it off for the time being, and maybe revisit trying to configure it for better compatibility. But thanks a lot for your reply.
Forum: Plugins
In reply to: [Autoptimize] WP-Product Review Exclusion Not WorkingHi Frank,
Here’s a URL where the WP review box is showing — but the Autoptimize plugin is currently deactivated so that it does show up. When AO is on, the graphic pie chart for the rating disappears, and the css around the review box goes a bit wonky.
https://wtvpc.com/streaming-tv/france-24-live-news-stream-paris-france/
Thanks for the help!
Forum: Plugins
In reply to: [WP Product Review Lite] Format Margin / Padding Around Review BoxCORRECTION: The above CSS works — when there is only ONE review box on a page. When there are multiple reviews on a page, it only works on the BOTTOM review. ???
Forum: Plugins
In reply to: [WP-PageNavi] WP_Query with Page NaviHi,
I cannot get this plugin to work.Here is my code — help very much appreciated.
<?php
// global $paged;
global $wpdb, $paged, $max_num_pages,$wp_query;
$display_count =10;
// Next, get the current page
$page = get_query_var( ‘paged’ ) ? get_query_var( ‘paged’ ) : 1;
$page = $_REQUEST[‘paged’] ? $_REQUEST[‘paged’] : 1;// After that, calculate the offset
$offset = ( $page – 1 ) * $display_count;
$args = array(
‘post_type’=> ‘post’,
‘order’ => ‘DESC’,
‘number’ => $display_count,
‘posts_per_page’=>’20’,‘paged’ => $page,
‘offset’ => $offset
);
//query_posts( $args );
$my_query = new WP_Query($args);
// $max_page = $my_query->max_num_pages;
while ( $my_query->have_posts() ) : $my_query->the_post();
?>
<?php
endwhile; ?>
<?php wp_pagenavi(array(‘query’=>$my_query));
$my_query = null;
$my_query = $temp; // Reset
// Reset Query
wp_reset_postdata();