Hello, I am trying to translate the WordPress default theme into Dutch. For this, I need to translate the “Pages” header in the side bar to “Pagina’s”. Did you notice the quote sign before the “s” in this word? That is what I cannot get right.
The code from the theme looks like:
<?php wp_list_pages('title_li=<h2>Pagina\'s</h2>' ); ?>
I am not accustomed to php, but in C I would escape the quote sign (\’) to get it displayed. In this case the final output is just what is typed in the code: “Pagina\’s”. And that is not what I want. If I remove the “\”, I get a syntax error on the side bar. I also tried html &-character codes, but this is also not properly processed.
Any help will be appreciated.
- The topic ‘How to get a quote-sign (‘) in a theme php-function’ is closed to new replies.