-
AuthorPosts
-
August 6, 2015 at 11:38 am #483790
Hi there,
Is there a way to activate the ‘AJAX Portfolio’ option for my image portfolio items? I found another post that linked to adding code in the functions: http://kriesi.at/documentation/enfold/enable-deeplinking-to-the-portfolio-ajax/ I tried that but the solution did not work. Not sure if that was what I need.
Thanks
August 6, 2015 at 7:50 pm #484120Hi cthai!
I think it’s the right way to do it. Sure you followed everything correctly? You can provide us admin access and we take a look. Post login details here as private reply.
Best regards,
AndyAugust 8, 2015 at 3:48 pm #484811Hi Andy,
I’m giving it another go. I pasted the code in Step 1 in functions.php. I’m now on step 2 but not sure where I’m supposed to put the links or what the link means eg. http://www.yoursite.com/your_portfolio_page?custom_ajax=12 (what determines the AJAX number?)
Thanks
August 10, 2015 at 11:22 am #485170Hey!
The code provided in the documentation will let you create links that open up a specific portfolio item in the ajax portfolio overview page. Is that what you’re trying to do? What do you mean by “activate the ‘AJAX Portfolio’ “?
Cheers!
IsmaelAugust 11, 2015 at 4:58 pm #486069Hi Ismael,
That’s correct – I am wanting to create links that open up a specific porfolio item as a popup with images and possibly text. Is this the correct documentation? I am trying to figure out how to do this as I do not see a way in the theme to do this. Video popup works well, however.
Thank you
August 12, 2015 at 4:54 am #486295Hi!
You can add the code in the functions.php file then you have to create the links manually. Example:
http://www.yoursite.com/your_portfolio_page?custom_ajax=12
You need to change this part “http://www.yoursite.com/your_portfolio_page” to the actual url of your portfolio page. Adjust the value of the custom_ajax query string to the id of the portfolio item that you want to open when you go to the portfolio page.
?custom_ajax=12
The id of the portfolio item in the example is “12”. You can then add the link in a button shortcode or create your own link manually:
<a href="http://www.yoursite.com/your_portfolio_page?custom_ajax=12">Click this to open up portfolio item 12</a>
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.