Skip to main content

Questions tagged [page-title]

Filter by
Sorted by
Tagged with
1 vote
2 answers
3k views

Magento 1.9.X - category page title

How to get Magento category page title in frontend? Already tried: <?php if ($category->getPageTitle()):?> <?php echo $_helper->categoryAttribute($_category, $_category->...
1 vote
1 answer
2k views

Magento 2 - Page title prefix and suffix not rendering

I am using Magento version 2.1.4 I added page title prefix and suffix (both just for test) in Admin Panel -> Content -> Configuration -> HTML Head input fields but none of them are actually renderen ...
10 votes
4 answers
47k views

What are the possible ways to page title in magento 2?

I want to modify the page title of the customer login page. What is the simple way to modify the page title? /** * @return $this */ protected function _prepareLayout() { $this->pageConfig->...
0 votes
0 answers
41 views

Magento 2 : Home and Category Page Meta Title / Title are the same

Is it standard for Magento home page and category page to use the same Page Title and Meta Title? I thought page title would be the CMS Page Title (for home page) or Category Name but on mine (v2.4.5) ...
1 vote
2 answers
1k views

Magento 2 : Set My Account Page Title with customer name

I want to change page title of My Account Page only like below: welcome back, Customer.firstname() How I can change my account page title only with customer firstname?
4 votes
4 answers
12k views

How can i remove category title (H1) from a specific page of catalog?

How can i remove category title (H1) from a specific page of catalog? I deleted breadcrumbs using a code xml: <remove name="breadcrumbs"/> Is it possible to replicate this with H1? Thanks!
2 votes
1 answer
1k views

Magento 2 : Title Prefex and Suffix Doesn't Works

I have 2 websites with Magento 2.2.2 with luma theme. For one prefix and suffix works fine. For other, no prefix and suffix are rendering. Who can explain me exactly where part of the code is used to ...
2 votes
2 answers
3k views

Set page title after loadLayout and renderLayout

I need to set some tags(title, description) after i render a layout. I know how to set the titles via layout files: <reference name="head"> <action method="setTitle" translate="title">&...
1 vote
3 answers
757 views

How to change admin page header title?

How I can change page header title from controller in admin page? In the picture I want to change Dashboard to something else. I tried below code in execute method of the controller $pageFactory = $...
1 vote
0 answers
27 views

disable suffix from home page only

Essentially, I have set the store up so the suffix for each page title is "- CompanyName" but I would like to know how to create an exception for this for the home page. Thanks
15 votes
7 answers
34k views

How to remove page title (h1) from home page, cms_index_index.xml not working

I´m trying to remove the home page main title on my custom theme (wich is running on top of luma theme). I´ve tried to add the usual tag to remove, as follows (and as it was already answered here), ...
0 votes
2 answers
1k views

Get Page Title In PHTML? CE 2.4

I'm struggling with something simple. I'm trying to print the Page Title in the custom block from my custom.phtml and I'm getting nothing. I've removed the Magento original page title block from all ...
2 votes
1 answer
682 views

How to format the page title of a product view page?

Currently I'm doing some work on a Magento shop (1.8) and one of the problems the site has is that the SEO and page titles are very poor. So far I've managed to change all of the page titles and meta ...
2 votes
2 answers
6k views

How to change home page meta title in magento 2.3?

How to change meta title in magento2.3? I am not able to find the title of the home page.
1 vote
1 answer
124 views

Various pages displaying "Customer Login" instead of their proper page title as defined in the xml page

My Contact Us page, Password Reset, Forgotten password and possibly a few other pages are having their page title overriten to say "Customer Login". I have a feeling that the culprit is located here,.....
0 votes
2 answers
437 views

How to programmatically add suffix to the catalog title in Magento 2.2?

I need to add the suffix to the catalog page title programmatically for SEO. Currently in view source code i am getting catalog category page title like <h1 class="page-title" id="page-title-...
0 votes
0 answers
329 views

Magento 2 + Product Meta title display in place of Product Name

Facing some weird issue, Product Meta title display rather than product title or product name on the product detail page on the front end. Magento version 2.2.8
1 vote
1 answer
3k views

How can I change H1 title in categories?

I need to change the h1 title using Custom Layout Update field in the category edit view How can I do this? Change many categories h1 titles without change the category name?
0 votes
1 answer
608 views

Magento 2 set page title as html

How to set page title to have html on it E.G $this->pageConfig->getTitle()->set(__('Your'.html_entity_decode(' <span>Page</span>'). 'Title')); That's ain't working! Anyone know ...
2 votes
1 answer
624 views

Magento 2 - How to replace a char on item title

I have succesfully used this trick to replace dash char "-" with "br" on CATEGORY VIEW: <?php echo str_replace(' - ', '<br />', $_helper->productAttribute($_product, $_product->getName(...
0 votes
1 answer
290 views

Magento 2.2.8 - Change page title for Newsletter Management page

I am trying to change the title of the /newsletter/manage/ page. Can anyone guide me?
0 votes
1 answer
2k views

I need to remove page title of home page in magento 2

I have tried to change homepage title from admin and xml but nothing take effect.Can i change it from Database or any other way to change.
0 votes
1 answer
131 views

my custom module pages title's are moved to bottom in magento 2?

have custom module and pages here my module and customer dashboard title's are moved to the bottom that module xml file: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/...
2 votes
2 answers
12k views

How to change page title in Magento "Magento Commerce"?

When I click on a link send to a friend and want to send the link to some of my friend I have the title Magento Commerce displayed in my title tag. The question is: how to change it to something ...
10 votes
1 answer
11k views

Magento 2: Change page titles

How do I change the page titles in the head section for each page? I would like to show: 'page title | site name'
1 vote
1 answer
181 views

Changing/adding class to registration form layout

I have been asked by a marketing rep to try to reduce the size of the title area on the registration form due to a detected problem on some browsers where the theme's modal version won't properly ...
2 votes
2 answers
2k views

How can i add the Manufacturer Name in Product title?

I want to add the Manufacturer into the Product Title like: "Nike" Shoe XYZ or "Apple" iPhone 5s The manufacturer Attribute is already set in Backend. But i want to import our 15k Products via csv ...
1 vote
1 answer
70 views

When remove Breadcrumb from site it remove Page Title on catalog pages

I have tried to remove breadcrumb from the whole site using below code. <reference name="root"> <remove name="breadcrumbs"/> </reference> Or just <remove name="breadcrumbs"...
1 vote
1 answer
404 views

route shows user login page title

In one Magento 2.2.6 instance something very odd occurs: the meta page title shows <title>Customer Login</title> and the page title in the content also shows Customer Login - even though ...
0 votes
1 answer
82 views

Moving magento page titles to a new place [closed]

I'm working on a magento website and would like to move all titles to another place(See images for an example). Right now it looks like this https://puu.sh/x2bGu/4d47221c65.jpg It must look like ...
2 votes
1 answer
1k views

Set page title without using deprecated <action>

Every answer I can find for setting the page title (H1 tag not the tab title) uses this format: <action method="setPageTitle"> <argument translate="true" name="title" xsi:type="string"&...
1 vote
2 answers
2k views

Magento 2: How to move breadcrumbs and sku before product title?

I am trying to move breadcrumb and SKU to show above the product title using xml. Like <move element="breadcrumbs" destination="product.info.main" before="page.title.wrapper" /> But ...
0 votes
1 answer
206 views

Different Title for Product view pages and other pages

I need to have output in a way that all the other pages should get the default title but for product detail page I need a specific title.For this so far I tried adding this code <h3><?php ...
0 votes
1 answer
159 views

Trying to change permanent title tag for all of the pages

I'm working on a site and can't find where to change the end of the title of all of the pages. All of the titles get the url of the site and i want to change it to the brand itself, and not the URL. ...
3 votes
3 answers
3k views

How can we get page title back in magento 2

I had tried to remove title from cms pages so used referenceBlock name="page.main.titlte" remove="true" on cms_index_index.xml but it removed title from product and category pages too. How can i get ...
1 vote
1 answer
2k views

change title of create new customer account

I need to change the title of my registration form. ex. apply for customer account How can I change the title?
3 votes
1 answer
343 views

Page title display different

When searching the products displayed page title is different in magento2. Before login display customer login title and after login shown correct title.Please help me any one.
3 votes
3 answers
3k views

Get Widget Instance Title

I'm creating a template for a widget and would like to echo the widget title in my PHP code. What is the proper way of doing that? The following does not work: <?php echo $this->getTitle() ?&...
1 vote
0 answers
69 views

Remove Categories from Product Page Title

When navigating to a product in Magento 2, through multiple categories - i.e. site.com/tops/bras - if there is no manually set SEO title, it adds Tops - Bras to the product page title, what would be ...
0 votes
1 answer
24 views

Titles of additional websites don't show correctly (they show the URL of the default store/website)

Magento 1.9.3.7 Porto theme I've setup a default store and then a few additional websites/stores. They all have their own domains. I customized the look and content of each domain/website within the ...
0 votes
1 answer
1k views

Updated meta title and description for site pages but changes are not reflected on page browser source.

How long does it typically take for magento changes to be reflected on site? I've tried viewing my page on incognito mode and page source does not show the new title and meta description. Please help.
1 vote
1 answer
578 views

Admin Custom Page : Cannot Set Page Title in Magento 2

This is my etc/adminhtml/menu.xml <add id="My_Module::first" title="I Am Parent" module="My_Module" sortOrder="1" parent="My_Module::parent" resource="My_Module::first" /> <add id="...
1 vote
1 answer
487 views

Adding a custom register page, changes the page title - Magento 2

I am adding a custom register pop-up to all pages by adding the following block in the default.xml file in my custom theme: <block class="Magento\Customer\Block\Form\Register" name="...
2 votes
2 answers
3k views

How to change the title of contacts page in coding in magento?

I have done a website in magento. In that website, I have contact page. I have inserted the keywords,description in the contact page But when I am giving the title, it is not showing in the website. ...
0 votes
1 answer
2k views

How to change Customer Login Title in magento 2? [duplicate]

I am trying to change the title of the customer login page. so i have override custom login block file for PrepareLayout method but its not work any one have idea for this??
3 votes
1 answer
740 views

Change dynamic title of review page

I want to change the title of the review page. Currently it is display as "Productname | Websitename". But I want to change it in "Reviews of Productname | Websitename" How can I achieve that? ...
3 votes
1 answer
2k views

Magento 2 - Incorrect title showing for some pages

Some of the pages show incorrect title and heading : it is showing "Customer Login" as page heading and title for Contact page and Advanced Search page. The point is, I included customer login form ...
0 votes
1 answer
45 views

How reset page title category magento 1

I need reset page title all my category store. How make phpmyadmin query?
0 votes
2 answers
2k views

how to change search result page title dynamically

I searched, doesn't find a answer. I know use layout XML to set title like below <reference name="head"> <action method="setTitle"><title>New Title</title></action>...
2 votes
0 answers
436 views

Product and Category name not showing as page title

My page title only show the suffix page title, i need to uncheck the page title in category page and add the page title manually so the page title will show up and for product i need to fill the meta ...