Tell us what you are trying to do?
Im building a conditional profile page. I want to create 3 layouts in Toolset and display them in my template file. If condition 1 ist met: display layout 1 ...
My code looks like:
<?
if($permission==="own"){
echo 'DISPLAY LAYOUT "OWN"';
}else if($permission==="other"){
echo 'DISPLAY LAYOUT "OTHER"';
}else if($permission==="denied") {
echo 'DISPLAY LAYOUT "DENIED"';
} ?>
I need a shortcode or a function to integrate the layouts in my template
Is there any documentation that you are following?
I read this page but its not helpful: https://toolset.com/documentation/user-guides/layouts-theme-integration/
Is there a similar example that we can see?
no
What is the link to your site?
frisch.yes4shopping.com
I created multiple pages with different templates and did wp_redirect() to solve the problem