All Articles
Over time shoulder joints take a lot of wear and tear and become unstable and painful. There is cartilage in the shoulder joints that keep it protected but can break down. This break down of cartilage is where arthritis...read more
$postID = $post->ID;
$parentID = $post->post_parent;
$parentParentID = get_post_ancestors($parentID);
$parentParentID = $parentParentID[0];
$parentParentIDParent = get_post_ancestors($parentParentID);
$parentParentIDParent = $parentParentIDParent[0];
$hide_sidebar = false;
if ( !empty($headerBg) || $headerBg !== '' )
{
$firstLine = ' ';
}
if ( cms_is_in_menu('Sidebar - About Us') )
{
$headerImageClass = '';
$firstLine = 'About';
$aboutUs = true;
$sidebar_menu = 'Sidebar - About Us';
}
if ( cms_is_in_menu('Sidebar - Resources') )
{
$headerImageClass = 'resourcesHeaderImage';
$firstLine = 'Resources';
$sidebar_menu = 'Sidebar - Resources';
}
if ( cms_is_in_menu('Sidebar - Conditions') )
{
$headerImageClass = 'conditionsHeaderImage';
$firstLine = 'Conditions';
$sidebar_menu = 'Sidebar - Conditions';
}
if ( cms_is_in_menu('Sidebar - Treatments') )
{
$headerImageClass = 'treatmentsHeaderImage';
$firstLine = 'Treatments';
$sidebar_menu = 'Sidebar - Treatments';
}
if ( cms_is_in_menu('Sidebar - Hip') )
{
$headerImageClass = 'hipHeaderImage';
$firstLine = 'Hip';
$sidebar_menu = 'Sidebar - Hip';
}
if ( cms_is_in_menu('Sidebar - Elbow') )
{
$headerImageClass = 'elbowHeaderImage';
$firstLine = 'Elbow';
$sidebar_menu = 'Sidebar - Elbow';
}
if ( cms_is_in_menu('Sidebar - Knee') )
{
$headerImageClass = 'KneeHeaderImage';
$firstLine = 'Knee';
$sidebar_menu = 'Sidebar - Knee';
}
if ( cms_is_in_menu('Sidebar - Shoulder') )
{
$headerImageClass = 'shoulderHeaderImage';
$firstLine = 'Shoulder';
$sidebar_menu = 'Sidebar - Shoulder';
}
if ( cms_is_in_menu('Sidebar - Services') )
{
$headerImageClass = 'servicesHeaderImage';
$firstLine = 'Services';
$sidebar_menu = 'Sidebar - Services';
}
if ( cms_is_in_menu('Sidebar - Contact Us') )
{
$headerImageClass = 'contactHeaderImage';
$firstLine = 'Contact';
$contactUs = true;
$sidebar_menu = 'Sidebar - Contact Us';
}
if (is_404()) {
$firstLine = '404';
$sidebar_menu = 'Sidebar - About Us';
$headerImageClass = 'blogHeaderImage';
}
if ( is_single() || is_archive() || is_home() )
{
$headerImageClass = 'blogHeaderImage';
$category = single_cat_title("",false);
if(!empty($category)){ $categoryTitle = ' - ' . $category; }
$firstLine = 'Blog' . $categoryTitle;
$blogArea = true;
}
// if( $postID == 63 || $parentID == 63 || is_page(16) ){
// // Remove Header for: Our Doctors, Our Doctors Children, Specialties
// $headerImageClass = 'hidden-xs-up';
// }
?>