Avada Theme – PHP question
-
I am using the Avada Theme and can’t seem to get help through support. They just tell me to go find a developer.
I am trying to get the “page-title-container” to appear on the main index/HOME page. It appears correctly on every other page, but apparently it is designed to NOT show on the main index or HOME.
I’m not adept enough at PHP to figure it out. Any help would be greatly appreciated..
<?php if(of_get_option('page_title_bar', 'yes') == 'yes'): ?> <?php if(((is_page() || is_single() || is_singular('avada_portfolio')) && get_post_meta($post->ID, 'pyre_page_title', true) == 'yes') && !is_front_page()): ?> <div class="page-title-container"> <div class="page-title"> <h1><?php the_title(); ?></h1> <?php kriesi_breadcrumb(); ?> </div> </div> <?php endif; ?> <?php if(is_home() && !is_front_page() && get_post_meta($slider_page_id, 'pyre_page_title', true) == 'yes'): ?> <div class="page-title-container"> <div class="page-title"> <h1><?php echo of_get_option('blog_title', 'Blog'); ?></h1> <?php kriesi_breadcrumb(); ?> </div> </div> <?php endif; ?> <?php if(is_search()): ?> <div class="page-title-container"> <div class="page-title"> <h1><?php _e('Search results for:', 'Avada'); ?> <?php echo get_search_query(); ?></h1> </div> </div> <?php endif; ?> <?php if(is_archive()): ?> <div class="page-title-container"> <div class="page-title"> <h1><?php single_cat_title(); ?></h1> <?php kriesi_breadcrumb(); ?> </div> </div> <?php endif; ?> <?php endif; ?> <div id="main" style="overflow:hidden !important;"> <div class="row">
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Avada Theme – PHP question’ is closed to new replies.