Home Forums Theme support Translation for the WordPress Backend

This topic contains 5 replies, has 2 voices, and was last updated by  7Theme Support 9 years, 9 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Hello,

    is there a possibility to translate the WordPress backend for the theme options and custom post types?

    Regards Marc

    Hi,

    I’m sorry, the backend is not translateble with a .mo/.po file, but if you want, you can translate the files you need, i.e. for the team post type its the file “posttype-team.php” in the “7league” folder, just open the file and edit the “function register_team”.

    For the theme options its the file “options.php” and you need to replace the “description” and “name” field in the array.

    Hello,

    Thanks for the fast answer.

    Currently I have no use for the CustomPostTypes (Clients, Testimonial, Team, Potfolio, Maps) is it possible to hide it in the WordPress Navigation with css or php?

    Support your themes Child Themes and if so you have a example template for Child Themes.

    Thanks in advance
    Marc

    Yes, I think its possible. Please go to the folder “7league”, open the file “init.php” and remove these lines:

    require_once ( get_template_directory() . '/7league/posttype-client.php' ); 
    require_once ( get_template_directory() . '/7league/posttype-testimonial.php' ); 
    require_once ( get_template_directory() . '/7league/posttype-team.php' ); 
    require_once ( get_template_directory() . '/7league/posttype-portfolio.php' );  
    require_once ( get_template_directory() . '/7league/posttype-mapr.php' ); 

    After removing these lines of code it should work.

    Perfekt 😉

    I want those changes likes to pack in a child theme to make sure when updates.
    Can you tell me which files must contain a child theme necessarily.

    Thanks in advance

    Marc

    Hi Marc,

    creating a child theme is very easy, you can follow this tutorial to create a child theme:

    http://www.hongkiat.com/blog/wordpress-child-themes-dev/

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.