Hello, AnsPress does not save custom fields automatically. You need to use init hook. Here is an example https://gist.github.com/rahularyan/ea30cb2c455c4e9a442fefcf2d969014#file-save-custom-form-php More details can be found here: https://anspress.net/resources/faq/anspress-form-and-validation-api/
This functionality is already availble if the user would like to leave a comment and keep track of a comment, which is why I don’t understand why it isn’t an option for anonymous users to be able to track their questions but rather only their comments but any help on how to add this input field with the functionality I mentioned would be greatly appreciated!
Hello, In this case as you’re adding it to an existing functions.php the initial <?php line is not needed. If you remove that and have the snippet start at: // AnsPress form text field example. This should resolve your issue. Cheers, Dan
Facing similar issue here too. Help is appreciated https://anspress.net/questions/question/user-page-displaying-page-from-ultimate-member/ mapquest directions
Hi, I faced the same problem. The only way to solve it is to change ‘count’ to ‘intval’ in anspress\addons\tags\tags.php line 150. Should be: Wish I could fix this via filter, but $tag_args[‘fields’] = ‘count’; is hardcoded several lines above, so I can see no ‘nice’ way to fix it from my theme’s functions.php. Hope this will be fixed in next release. Cheers!