hi there,
is it possible – from an external page, to link to a portfolio page, with a specific category already active?
for example, if I was linking to this page – is there some way I could have the Design category display on page load – rather than All?
what i’m looking to do is place a hardcoded version of the sorting navigation on a standalone portfolio post, linking back to the main portfolio page, but being able to choose which portfolio items I show on that portfolio page.
does that make sense?
thanks :)
Jason
Hey Jason,
Maybe this thread can help you
https://kriesi.at/support/topic/linking-to-filtered-portfolio-ajax/
If you need further assistance please let us know.
Best regards,
Victoria
Thanks Victoria – I’ll take a look :)
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic.
Best regards,
Rikard
Hi Rikard – the info from the post Victoria recommended works perfectly – thank you!
Hi,
Thank you for the update.
Yes, this should be possible. If you’re using the advance layout builder for the portfolio items, then you have to modify the template-builder.php file and add the code block shortcode there. You will also have to use the following filter to properly execute the shortcodes that are outside the advance layout builder.
You can also use hooks such as “ava_before_content_templatebuilder_page” or “ava_before_get_sidebar_template_builder” to insert additional elements before or after the advance layout builder content.
Best regards,
Ismael