Comments Pratik started the conversationFebruary 13, 2019 at 8:50amHello ,I need to interchange the DIV position of attached titles.From which file I can interchange the main-title and sub-title?Thanks 2,013Support repliedFebruary 13, 2019 at 4:00pmHello Pratik,you can open /sections/hero_section_container.php and interchange hero sub title with hero title<div class="inner <?php echo esc_attr( $tetriz_hero_properties->text_alignment ); ?>"><?php if( get_post_type() != 'post' ) { ?> <div class="hero-subtitle"><?php echo wp_kses_post( $tetriz_hero_properties->caption_subtitle ); ?></div> <?php } else { echo wp_kses_post( $tetriz_hero_properties->caption_subtitle ); } ?> <div class="hero-title"><?php echo wp_kses_post( $tetriz_hero_properties->caption_title ); ?></div></div>Thank you. Clapat Support Review Envato Item Support Policy Follow us! https://www.clapat.com/https://www.facebook.com/clapat.ro https://www.instagram.com/clapat.themes/https://x.com/clapatdesignhttps://www.linkedin.com/company/clapatstudiohttps://www.tiktok.com/@clapatstudioPratik repliedFebruary 14, 2019 at 3:05amHow can I add condition for home page as I don't want to change the sequence for home page http://antialias.in/beta/ only?Thanks 2,013Support repliedFebruary 15, 2019 at 12:08amHi Pratik,you can use this function is_front_page() to add the conditionhttps://codex.wordpress.org/Function_Reference/is_front_pageso if( is_front_page() ){...}if you want to add the condition andif( !is_front_page() ){ ... }otherwiseThank you. Clapat Support Review Envato Item Support Policy Follow us! https://www.clapat.com/https://www.facebook.com/clapat.ro https://www.instagram.com/clapat.themes/https://x.com/clapatdesignhttps://www.linkedin.com/company/clapatstudiohttps://www.tiktok.com/@clapatstudioPratik repliedFebruary 15, 2019 at 5:07amThanks Sign in to reply ...
Hello ,
I need to interchange the DIV position of attached titles.
From which file I can interchange the main-title and sub-title?
Thanks
Hello Pratik,
you can open /sections/hero_section_container.php and interchange hero sub title with hero title
<div class="inner <?php echo esc_attr( $tetriz_hero_properties->text_alignment ); ?>">
<?php if( get_post_type() != 'post' ) { ?>
<div class="hero-subtitle"><?php echo wp_kses_post( $tetriz_hero_properties->caption_subtitle ); ?></div>
<?php } else {
echo wp_kses_post( $tetriz_hero_properties->caption_subtitle );
} ?>
<div class="hero-title"><?php echo wp_kses_post( $tetriz_hero_properties->caption_title ); ?></div>
</div>
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
How can I add condition for home page as I don't want to change the sequence for home page http://antialias.in/beta/ only?
Thanks
Hi Pratik,
you can use this function is_front_page() to add the condition
https://codex.wordpress.org/Function_Reference/is_front_page
so
if( is_front_page() ){
...
}
if you want to add the condition and
if( !is_front_page() ){
...
}
otherwise
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Thanks