Questions tagged [page-title]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
3 answers
231 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 = $...
user avatar
  • 6,737
1 vote
0 answers
16 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
user avatar
  • 541
0 votes
2 answers
528 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 ...
user avatar
2 votes
2 answers
4k 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.
user avatar
1 vote
1 answer
65 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,.....
user avatar
  • 87
0 votes
2 answers
352 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-...
user avatar
  • 309
0 votes
0 answers
247 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
user avatar
  • 1,452
0 votes
1 answer
397 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 ...
user avatar
2 votes
1 answer
473 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(...
user avatar
  • 119
0 votes
1 answer
201 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?
user avatar
0 votes
1 answer
95 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/...
user avatar
  • 1,047
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.
user avatar
  • 594
1 vote
1 answer
65 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"...
user avatar
  • 2,038
1 vote
1 answer
331 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 ...
user avatar
  • 668
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 ...
user avatar
0 votes
1 answer
131 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. ...
user avatar
  • 1
1 vote
1 answer
1k 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?
user avatar
  • 435
1 vote
1 answer
115 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 ...
user avatar
  • 263
1 vote
0 answers
58 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 ...
user avatar
0 votes
1 answer
19 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 ...
user avatar
  • 256
0 votes
1 answer
878 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.
user avatar
  • 1
1 vote
1 answer
466 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="...
user avatar
  • 1,840
1 vote
1 answer
451 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="...
user avatar
  • 179
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 ...
user avatar
2 votes
1 answer
860 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"&...
user avatar
  • 15.3k
0 votes
1 answer
1k 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??
user avatar
  • 1,473
0 votes
1 answer
80 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 ...
user avatar
  • 11
3 votes
1 answer
339 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.
user avatar
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 ...
user avatar
0 votes
1 answer
42 views

How reset page title category magento 1

I need reset page title all my category store. How make phpmyadmin query?
user avatar
  • 395
1 vote
1 answer
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?
user avatar
0 votes
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?
user avatar
  • 167
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>...
user avatar
  • 3,205
2 votes
0 answers
432 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 ...
user avatar
  • 1,682
0 votes
2 answers
3k views

magento 2 change page title on registration page

On the customer registration page, I need to change the page title depending on the condition. In my custom module I try extend \Magento\Customer\Block\Form\Register method protected function ...
user avatar
  • 1,227
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 ...
user avatar
1 vote
4 answers
9k views

Magento 2 : How to change customer account page title

Hi, I have created custom theme. I want change account page title from "My Dashboard" to loggedin customer name. How I can do this. Although I have found file customer_account_index.xml that is ...
user avatar
  • 911
10 votes
1 answer
15k views

Change page title in controler or block

I have found two ways for changing page title and I don't know which one I should use. 1. Override prepareLayout() in block protected function _prepareLayout() { $this->pageConfig->...
user avatar
0 votes
1 answer
1k views

Get specific / any CMS page title

I would like to retrieve a specific page name in my frontend phtml on magento v1.9.2.4. I have found many ways to retrieve 'current' page title, such as thoses questions posted on stackoverflow : ...
user avatar
  • 632
1 vote
1 answer
172 views

Search Param in block title magento2

I need to add the search param in the title of the block. Currently i have on catalogsearch_result_index.xml <referenceBlock name="page.main.title"> <action method="setPageTitle"&...
user avatar
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. ...
user avatar
  • 47
15 votes
7 answers
29k 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), ...
user avatar
  • 151
0 votes
2 answers
368 views

Edit default page title for category programatically [duplicate]

I am using magento1.7 and added page title(added from backend)for some categories and some have no page titles. i want to edit the default page title for only those who have no page titles.But i can't ...
user avatar
  • 617
1 vote
2 answers
2k views

How to change page title of a category programmatically?

I am using magento 1.7 and i want to display the category title(meta title) as in the format of [Sub-Sub-Category] - [Sub-Categories] | main category for all sub-sub-categories.
user avatar
  • 617
1 vote
2 answers
4k views

Magento 2 moving cart page main title to columns section is not working

I've to move page title "Shopping Cart" into columns container/div. So to do so in checkout_cart_index.xml file I've made changes. app\design\frontend\mypackage\mytheme\Magento_Checkout\layout\...
user avatar
0 votes
1 answer
354 views

How to change page title for custom retailer signup form page

I have created a CMS page in magento says Retailer Signup and set below xml in Layout Update XML <reference name="content"> <block type="customer/form_register" name="...
user avatar
1 vote
2 answers
2k views

Adding suffix to head title on all pages for magento 1

What's the best way to add some text (e.g. [staging], [dev], ...) to the end of the header title on all pages? I'm thinking of some "layout" event to listen to where I can: $observer->getLayout()-&...
user avatar
1 vote
0 answers
620 views

Magento 2 : Showing incorrect title and heading for certain pages

In Magento 2 some of the pages show incorrect title and heading, it is showing Create New Customer Account as Page heading and title for Contact page, advanced search page. Any idea why ?
user avatar
1 vote
1 answer
696 views

Remove Title suffix from cms pages

I have title suffix in magento 1.7 system configuration. I would like to remove title suffix from all cms pages or from cms pages besides home page. How to do this?
user avatar
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->...
user avatar