• Hello
    I wanna to write separated codes inside of two Snippets like bellow codes but it’s not working
    Part 1 :
    if( is_user_logged_in() ) {

    Part 2 :

    } else {
    echo “You must be logged in to download the file.”;
    }

    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 🙂

The topic ‘Use separated php codes inside of multiple short codes’ is closed to new replies.