Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

issue with translation

    • 6 years, 5 months ago iamnotadoctor
      Participant

      Hello i have update the .po and .mo as well as .pot file for an translation of string and uploaded it to the child theme but its still not working

      and same happening for page title which is h2 at the moment which i have fixed and made h1 and i have uploaded the template in child theme but the site is still showing h2 as i can see there is no cache on the site .

    • 6 years, 5 months ago Ruco
      Keymaster

      Hello,

      The pot file need to be added in the lang folder and you have also have to set ht languages in the wp-config. Please check the documentation below for more info: https://codeless.co/5-steps-to-translate-a-wordpress-theme/

      About the child theme with the h2 issue, please give us access to your wordpress dashboard so we can check the issue closer.

      The creds can be shared within a private reply or through your profile details.

      Let us know.

      Regards!

    • 6 years, 5 months ago iamnotadoctor
      Participant
      This reply has been marked as private.
    • 6 years, 5 months ago Mirela
      Participant

      Hello,

      Please try out these steps:
      1-Add the new function to add page header in file functions.php in the child theme:

      function child_codeless_add_default_page_title(){ 
          if( !codeless_page_from_builder() && is_page() && ! codeless_is_shop_page() && ( ( function_exists( 'is_wc_endpoint_url' ) && !is_wc_endpoint_url( 'order-received' )  ) || !function_exists('is_wc_endpoint_url') ) && get_page_template_slug() != 'template-sidenav.php' ){
              get_template_part( 'template-parts/default-page-header' );
              return;
          }
      }

      2-Add this file too in child theme folder, using the same folder path:
      \includes\codeless_hooks.php
      Then add this line into it:
      add_action( 'codeless_hook_content_column_begin', 'child_codeless_add_default_page_title' );

      Let us know if this fixes it.

      Best regards!

    • 6 years, 5 months ago iamnotadoctor
      Participant

      nope it doesn’t work .

    • 6 years, 5 months ago Ruco
      Keymaster

      Hello,

      Please can you be more specific which h1 are you trying to change. I think you have misunderstand what you want to change h1 tag you want to change. Please send to us a screenshot so i can give you the right solution.

      Also please try to add the language file into the original theme. Keep in mind to set the language into wp-config.php file.

      Check the article below:
      https://www.a2hosting.com/kb/installable-applications/optimization-and-configuration/wordpress2/changing-the-wordpress-language

      Sorry for any inconvenience.

      Regards!

    • 6 years, 5 months ago iamnotadoctor
      Participant
      This reply has been marked as private.
    • 6 years, 5 months ago Ruco
      Keymaster

      Hello,

      Please can you share your wp creds and online link in your profile details so we can login and made this customization for you.

      Let us know.

      Regards!

    • 6 years, 4 months ago iamnotadoctor
      Participant

      i already did and they are here in the previous messages in private reply

    • 6 years, 4 months ago Ruco
      Keymaster

      Hello,

      There is a simple solution. You have to edit the pages with in the back-end with Visual Composer. There you can change the title from h2 to h1 tag.

      Check out the screenshot:https://imgur.com/a/RoTeUx1

      and the page that was changed

      Voordelen

      Let us know.

      Regards!

    • 6 years, 4 months ago iamnotadoctor
      Participant

      that page titles are being created by your template not from visual composer …

    • 6 years, 4 months ago Ruco
      Keymaster

      Hello,

      There is another way to change it by editing the file \june\includes\codeless_builder\shortcodes\cl_page_header.php and change the h1:

      $output .= '<h1 class="'.$this->generateClasses('.cl_page_header .title_part h1').'" '.$this->generateStyle('.cl_page_header .title_part h1').'>'.wp_kses($title, '', '').'</h1>';

      Let us know if this can help you.

      Regards!

Viewing 11 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password