Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

MariaWeb on "[Plugin: Polylang] different crumbs in each language"

$
0
0
function inkthemes_breadcrumbs() {
    $delimiter = '»';
    $home = 'Home'; // text for the 'Home' link
    $before = '<span class="current">'; // tag before the current crumb
    $after = '</span>'; // tag after the current crumb
    echo '<div id="crumbs">';
    global $post;
    $homeLink = home_url();
    echo '<a href="' . $homeLink . '">' . $home . '</a> ' . $delimiter . ' ';

i want it do be different in each language, it isn't something that has to be changed but i would like to know if it is possible to have it different in each language :)
thanks
$home = 'Home'; // text for the 'Home' link

http://wordpress.org/plugins/polylang/


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>