Hello again!
Another theme customization I’m trying to do is move the comments section (we’re using Disqus) to above the ‘Related Articles’ section.
I can’t seem to find the function/template that would allow me to do this. I looked at single.php, which called ‘sf_base_layout( ‘single-post’ ), found the ‘single-post’ in swift-framework>layout and, from there, saw the function for ‘sf_post_after_article’, which I found in ‘sf-post-detail’ in swift-framework>content. I tried making a copy of ‘sf-post-detail’ into the child theme folder using the same structure (cardinal-child>swift-framework>sf-post-detail) and putting the comments function above the related articles function, but that didn’t seem to work.
I recall with Flexform having the same issue – not being able to copy files from the parent theme to the child them to have them override the parent theme functions.
I’m hoping for a little insight into how to get this working properly, without having to edit the parent theme files and losing them (or having to remember to re-edit them) after updating the theme.
Is there a particular reason that you don’t put all theme functions in the primary functions file, rather than in sub-folder functions files? It seems to defeat the purpose of being able to override parent theme files with child theme files.
Thanks!