AnsPress is very focused on “developer friendly”. Its internal structure allows developer to easily override anything they want. It have vast numbers of hooks to let developer customize internal functions. All documentations for hooks can be found here: Hooks. Everything inside templates folder can be easily overridden by following below steps. Avoid directly editing AnsPress files in plugin directory because you’ll loose all change while updating.
- Create a folder called
anspressinside your active theme. It can be child or parent theme.
- Now you can copy files you want to modify from
You must keep the same directory structure if you are modifying sub folder item. Like if you want to modify
templates\css\overrides.css then in your override folder it should be
For adding or overriding AnsPress styles we suggest to use
overrides.css. This file is initially left blank so you can add your own styles here.
- « Which shortcodes are available in AnsPress?
- Common issues and how to fix them while using CloudFlare »