Custom Theme Creation
I am trying to create a custom theme based upon the following instructions in a previous answer on this website:
Create a anspress folder in your current active theme, and now copy index.php from AnsPress default theme to your newly created anspress folder.
Now edit index.php to match with your theme, done!
My currently active WordPress theme is Twenty Fourteen. I have added an anspress directory and copied over the index.php folder from the anspress plugin. I have adjusted it to match with my theme but it isn’t showing up in the anspress > options > themes section (in the /admin.php?page=anspress_options location). Is there something specific I should be adding in to the index.php file so this is recognised?
I think the issue is that AnsPress does not treat the copied index.php as a separate theme in the Options > Themes section. The anspress folder is mainly used to override individual template files, and AnsPress looks for those files in your active theme before falling back to its own templates.
Also, newer AnsPress versions can use an anspress.php template in the active theme, which may be a better approach for controlling the overall layout.
I have found that checking the exact template hierarchy and override structure first saves a lot of trial and error. I use plumberarlingtonheights as an example of a straightforward service website where clean WordPress structure and page presentation matter.