<?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?><?php comments_popup_link(__([:en]'No Comments[:de]foobar'), '1 Comment', '% Comments'); ?>Qian Qin wrote:somewhat like this:
- Code: Select all
<?php comments_popup_link(__([:en]'No Comments[:de]foobar'), '1 Comment', '% Comments'); ?>
<?php comments_popup_link(__('[:nl]Geen reacties[:en]No Comments[:fr]Pas de commentaire'), '[:nl]1 reactie[:en]1 Comment[:fr]1 commentaire', '[:nl]% Commentaar[:en]% Comments[:fr]% de commentaire'); ?><?php echo '<li class="page_item"><a href="' . get_bloginfo('url') . '">Home</a></li>'; ?><?php echo '<li class="page_item"><a href="' . get_bloginfo('url') . '"><?php _e('[:en]Home[:es]Inicio); ?></a></li>'; ?>Parse error: syntax error, unexpected '[', expecting ',' or ';' in /home/grihanwb/public_html/wp-content/themes/ePhoto/header.php on line 98
<?php echo '<li class="page_item"><a href="' . get_bloginfo('url') . '"><!--:en-->Home<!--:--> <!--:es-->Inicio<!--:--></a></li>'; ?>I tried this:
- Code: Select all
<?php echo '<li class="page_item"><a href="' . get_bloginfo('url') . '"><?php _e('[:en]Home[:es]Inicio); ?></a></li>'; ?>
But I get this error:Parse error: syntax error, unexpected '[', expecting ',' or ';' in /home/grihanwb/public_html/wp-content/themes/ePhoto/header.php on line 98
<?php echo '<li class="page_item"><a href="' . get_bloginfo('url') . '"><?php _e('[:en]Home[:es]Inicio'); ?></a></li>'; ?>Parse error: syntax error, unexpected '[', expecting ',' or ';' in /home/grihanwb/public_html/wp-content/themes/ePhoto/header.php on line 98
<?php echo '<li class="page_item"><a href="' . get_bloginfo('url') . '">'.__('[:en]Home[:es]Inicio').'</a></li>'; ?>Return to qTranslate Support Forum
Users browsing this forum: Google [Bot] and 3 guests