paul91
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7 extension for Google Map fields] Use Multi-line CommentsYes, it’s ok. I did it this way and just asked you if is it possible in future version. So ok, thank for answer.
Forum: Plugins
In reply to: [Contact Form 7 extension for Google Map fields] Use Multi-line CommentsJust:
var autoLine =”; /*track automated values of line address*/
instead of:
var autoLine =”; //track automated values of line address
Normally comment ends at the end of the line which is bad when multiple lines are joined into one (caused by some minify plugins etc, in my case that html parser).Forum: Plugins
In reply to: [Load More Products for WooCommerce] Hide button after load last pageI finally solved it. The expected functionality for this plugin is that the pagination element is always exists and only next page link is missing on the last page but I completely ommited pagination on the last page.
- This reply was modified 7 years, 5 months ago by paul91.
Forum: Plugins
In reply to: [Load More Products for WooCommerce] Hide button after load last pageThis is ok. But load more button generated by plugin is also hidden. And it doesn’t work on click (if I set force display or by developpers tools in browser).
Forum: Plugins
In reply to: [Load More Products for WooCommerce] Hide button after load last pageI am not sure what is default pagination in this case because it’s not product archive page. But I am pretty surre, that link to 3rd page is not broken. You can check my page, because now I canceled load more button plugin functionality.
I also tried code from woocommerce/template/loop/pagination.php:
<nav class="woocommerce-pagination"> <?php echo paginate_links( apply_filters( 'woocommerce_pagination_args', array( 'base' => esc_url_raw( str_replace( 999999999, '%#%', remove_query_arg( 'add-to-cart', get_pagenum_link( 999999999, false ) ) ) ), 'format' => '', 'add_args' => false, 'current' => max( 1, get_query_var( 'paged' ) ), 'total' => $wp_query->max_num_pages, 'prev_text' => '←', 'next_text' => '→', 'type' => 'list', 'end_size' => 3, 'mid_size' => 3, ) ) ); ?> </nav>
Which shows links to 3 pages and also next and previous. When I link it to the Load More Products accoring to propper classed then pagination is completely hidden with display:none.
Forum: Plugins
In reply to: [Load More Products for WooCommerce] Hide button after load last pageThank you for reply. I changed it but still doesn’t work althought this is proper solution for standard pagination. I described the problem in the last paragraph under source code. Now it’s visible on web.