Closed jamesmacwhite closed 6 years ago
@craigwatson I have updated this PR. I have made it more like the rest of the template. However I have used the Ternary operator for short hand if/else on the title parts, because it seems overkill to use full if else for a single line of text.
I've also fixed the merge conflict with README.md
. Let me know if this is OK.
Currently the
<title>
and<h1>
value is hard coded, this allows the user to change it to whatever they desire. I've used a small function withisset()
to essentially check iftitle_text
is set and if it is, use it as value for these elements. A default title value is set in functions.php for older configurations which will not have this config value to break a blank value.