-
-
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 .
-
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!
-
-
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!
-
-
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-languageSorry for any inconvenience.
Regards!
-
-
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!
-
i already did and they are here in the previous messages in private reply
-
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
Let us know.
Regards!
-
that page titles are being created by your template not from visual composer …
-
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!
-
You must be logged in to reply to this topic.