Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #754464

    Hi,

    https://kriesi.at/support/topic/moving-the-description-of-product-category-of-the-page-down/ showed me how to move the category description to the bottom of the page. But now the pagination / page numbers of the category seem to far away from the products. Is it possible to show it in the following order:

    1) products
    2) pagination
    3) category description

    See: http://www.wphelden.nl/product-categorie/sierkussens/

    #757070

    Hey Roderick,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Yigit

    #758317

    done

    #760550

    Any luck with this guys?

    #760665

    Hi,

    I get a “NOT FOUND ERRROR” when trying to open your link: http://www.wphelden.nl/product-categorie/sierkussens/

    Please share with us a precise link where we can see and inspect the elements in question.

    Best regards,
    Andy

    #760666

    Hi,

    sorry we moved it to another domain: https://www.woonkussens.nl/product-categorie/sierkussens/

    #762570

    Hi,

    no idea what you want to achieve to be honest. Can you highlight using screenshots please (imgur.com, Dropbox)? and make sure it the right link where we can exactly see the elements in question.

    Best regards,
    Andy

    #762577

    I think it can be done without a screenshot, ket me try one more time ;)

    If you look at categorypage like https://www.woonkussens.nl/product-categorie/sierkussens/ the order on the page is:

    1) category image
    2) filter
    3) products
    4) category description
    5) pagenumbers

    We want to switch 4 and 5 so below the products should come the pagenumbers and below that the page description

    #764137

    Hi roderickvs,

    Please add code in the functions.php file.

    
    add_action('wp_footer', 'ava_new_custom_script');
    function ava_new_custom_script(){
    ?>
    <script type="text/javascript">
    (function($) {
    	function a() {
    		$('.pagination').insertBefore('.term-description');
    	}
    
    	$(window).load(function() {
    		a();
    	});
    })(jQuery);
    </script>
    <?php
    }

    Let us know if this was helpful or if you have any more questions.

    Best regards,
    Victoria

    #764719

    i think this conflicts with https://kriesi.at/support/topic/moving-the-description-of-product-category-of-the-page-down/ because I get the pagenumbers forts then the description and then the products

    i’d really live it to be:

    – pages
    – products
    – description

    Is that possible?

    #765362

    Hi roderickvs,

    Of course, it’s possible. We don’t know what kind of code you added already, you should read both functions and try to make one that does exactly what you need.

    In the original questions you just wanted to swap pagination with category description.
    Now you want pagination on top of the page, is that correct?

    Best regards,
    Victoria

    #765366

    :)

    I’ve added the code provided in https://kriesi.at/support/topic/moving-the-description-of-product-category-of-the-page-down/ first to get the description below the products for conversion reasons. But then we noticed that none of the visitors saw the pagenumbers anymore.

    So we want the following order on the page:

    – pages (at the top yes)
    – products
    – description of the category (because nobody except Google reads that ;))

    #766313

    Hi roderickvs,

    Of course, that is possible :)

    Please add code in the functions.php file.

    
    add_action('wp_footer', 'ava_new_custom_script');
    function ava_new_custom_script(){
    ?>
    <script type="text/javascript">
    (function($) {
    	function a() {
    		$('.term-description').insertAfter('.products');
    	}
    
    	$(window).load(function() {
    		a();
    	});
    })(jQuery);
    </script>
    <?php
    }
    

    Let us know if you have any more questions.
    Best regards,
    Victoria

    #768169

    If I add both these codes the child them functions php the site goes 500 on me so that does not work :(

    If I add just the first the site still works, but the pages are at the bottom of the page again where nobody can find them

    add_action(‘wp_footer’, ‘ava_new_custom_script’);
    function ava_new_custom_script(){
    ?>
    <script type=”text/javascript”>
    (function($) {
    function a() {
    $(‘.term-description’).insertAfter(‘.products’);
    }

    $(window).load(function() {
    a();
    });
    })(jQuery);
    </script>
    <?php
    }

    add_action(‘wp_footer’, ‘ava_new_custom_script’);
    function ava_new_custom_script(){
    ?>
    <script type=”text/javascript”>
    (function($) {
    function a() {
    $(‘.pagination’).insertBefore(‘.term-description’);
    }

    $(window).load(function() {
    a();
    });
    })(jQuery);
    </script>
    <?php
    }

    #768380

    Hi roderickvs,

    It’s because you’re adding the same action twice with the same function.

    You need only one. Here it is:

    
    add_action(‘wp_footer’, ‘ava_new_custom_script’);
    function ava_new_custom_script(){
    ?>
    <script type=”text/javascript”>
    (function($) {
    function a() {
    	$(‘.pagination’).insertBefore(‘.products’’);
    	$(‘.term-description’).insertAfter(‘.products’);
    }
    
    $(window).load(function() {
    a();
    });
    })(jQuery);
    </script>
    <?php
    }

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #772445

    Well if I do that in the child theme functions, nothing happens if I do it in the main functions.php the site goes 500 on me ..

    #773539

    Hi roderickvs,

    DO you have another function that you added in your main functions.php that is called “ava_new_custom_script”?

    Best regards,
    Victoria

    #773799

    Replced the current functions.php with the latest functions.php from Enfold and placed you code at the bottom of the functions.php just before

    /*
    * register custom functions that are not related to the framework but necessary for the theme to run
    */

    require_once( ‘functions-enfold.php’);

    /*
    * add option to edit elements via css class
    */
    // add_theme_support(‘avia_template_builder_custom_css’);

    Cleared the cache and now no 500 error, but the order is still the same as the original Enfold theme as you can see on: https://www.woonkussens.nl/product-categorie/sierkussens/

    #774979

    Hi roderickvs,

    Here is the code:

    
    add_action('wp_footer', 'ava_new_custom_script');
    function ava_new_custom_script(){
    ?>
    <script type="text/javascript">
    (function($) {
    function a() {
    	$('.pagination').insertBefore('.products');
    	$('.term-description’).insertAfter('.products');
    }
    
    $(window).load(function() {
    a();
    });
    })(jQuery);
    </script>
    <?php
    }
    

    Put in your child theme functions.php, there was an issue with the single quotes.
    Let me know if it worked this time.
    Best regards,
    Victoria

    #776048

    no whatever I do here, the website goes 500 on me.

    It’s a default Enfold site and I’ve replaced the normal functions.php with the earlier changes with the default functions.php so I have no idea why this website keeps going 500 on me with every code you try to help me with :(

    #778573

    Hi,

    This is fixed. I found out the cause of the problem was in the Enfold (parent) themes functions.php, the single and double quotes have been changed (usually this happens if you copy and paste code from email), which also affects the functions.php in the child theme, not allowing you to add codes that results to 500 Internal Server Error. I commented out the code from the parent theme’s functions.php and added the code Victoria gave to you in the child theme’s function.php and the problem is resolved :)

    Best regards,
    Nikko

    #780079

    Hi!
    This is my second enfold Installation and nothing works fine (with my first I had no Problems at all) and I’m Kind of frustrated at the Moment.
    The wordpress implementation is fine until I install the enfold theme.
    First I had this error “Parse error: syntax error, unexpected T_FUNCTION in /home/content/54/8435454/html/wp-content/themes/enfold/config-layerslider/LayerSlider/layerslider.php on line 109”, then I deinstalled the theme and now I have an internal Server error.
    As I’m not a web developer I kindly ask for your help. Find my log-in in private.
    Best regards
    Sonja

    #780532

    Hi Sonja,

    I could not login with these credentials. Please update the credentials.

    Best regards,
    Victoria

    #781026

    Hi Victoria!
    Sorry it was the wrong link
    Best regards,
    Sonja.

    #782921

    Hi Sonja,

    Today I was able to login to your dashboard, did not see any problem, besides the Layer Slider that need update. The update will be available very soon with the new version of Enfold.

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 25 posts - 1 through 25 (of 25 total)
  • You must be logged in to reply to this topic.