-
AuthorPosts
-
April 5, 2019 at 10:25 am #1087416
Hi there,
in a previous ticket I have asked how to move the category description on product category pages to the bottom of the page: https://kriesi.at/support/topic/remove-the-category-description-text-from-the-image-banner-at-category-page/
Thanks for helping me on this again! However I have now discovered that the pagination buttons to go to the next page with products is below the category description text: See example: https://www.tretroller-laden.de/produkt-kategorie/tretroller-erwachsene/
Is there any way to place the pagination button directly below the products and the category description text below the pagination buttons?Thank you very much in advance!
April 8, 2019 at 1:15 pm #1088256Hey stofson,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
VictoriaApril 8, 2019 at 1:31 pm #1088261This reply has been marked as private.April 12, 2019 at 3:25 am #1089831Hi,
Thanks for the update.
You need to adjust the priority of the hook. Look for this code:
add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 5 );
Set the priority value from 5 to 15 or 20.
Best regards,
IsmaelwApril 12, 2019 at 8:19 am #1089938Hi Imael, thanks. In which file do I find this code?
Thanks!
April 14, 2019 at 9:31 pm #1090744April 14, 2019 at 10:02 pm #1090756Hi Victoria, thanks for the file name, but unfortunately I cannot find the mentioned code in the file.
April 15, 2019 at 4:07 am #1090816Hi,
It’s in the functions.php file.
// https://kriesi.at/support/topic/moving-category-description-under-products/#post-533014
Did you use that code?
Best regards,
IsmaelApril 27, 2019 at 10:09 pm #1094974Hi Ismael,
thanks, it worked. The problem is now that the sidebar is now at the very bottom of the page below the category description instead of left of the products. How can I increase the priority of the sidebar that it show on the left next to the product listings?Thanks
April 29, 2019 at 1:02 pm #1095248Hi,
Thanks for the update.
That modification should not have affected the sidebar. Could you post the actual code on pastebin.com? Or generate a new login token so that we can test it.
Best regards,
IsmaelDecember 4, 2019 at 11:33 am #1162530Hi, I want to come back to this issue.
Putting the code “add_action( ‘woocommerce_after_shop_loop’, ‘woocommerce_taxonomy_archive_description’, 5 );” into the functions php file and replace the 5 by 10 or 20 does not solve the issue. Could you therefore please find another solution to put the pagination buttons right behind the products?
I have granted you 7 days of temporary login. See private credentials.
Thanks, Roan
December 5, 2019 at 10:33 am #1162865Hi,
Thank you for the update.
The login token has expired. Did you disable it? Please generate another token so that we can inspect the issue.
Best regards,
IsmaelDecember 5, 2019 at 10:39 am #1162868here the updated credentials.
Thanks!
December 5, 2019 at 12:23 pm #1162923Hi Ismael
The credentials in my previous reply should work. I have tested them.December 6, 2019 at 4:41 am #1163277Hi,
Thank you for the update.
We were able to login to the site but unable to edit the files because the Appearance > Editor panel is not accessible. Please enable the editor or post the FTP details in the private field. Have you tried changing the priority to 1 or 2 so that the description is appended right after the product loop?
Best regards,
IsmaelApril 6, 2020 at 10:01 am #1201167Hi Ismael,
yes, I have tried to change priority to 1 or 2, but it does not help either.
Please find my FTP credentials and a new 7 days temporary login link in the private content.Many thanks for your help!
April 11, 2020 at 7:10 pm #1202981Hi, any response?
Thanks.
April 13, 2020 at 7:10 am #1203232Hi,
Sorry for the delay. We tried to access the file server but the account is incorrect or invalid. Please post another account and provide the URL of the page where we can actually see the pagination.
Best regards,
IsmaelApril 13, 2020 at 8:40 am #1203248Hi,
sorry, the password I mentioned was not correct. Please find the right password in the private content of this message. The issue can be observed on the following page:
https://www.tretroller-laden.de/produkt-kategorie/tretroller-erwachsene/Thanks!
April 15, 2020 at 12:44 pm #1203949Hi,
We can now access the file server but we can’t find the wp-content directory in the tretroller-laden.de folder. Where is root directory of the site?
Best regards,
IsmaelApril 15, 2020 at 1:18 pm #1203961the folder has been renamed (see private content)
April 17, 2020 at 11:20 am #1204694Could you please try again?
Thanks!
April 20, 2020 at 6:04 am #1205390Hi,
Sorry for the delay. We edited the hooks in the functions.php file to render the pagination before the taxonomy description.
/** * Hook in each tabs callback function after single content. */ function av_woo_hooks() { add_action( 'woocommerce_after_single_product_summary', 'woocommerce_product_description_tab' ); add_action( 'woocommerce_after_single_product_summary', 'woocommerce_product_additional_information_tab' ); add_action( 'woocommerce_after_single_product_summary', 'comments_template' ); add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 2 ); remove_action( 'woocommerce_after_shop_loop', 'avia_woocommerce_after_shop_loop', 10); add_action( 'woocommerce_after_shop_loop', 'avia_woocommerce_after_shop_loop_mod', 1); add_action( 'woocommerce_after_shop_loop', 'avia_woocommerce_after_shop_loop_mod_close', 10); } add_action( 'init', 'av_woo_hooks'); function avia_woocommerce_after_shop_loop_mod() { global $avia_config; if(isset($avia_config['dynamic_template'])) return; if(isset($avia_config['overview'] )) echo avia_pagination('', 'nav'); } function avia_woocommerce_after_shop_loop_mod_close() { echo "</div> </main>"; //end content }
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.