Hello
I wanna to write separated codes inside of two Snippets like bellow codes but it’s not working
Part 1 :
Part 2 :
Actually should be use below codes in one post which is not working and I got an error
[wbcr_php_snippet id=”1″ title=”Start Check”]
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
[wbcr_php_snippet id=”2″ title=”End Check”]
please note that : I need to this separated codes cause to use different texts or links inside of different posts so I’ve to find eventually a solution ?
I wanna to write separated codes inside of two Snippets like bellow codes but it’s not working
Part 1 :
PHP:
if( is_user_logged_in() ) {
PHP:
} else {
echo “You must be logged in to download the file.”;
}
[wbcr_php_snippet id=”1″ title=”Start Check”]
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
[wbcr_php_snippet id=”2″ title=”End Check”]
please note that : I need to this separated codes cause to use different texts or links inside of different posts so I’ve to find eventually a solution ?