@ Carlos
Works perfectly, thanks for that
Btw, I occured a little I18N breadcrumbs problem. The whole I18N navigation includes hyperlinks with links to the current page, so I needed also the navigation to NM posts be links. I did this, which works, but there's a little trouble that you can immediately see, I think.
With this, the "»" (the prefix » is also underlined (is a part of the hyperlink. So it's finally consistent with an exception. If I put the "»" outside the function, it would be shown all the time, even if there's nothing behind it. It's embarrasing to have an arrow pointing to an empty space, isn't it?
So I would like something
IF nm_post_title == NOT EMPTY STRING, THEN show "»" and next to it the hyperlink to nm_post_title. So the hyperlink would be only the post title without the separator "»".
Can you write such line for me, please? Thank you.
Works perfectly, thanks for that
Btw, I occured a little I18N breadcrumbs problem. The whole I18N navigation includes hyperlinks with links to the current page, so I needed also the navigation to NM posts be links. I did this, which works, but there's a little trouble that you can immediately see, I think.
Code:
<p class="breadcrumbs" >
<a href="<?php echo find_url('index',null); ?>">
<?php if ($language == 'cs') { ?>Úvod<?php } ?>
<?php if ($language == 'en') { ?>Home<?php } ?>
</a>
<?php get_i18n_breadcrumbs(return_page_slug()); ?>
<a href="#"><?php nm_post_title('» '); ?></a>
</p>
With this, the "»" (the prefix » is also underlined (is a part of the hyperlink. So it's finally consistent with an exception. If I put the "»" outside the function, it would be shown all the time, even if there's nothing behind it. It's embarrasing to have an arrow pointing to an empty space, isn't it?
So I would like something
IF nm_post_title == NOT EMPTY STRING, THEN show "»" and next to it the hyperlink to nm_post_title. So the hyperlink would be only the post title without the separator "»".
Can you write such line for me, please? Thank you.
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
» The little I did for GetSimple