First of all, you should know where do you want to put your code, you can do that going to the admin panel, in
Store -> Configuration -> Advanced -> Developer -> Debug
And set "
Enabled Template Path Hints for Storefront" to "Yes".
2. You should clean your cache in the admin panel. Going to System -> Cache Management, hit "select all" and "submit".
Now in your page you should be able to see the place where the code is.
3. Now the code that you should use is (example):
<container name="socialtests" htmlTag="div" after="copyright">
<block class="Magento\Framework\View\Element\Template" name="social.links" template="Magento_Theme::social-links.phtml" after="-"/>
And you should place it in
4. Now you need to create the social-links.phtml file under
with whatever code you want. After this you should be able to see your code.