Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Help with php if/then code

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #302651
    janet4now
    Participant
    <?php
            if( get_post_type() == 'tribe_courses' ) {
               echo '<a href="/courses/passion-and-provision-course-2018/"><h1>Passion & Provision<sup>®</sup></h1>
                    <h2>– COURSE –</h2></a><br>';
            } else {
                 echo  '<a href="/"><h1>HaBO Village</h1>
                        <h2>Helping Leaders Build Passion & Provision<sup>®</sup> Companies</h2></a><br>';
            }
    ?>
    
Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.