Created
October 10, 2015 06:04
-
-
Save anestan/724718fb37de576b30e8 to your computer and use it in GitHub Desktop.
icelock - modify homepage with polylang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- PORTFOLIO SECTION --> | |
<h2> | |
<?php | |
if ( function_exists('pll_register_string') ) { | |
echo pll__(get_theme_mod('icelock_title_portfolio_section')); | |
} else { | |
echo get_theme_mod('icelock_title_portfolio_section'); | |
} | |
?> | |
</h2> | |
<!-- TEAM SECTION --> | |
<h2> | |
<?php | |
if ( function_exists('pll_register_string') ) { | |
echo pll__(get_theme_mod('icelock_title_team_section')); | |
} else { | |
echo get_theme_mod('icelock_title_team_section'); | |
} | |
?> | |
</h2> | |
<!-- TEAM SECTION --> | |
<h2> | |
<?php | |
if ( function_exists('pll_register_string') ) { | |
echo pll__(get_theme_mod('icelock_title_recent_post_section')); | |
} else { | |
echo get_theme_mod('icelock_title_recent_post_section'); | |
} | |
?> | |
</h2> | |
<!-- TESTIMONIAL SECTION --> | |
<h2> | |
<?php | |
if ( function_exists('pll_register_string') ) { | |
echo pll__(get_theme_mod('icelock_title_testimonials_section')); | |
} else { | |
echo get_theme_mod('icelock_title_testimonials_section'); | |
} | |
?> | |
</h2> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment