frontpage has a custom php and it displays the same in both icelandic and english. that might comfuse some people so i want to have it diffrent in each but i don't know how.
help appreciated :)
<div class="content-info"> <h2> <center> <?php $currentlang = get_bloginfo('language'); if($currentlang=="is-IS"): ?> <div><?php echo inkthemes_get_option('inkthemes_mainheading'); ?></div> <?php else: ?> <div><?php _e('english'); ?></div> <?php endif; ?> </center> </h2> </div>
You must log in to post.