Double Pagination
-
When ever I turn on ajaxification, I get double pagination on the main shop products page.
I would really like to use ajax is there anyway to disable the woof pagination?
Thank you,
Jamie
-
Hello Jamie
Try experiments with:
* index.php of the plugin
* find public function woof_products
* find there http://clip2net.com/s/3wtDncK and try to remove one of theme, looks like it doubled in your theme woo templates …do you mean, remove one of them?
I tried to comment out each and both and the problem was still there.
Even with both if statements commented out it does not seem to make a difference.
Still looking…
I am running woothemes storefront. Just as an FYI.
tie-a-dye.com
Hello Jamie
do you mean, remove one of them? – yes
tie-a-dye.com – I see no filter there … Set it back please to look on that issue, I think I have an idea …
I turned ajaxify on.
I have tried removing the filter, but it did not work.
using: remove_action( ‘woocommerce_after_shop_loop’, ‘woocommerce_pagination’, 10 );
I have not tried:
#custom nav.woocommerce-pagination {display:none;}
but take a peek and let me know.
Jamie
Hello Jamie
Try css code:
.woocommerce-result-count, .woocommerce-pagination{ display: none; } #woof_results_by_ajax .woocommerce-result-count, #woof_results_by_ajax .woocommerce-pagination{ display: block-inline; }http://clip2net.com/s/3wB2wsJ – or any another css to hide second pagination
Hey RealMag,
I tried the css and it results in removing all pagination and counts.
Neither woocommerce nor Woof pagination / counts show. Only thing remaining is the sortby dropdown.
🙂
Jamie
I turned ajaxify off for now, just FYI.
Hello Jamie
Try this css code please, looks like I did mistake in the previous message:
.woocommerce-result-count, .woocommerce-pagination{ display: none; } #woof_results_by_ajax .woocommerce-result-count, #woof_results_by_ajax .woocommerce-pagination{ display: inline-block !important; }I applied:
.woocommerce-result-count, .woocommerce-pagination{ display: none; } #woof_results_by_ajax .woocommerce-result-count, #woof_results_by_ajax .woocommerce-pagination{ display: inline-block !important; }no change 🙁
I currently have on, if you would like to see for yourself. 🙂
Thank you.
Jamie
I stand corrected…
the pagination is not duplicating now, but I need to remove double sorting…
.woocommerce-ordering {
display: none;
}removed both sorting options.
I just turned off ajax…
it’s turning into a mess with all the css tweaks.
can’t seem to separate the woof stuff from the woocommerce stuff.
No worries.
Thanks for the effort.
Hello Jamie
Thank you for cooperation, it can be resolved by CSS but I not css coder. One thing – if you still want ajax maybe this service will help you: https://www.fiverr.com/search/gigs?utf8=%E2%9C%93&search_in=category&source=guest-hp&locale=en&query=css&category=10&sub_category=140&page=1&layout=auto – css works for 5$
It’s no problem, I don’t css is going to get it done when both woof and the theme are using the same identifier. I have another way to ajaxify what I need. But thank you for the suggestion.
You can mark this resolved. 🙂
The topic ‘Double Pagination’ is closed to new replies.