Tagged: Portfolio
-
AuthorPosts
-
October 9, 2015 at 1:55 pm #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
October 9, 2015 at 3:43 pm #516516Hey steviger!
Try this out, https://kriesi.at/support/topic/portfolio-grid-pagination-issue/.
Best regards,
ElliottOctober 9, 2015 at 3:57 pm #516524Hi,
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
October 9, 2015 at 5:03 pm #516579Hey!
Send us a WordPress login and we’ll take a look.
Regards,
ElliottOctober 12, 2015 at 9:38 am #517209Hi Elliott,
Please see the login details in the PC.
Cheers,
Steven
October 13, 2015 at 11:33 am #517976Hey!
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.
October 13, 2015 at 1:13 pm #518043Hi Andy,
Just pasted the code…
Cheers,
Steven
October 13, 2015 at 9:04 pm #518378Hi!
There was a typo. Should be working now.
Cheers!
ElliottOctober 14, 2015 at 7:52 am #518519Hi,
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
October 15, 2015 at 8:01 pm #519530Hey!
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,
ElliottOctober 16, 2015 at 11:01 am #519779Hi 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
-
AuthorPosts
- The topic ‘Next portfolio items sliding in instead of opening in new page’ is closed to new replies.