-
AuthorPosts
-
November 15, 2018 at 3:21 am #1033753
Hi, im trying to deep like to a Portfolio Masonry Element. Im using the filters for the categories and would like to be able to have a button that links to each one of them pre filtered.
I saw this code https://kriesi.at/documentation/enfold/portfolio-grid/#enable-deeplinking-to-the-portfolio-ajax but Im not sure thats what im looking for and im also having issues getting it working.
I added to my functions and create this link
http://imaginepreview.com/senzafine/portfolio-item?custom_ajax=799
But still getting a 404, 799 is one of my project IDs
Here is my portfolio page, http://imaginepreview.com/senzafine/projects/
Looking to have a link like http://imaginepreview.com/senzafine/projects/#armour-stone or something along those lines.
That will go right to the portfolio page with that category selected already.
Thanks
November 19, 2018 at 12:28 am #1034942Hey acscreativenew,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
BasilisNovember 20, 2018 at 5:50 am #1035424Login info below
November 23, 2018 at 11:44 am #1036925Hi,
Thanks for the update.
Yous should append the custom_ajax query, with the post id as value, to the portfolio page url. Example:
http://imaginepreview.com/senzafine/projects?custom_ajax=961
The int 961 is the id of the “Federal Election Commision” post, so you when you get to the portfolio page using that link, the script will automatically open that particular post.
Best regards,
IsmaelNovember 26, 2018 at 6:49 pm #1037709Hi,
So im not trying to open the post im trying to open the gallery page that is open to a category for the portfolio.
I want to be able to land on this page.
But with the category for the filter already selected. So it would open up on the Armourcoat Category selected in the masonry filter.
December 1, 2018 at 6:30 pm #1039709Hi,
Now understood.
SO you want to be able to send over the user to a specific filtered already orders from the URL.
Yes, unfortunately that would require a lot of JS to be done and it is not possible right now.Best regards,
BasilisMarch 8, 2019 at 7:10 pm #1076441function select_portfolio_filter(){ ?> <script type='text/javascript'> jQuery( window ).load(function() { portfolio = window.location.href.split('#')[1]; jQuery('.'+portfolio+'_sort_button').click(); }); </script> <?php } add_action('wp_footer', 'select_portfolio_filter', 100);
March 10, 2019 at 5:51 am #1076889 -
AuthorPosts
- You must be logged in to reply to this topic.