Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1487825

    Hi Kresi team,

    Hope you’re doing well.

    Could you please let me know how I can have the same order of portfolio items displayed on both my home page and the portfolio page?

    Thanks.

    #1487827

    Hey lara666,

    Thank you for the inquiry.

    The sorting of the portfolio items on both pages seems to be the same. Could you provide a screenshot of the sorting issue? If you need to adjust it, you can do so in Portfolio Grid > Content > Sorting as shown in the screenshot below.

    View post on imgur.com

    Let us know if you need more info.

    Best regards,
    Ismael

    #1487828

    Hi Ismael,

    Please find below a link with screenshots showing that the portfolio items appear in a different order on the home page compared to the portfolio page.

    #1487830

    Hi,

    Thank you for the screenshot.

    Have you tried adjusting the published date of the portfolio items? If that doesn’t work, try adding this script to the functions.php file:

    add_action( 'wp_footer', function() {
        ?>
        <script type="text/javascript">
        jQuery(document).ready(function($) {
            var post253 = $('.post-entry-253');
            var post3164 = $('.post-entry-3164');
            
            if (post253.length && post3164.length) {
                post3164.insertAfter(post253);
            }
        });
        </script>
        <?php
    });

    Best regards,
    Ismael

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