Fatal error when trying to get admin email on contact form

I’m building a contactform that needs to send all queries to the admin mail adress. The php file which processes the entered data and sends the email has only contains this code: <?php $admin_email = get_option(‘admin_email’); if($_POST[“name”] != “” && $_POST[“contact”] != “” && $_POST[“comments”] != “”) { echo “Uw bericht is verzonden! “; $name … Read more

Settings API with custom post type menu limitation

I’ve created a custom post type menu with register_post_type. I want to add a settings sub-menu with lots of options, including extra “Add option to a select list” button. The problem: when using settings api, any <form> wants action=”options.php”. But that ends with a redirect to the edit.php address required when the sub menu is … Read more

BuddyPress | How to merge the “setting” & “profile” pages into one page? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic. Closed 7 years ago. Improve this question In BuddyPress I … Read more

Tab from Settings API resetting all options with INSERT INTO [closed]

Closed. This question is off-topic. It is not currently accepting answers. Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question? Closed 8 years ago. Improve this question I have an Options menu created … Read more