Home › Forums › Basel support forum › Replace page category "All", in shop page › Reply To: Replace page category "All", in shop page
hcaves
Thanks for the answer.
So here is what I’ve done: thanks to the pluggable function you created in the theme, I copy pasted the function in the child theme, to change what I need to change.
To achieve my objective, I can replace the variable shop_link with
$shop_link = get_permalink($post = 1750, $leavename = false );
With $post = the page id I want.
But this is not a very smooth: the page starts loading as ajax, then redirects…
I would like to be able to display the content I want under the “All” tab, with keeping the same experience (no page reload, but the loading icon), and keep the Heading bar with the category name.
I understand this is tricky, but is it achievable?
Otherwise, is it possible to deactivate the loading icon, and directly go the page after clicking on “All”?
Thank you!