How can I overwrite content-list.php in child theme?
Hello,
I have a child theme with a folder called anspress and I want to edit the template called content-list.php this template is displayed via an
echo do_shortcode('[anspress]');
in home.php in the child theme. How would I copy this template file to the child theme to edit it? I imagine I would put it in a folder called anspress. Would I then put it in another folder? I would eventually like to move the upvoting functionality to the home page. Do you have any other suggestions for doing so?
Thank you.
![](https://lh3.googleusercontent.com/-P8r4xMoJT20/AAAAAAAAAAI/AAAAAAAAABM/AJ-XVDCB3cQ/photo.jpg?sz=200)
![](https://secure.gravatar.com/avatar/d55b9db3705621a7bd42de6aac677b3f?s=30&d=https%3A%2F%2Fanspress.net%2Fwp-content%2Fuploads%2Fap_avatars%2F584b98aac2dddf59ee2cf19ca4ccb75e.jpg&r=g)
mantis commented
Thanks for responding DIma. I eventually got it. I had assumed that the same file structure had to be respected but apparently not as I have it working. For anyone else looking a subfolder is not needed.
Your question is not clear for me.
You do it any way it works for you. If you have tried default/documented ways to achieve something and failed, then you have a question.
Have you tried it? Where exactly you got stuck?