Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
I’ve been trying to customize a theme by using a child theme, and I’ll admit that I don’t have a lot of experience with child themes, but it’s been working OK so far.
My problem came when I tried to modify a function in a file that’s in a subfolder.
The file is vantage/inc/extras.php
If I modify that file directly, it works.
but I’ve copied it to vantage-child/inc/extras.php and then modified that file without success.
What am I missing?
The function I’m experimenting with is function vantage_wp_title($title,$sep)
OK. I finally got it to work. I copied and pasted several different combinations of code before I found one that worked. This may not be the most elegant of efficient, though, so please chime in if there is a better way. I put the following code in my child theme’s functions.php file:
Hi Witzend
So sorry we weren’t able to reply sooner.
My first idea would have been to use the plugin WordPress SEO as it lets you set the title separator and change lots of title related settings.
Failing the above, unfortunately, you would have needed to take the steps you took. Well done on getting that sorted :)