Example #1
0
 function jobsshop_body_classes($classes)
 {
     global $post;
     $slug = $post->post_name;
     $classes[] = $slug . '-page';
     if (!is_home() && !jobsshop_is_home()) {
         $classes[] = 'page-common';
         $classes[] = 'individual-page';
     }
     if ('page' == $post->post_type) {
         $classes[] = 'static-page';
     }
     unset($classes[array_search('logged-in', $classes)]);
     return $classes;
 }
Example #2
0
">
                                    <div class="footer-items">
                                        <h5><?php 
    echo $menu_obj->name;
    ?>
</h5>
                                        <?php 
    wp_nav_menu(array('theme_location' => 'footer5', 'menu_class' => 'menu'));
    ?>
                                    </div>
                                </div>
                            <?php 
}
?>
                            <?php 
if (jobsshop_is_home()) {
    ?>
                        </div>
                    </div>
                <?php 
}
?>
                </div>
            </div>
            <div class="footer-copyright-text">
                <span><?php 
printf(get_field('footer_text', 'option'), date('Y'));
?>
</span>
            </div>
        </div>