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="customer_form_register_pop" template="Magento_Customer::form/register.phtml"></block>
But it cased all the pages to have the title:
Create new customer account. The method works fine and the register form works well, but all the pages now have their titles replaced, is there any way around it without making too many changes? I am very green in Magento and am not very familiar with the tool. Any help is greatly appreciated.
Magento version: 2.2