How to translate content in category.php or index.php with qtranslate?
I was wondering how to translate content under index.php
(or category.php
with qtranslate?).
I'm using twenty twelve theme.
My code on index.php
:
?php
/**
* The main template file.
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/
?
?php get_header(); ?
?php
$page_id = 1500;
$page_data = get_page( $page_id );
echo apply_filters('the_content', $page_data-post_content);
?
section id="last-articles_homepage"
h1Latest News/h1
...
I would like to translate the content inside the section
and h1
tag for example in french.
Topic plugin-qtranslate Wordpress
Category Web