-
AuthorPosts
-
November 25, 2014 at 6:12 pm #357742
Hello Support-Team,
i used Enfold Theme 3.0.4 and WordPress 4.0.1. I have a Child Theme and have installed a Shop with WooCommerce.
Now i want show the pagination not only on the bottom from shopsites also i want to show in the top.
Is this possible – if yes? Please, can me give a short explanation if it works?Thanks for help
BR FränkNovember 26, 2014 at 11:51 pm #358655Hey Frank!
Try adding this to the bottom of your functions.php file.
add_action( 'woocommerce_before_shop_loop', 'enfold_customization_shop_pagination', 10); function enfold_customization_shop_pagination() { global $avia_config; if(isset($avia_config['dynamic_template'])) return; if(isset($avia_config['overview'] )) echo avia_pagination('', 'nav'); }
Regards,
ElliottNovember 27, 2014 at 12:22 am #358677Hi Elliot,
WOW. THANKS. Its work fine;-)
But a small blemishes have it – now i see the pagination on the Parent-Site (Jewelry Shop). Here i didn`t want to
see the pagination – this site is the entry for the Online-Shop. I want to see the pagination only on the Children Sites.
If you could help me out here again would be huge.
Thank you, Thank you – GREAT JOBBR Fränk
November 28, 2014 at 4:10 pm #359610Hey!
Do you mean child pages? Go ahead and send us a link to both pages so we can get a better idea of what your trying to do.
Best regards,
ElliottNovember 30, 2014 at 12:07 am #360163Hello,
sorry…yes I mean child pages…the pages “JEWELRY SHOP” is the ParentPage and the entry to the shop. Here i didn`t see teh pagination. The pages “ARMBÄNDER””HALSKETTEN”RINGE””OHRRINGE””UNIKATE” are the childrenPages (Shop Categories) and here i want see teh pagination in the top and at the bottom of the page.PARENT-PAGE (No Pagination)
http://glahn.gallery/shop/CHILD-PAGE (Pagination on the top and bottom)
http://glahn.gallery/produktkategorie/armschmuck/Thanks for help
BR FränkDecember 1, 2014 at 1:57 am #360517Hey!
You can remove the pagination on the parent page with this on Quick CSS:
.archive main.template-shop nav.pagination { display: none; }
Cheers!
IsmaelDecember 2, 2014 at 11:41 pm #361852Hello!
Thank you very much – the CSS works good. BUT: Apparently I’m too stupid to insert in the right place … if I insert the CSS-Order in Child Theme Settings on Quick CSS – affects thats all child pages – what I am doing wrong…?
Sorry for the trouble with me.Cheers Fränk
December 3, 2014 at 5:40 pm #362293Hey!
Try adding this.
.tax-product_cat .pagination { display: block !important; } .woocommerce .pagination { display: none; }
Cheers!
ElliottDecember 3, 2014 at 7:20 pm #362398Hey Elliot!
You are my HERO;-)
That was the key for great luck – your code works fine!
THUMBS UP – Great Thanks for help
Good Work Guys!Cheers Fränk
-
AuthorPosts
- The topic ‘Question: It is possible to show pagination also on the top?’ is closed to new replies.