- This topic has 3 replies, 2 voices, and was last updated 4 years, 10 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › eCommerce Market Pro › Remove or change dynamic page title
Tagged: page settings
Hello.
I use the free version.
in the shop page in the wrong title “Archives: Products”, I want to change this but can’t find any option.
where is this title for change?
Thank you
Hello @alireza_hsi,
To edit the title you need to go through the child theme.
To know how you can create and activate the child theme go through the link below:
https://wptravel.io/how-to-create-a-child-theme/
After activating the child theme in your child theme functions.php file add below-given code.
function ecommerce_market_remove_cat_titles($title) {
if( is_post_type_archive( 'product' ) ){
$title = 'Shop';
}
return $title;
}
add_filter( 'get_the_archive_title', 'ecommerce_market_remove_cat_titles' );
Hope this helps.
Thank you.
Thank you
I try to create a child theme but I had an error for syntaxes code.
no worries I should get help from a theme editor.
it isn’t simple.
it is a theme base issue.
Hello @alireza_hsi,
Yes, please create the child theme and paste the code provided above in your child theme’s functions.php file.
Thank you.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |