Last active
March 10, 2018 00:02
-
-
Save anestan/058aae44567913cc3e04 to your computer and use it in GitHub Desktop.
icelock - Use Polylang Plugins for customizer homepage
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
// check Polylang exist | |
if ( function_exists('pll_register_string') ) { | |
$icelock_title_portfolio_section = get_theme_mod('icelock_title_portfolio_section', ''); | |
pll_register_string('Portfolio Section Title', $icelock_title_portfolio_section); | |
$icelock_title_team_section = get_theme_mod('icelock_title_team_section', ''); | |
pll_register_string('Team Section Title', $icelock_title_team_section); | |
$icelock_title_recent_post_section = get_theme_mod('icelock_title_recent_post_section', ''); | |
pll_register_string('Recent Post Section Title', $icelock_title_recent_post_section); | |
$icelock_title_testimonials_section = get_theme_mod('icelock_title_testimonials_section', ''); | |
pll_register_string('Testimonial Section Title', $icelock_title_testimonials_section); | |
$icelock_footer_message = get_theme_mod('icelock_footer_message', ''); | |
pll_register_string('Footer Content', $icelock_footer_message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Preview in Polylang plugin settings