Forum Replies Created
-
AuthorPosts
-
Great! Thank you!!!!!!! It looks nice!
Then It went up in the sidebar again.
That moved the description up in top of the sidebar. I then changed 11 to 10 which moved it down, but it went between the products and the pagination. So now I just need the pagination back up underneath the products.
Great! Thank you!
Well I would still have this custom field displaying a second category description that I can’t display at the right place. It should be at the bottom af every category pages underneath the pagination, but at the moment it is too far down under the sidebar.
Take a look at this page at the bottom: https://nederkjaersholm.dk/produkt-kategori/have-indretning/have-interioer/
// —————
// 4. Display field under products @ Product Category pagesadd_action( ‘woocommerce_after_main_content’, ‘bbloomer_display_wp_editor_content’, 11 );
function bbloomer_display_wp_editor_content() {
if ( is_product_taxonomy() ) {
$term = get_queried_object();
if ( $term && ! empty( get_woocommerce_term_meta( $term->term_id, ‘seconddesc’, true ) ) ) {
echo ‘<p class=”term-description”>’ . wc_format_content( htmlspecialchars_decode( get_woocommerce_term_meta( $term->term_id, ‘seconddesc’, true ) ) ) . ‘</p>’;
}
}
}Well I never changed any settings for that so I believe it is Enfold standard.
Never mind i figured it out
Hmm I tried that whitout any effect.
But I figured that it migt not be the “Sidebar On Archive Page” that is not responding, as I first thought, but instead it is the widget area called “shop overview page”.
The widget area called “shop overview page” appears on all my product category pages as a right sidebar. Where do I control this sidebar? It migt not be part of the Enfold sidebar settings.
Well in enfold settings -> Main menu you can choose to “Append Search Icon To Main Menu”. That append the search icon on all screen sizes. What I would like to do is to only append the search icon when ever the burger menu is activated. Is that possible?
Hi,
Unfortunately i still don’t se any changes. Product categories dosen’t react to changes made in sidebar settings. I can’t move the sidebar from right to left and I can’t hide the sidebar either.Try to make changes an see what happens on this page https://nederkjaersholm.dk/produkt-kategori/brugskunst/
Further more the second category description still crawls op in the sidebar as described above.
two-factor authentication is now disabled and Theme File Editor enabled.
Hi,
Thank you for your reply. I tried to replace the filter, but making changes in sidebar settings still doesn’t respond.Further more my second category description (placed at the bottom of the page) crawl op in the sidebar. It might be a number thing that has to be ajusted.
I added the second description with this code:// —————
// 4. Display field under products @ Product Category pagesadd_action( ‘woocommerce_after_shop_loop’, ‘bbloomer_display_wp_editor_content’, 20 );
function bbloomer_display_wp_editor_content() {
if ( is_product_taxonomy() ) {
$term = get_queried_object();
if ( $term && ! empty( get_woocommerce_term_meta( $term->term_id, ‘seconddesc’, true ) ) ) {
echo ‘<p class=”term-description”>’ . wc_format_content( htmlspecialchars_decode( get_woocommerce_term_meta( $term->term_id, ‘seconddesc’, true ) ) ) . ‘</p>’;
}
}
}I already have done that, but it is still there.
Thank you for your effort. But the CSS you added center the logo and menu. I would like the logo flet and the menu right as it is today. I just need some CSS that puts the notification bar at the very top.
In this order:
Notificationbar
secondary menu
Logo left, Menu rightIt is comming here.
Thank you, that worked for me. Is this an issue related to your them – I can see that I am not the only one affected.
I have tried that but it made no difference.
It happend during an update of several plugins.
I figured it out myself. Thank you for your assistance.
Hmm if I dont have an even number of products the description moves up along the last products so it sits at the one site insted of underneath. Please see this page: https://nederkjaersholm.dk/produkt-kategori/brugskunst-online/smaa-moebler/
Perfect! Thank you!!!
Page without pagination: https://nederkjaersholm.dk/produkt-kategori/brugskunst-online/glasklokker/
With pagination: https://nederkjaersholm.dk/produkt-kategori/brugskunst-online/bakker-og-fade/Hmm now I figured out what the problem is. When there is no pagination (because there is not enough products) the category description don’t move as there is no pagination to move it below. Can you help me modify the code so that the categroy description will move even if there is no pagination?
function av_move_wc_cat_description(){
?>
<script>
jQuery(window).load(function(){
jQuery(“.kategoritekst”).insertAfter(jQuery(“.pagination”));
});
</script>
<?php
}
add_action(‘wp_footer’, ‘av_move_wc_cat_description’);Thank you for your assistance. I went in this morning to double check that I had the right code in the function.php
It was there so i just saved the file and closed it. I then went to the pages where the category description didn’t move and all of a sudden it had moved to the bottom… It was like saving the function.php once again tricked it to work…. Does that make sence?Thank you for your assistance! It was the Lazy Loading option that caused the problem.
Sorry – it shoud be there now.
No everything is good. Thank you.
Perfect! Thank you for your assistance!
When I login and view my site it moves perfectly, but when I am not logged in and seeing it like a regular user it is still in the top.
Hmm it doesn’t move – nothing happens. I tried the old code and that doesn’t make it move either – but it did a week ago… how can that be?
-
AuthorPosts