Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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

    #1034942

    Hey acscreativenew,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. 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 ).
    5. Click ” Submit “.
    6. 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,
    Basilis

    #1035424

    Login info below

    #1036925

    Hi,

    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,
    Ismael

    #1037709

    Hi,

    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.

    #1039709

    Hi,

    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,
    Basilis

    #1076441
    function 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);

    https://yoururl.com/site/#portfolio_category_slug

    #1076889

    Hi OSTstudio,

    Thanks for sharing, much appreciated :-)

    Best regards,
    Rikard

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