Title: Avada Theme &#8211; PHP question
Last modified: August 20, 2016

---

# Avada Theme – PHP question

 *  Resolved [theankh](https://wordpress.org/support/users/theankh/)
 * (@theankh)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/avada-theme-php-question/)
 * [Test Site Example](http://cincinnati-website-design.net/sandbox/)
 * 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)

 *  [datdesignguy](https://wordpress.org/support/users/datdesignguy/)
 * (@datdesignguy)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/avada-theme-php-question/#post-3099380)
 * Looks to be a simple matter of removing the `&& !is_front_page()` from the code
   on line 2 of what you pasted in above and then adding in a an addition OR condition
   at the beginning of that same line…
 * So if you make this line:
    `<?php if(((is_page() || is_single() || is_singular('
   avada_portfolio')) && get_post_meta($post->ID, 'pyre_page_title', true) == 'yes')&&!
   is_front_page()): ?>`
 * into this:
 * `<?php if(((is_page() || is_single() || is_singular('avada_portfolio') || is_front_page())&&
   get_post_meta($post->ID, 'pyre_page_title', true) == 'yes')): ?>`
 * you should be golden! Let me know if that does the trick. I’ve never used the
   theme you are using before, but can almost guarantee that’s the problem preventing
   it from displaying for you.
 *  Thread Starter [theankh](https://wordpress.org/support/users/theankh/)
 * (@theankh)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/avada-theme-php-question/#post-3099382)
 * Worked like a charm. I thought I had tried that, but apparently I got something
   wrong.
 * I appreciate the help!
 *  [lbeck](https://wordpress.org/support/users/lbeck/)
 * (@lbeck)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/avada-theme-php-question/#post-3099611)
 * Hi There 🙂
 * I’m actually the developer for Avada and I’m not sure where you got that response
   about “find a developer” but it’s certainly not true.
 * And if you register on our support forum, where we handle all support, you will
   quickly find a thread in our knowledge base that shows you how to put the page
   title bar on the home page.
 * It’s as easy as that 😉
 *  [uppalapati41](https://wordpress.org/support/users/uppalapati41/)
 * (@uppalapati41)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/avada-theme-php-question/#post-3099631)
 * Hello friends i have a small doubt, We are using avada theme for our website 
   can anyone tell where i have to go in order to edit the layersilder according
   to our needs!!
 * very urgent.
 * Thank You.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/avada-theme-php-question/#post-3099632)
 * I’m sorry but as you are using a commercial theme, you need to seek support from
   the theme’s developer/vendor. We do not support [commercial products](http://codex.wordpress.org/Forum_Welcome#Commercial_Products)
   here.
    Try [http://themeforest.net/user/ThemeFusion](http://themeforest.net/user/ThemeFusion)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Avada Theme – PHP question’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 5 replies
 * 5 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/avada-theme-php-question/#post-3099632)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
