Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #516450

    Hi,

    Please have a look at this portfolio (link in private content). I’m using a onepager. The next items are loading in a new page resulting in a new page starting a the top of the page again. Instead of loading the next items in a new page, I’d like to have them sliding in so that a visitor stays in the same portfolio area. Is that possible? and, if not could you give advise on how to achieve this? Perhaps another module or some customization?

    Cheers,

    Steven

    #516516

    Hey steviger!

    Try this out, https://kriesi.at/support/topic/portfolio-grid-pagination-issue/.

    Best regards,
    Elliott

    #516524

    Hi,

    I’ve pasted the code in the fuctions.php but the result is that both my full screen slider with video and partner logo element are gone. The portfolio looks like this. Are you sure the php code is correct. I’m not a coder but the opening en closing php tag looks a bit odd.

    Cheers,

    Steven

    #516579

    Hey!

    Send us a WordPress login and we’ll take a look.

    Regards,
    Elliott

    #517209

    Hi Elliott,

    Please see the login details in the PC.

    Cheers,

    Steven

    #517976

    Hey!

    I checked your child’s functions.php but the code Elliott referred to is not implemented into it. Please put it inside it and let us know when you are done. Here I paste it again for you:

    add_action( 'wp_footer', 'enfold_customization_pagination_anchor' );
    function enfold_customization_pagination_anchor() {
    ?>
    <script type = "text/javascript">
    jQuery(document).ready(function(){
    jQuery('.pagination a').each(function(i, e){
    var url = jQuery(this).attr('href');
    jQuery(this).attr('href', url + "#presenters");
    });
    });
    </script>
    <?php
    }
    

    Best regards,
    Andy

    • This reply was modified 9 years, 3 months ago by Elliott.
    #518043

    Hi Andy,

    Just pasted the code…

    Cheers,

    Steven

    #518378

    Hi!

    There was a typo. Should be working now.

    Cheers!
    Elliott

    #518519

    Hi,

    Thanks for you reply. However, I don’t see it sliding. Clicking on the 1,2 or 3 link, still refreshes the page and starts at the top of the page.

    Regards,

    Steven

    #519530

    Hey!

    Well it was working but now it’s not because you changed the section id from “presenters” to “portfolio”. You’ll have to edit the script again and change this part,

    jQuery(this).attr('href', url + "#presenters");
    

    To #portfolio. There just isn’t an easy way to go about that. It would be best to hire a freelancer to help you code in a custom solution.

    Best regards,
    Elliott

    #519779

    Hi Elliott,

    I didn’t change anything because I was waiting for you guys to have a look. Anyway, I changed the # and now it works. Thanks again for the support.
    That’s the reason why I’m going to purchase my 6th Enfold license ;)

    Cheers,

    Steven

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Next portfolio items sliding in instead of opening in new page’ is closed to new replies.