I solved it this way
<form name="input" action="<?php echo get_bloginfo( 'template_directory' )."https://wordpress.stackexchange.com/".'post_options_from_form.php'; ?>" method="post">
although i wanted post_options_from_form.php to be an admin page.
Edit:
This finally worked as i was able to post to the admin page i created
<form name="input" action="admin.php?page=admin_page" method="post">
On the function,
function admin_page()
{
require('post_options_from_form.php');
}
Related Posts:
- only last option from theme options is being saved to the DB
- Appearance -> Menus doesn’t show
- Can’t change language (only “English (United States)”)
- How can we make managing lots of pages in WordPress Admin better?
- Taxonomy dropdown metabox in the back-end
- How to redirect/rewrite all /wp-login requests
- Show all post tags on post edit screen/sidebox
- Add “external” link to admin menu in the backend
- Disable image attachment links
- Remove “Time to upgrade” message from dashboard
- How can I enable Google Analytics on a file download link?
- What is the best method to close off the backend?
- Change Login URL Without Plugin
- Change the link of ‘Howdy’ at the top right
- wp-admin pages return ERR_EMPTY_RESPONSE
- Reorder custom submenu item
- Options for restricting access to wp-admin
- Unwanted redirect in admin area
- Looking for a hook to add attachment information to the media library tab
- Load Balanced WP with single server admin access
- How to move wp-admin login page to another location? [closed]
- WP-admin giving 404
- File exceeds upload_max_filesize, despite max filesize being large enough
- WordPress admin not changing language
- Can’t access dashboard, connection times out (other pages work fine)
- Getting post meta data, while editing a post in wp-admin panel [closed]
- Add custom text to Page Tamplate without need to know html
- Move WP Admin Bar
- Get Stylesheet To Showup in WP Admin Panel Editor
- Just how ‘expensive’ is this function?
- js Conflict in admin panel – I guess it’s from the core WP installation
- Why is there an intermediate redirect to https://public-url.org/wp-admin?
- Create a fullwidth dashboard widget
- admin_url in plugins
- Share Tags Between Custom Posts in Admin
- Website looks fine, but login to wp-admin yields a blank screen
- Filter dropdown in users.php “delete user” bulk edit screen
- Cannot find an OLD Gravity Form on an OLD Word Press site [closed]
- /wp-admin/ 500 error
- Where did the screen options menu go?
- How do I change the upload file size limit in single-site wordpress install?
- Can’t call external stylesheet for WordPress admin (using wp_admin_css)?
- WordPress notification reports
- Restore a layout [closed]
- Logging into sandbox subdomain WP
- Page update through theme editor caused wp admin to break
- White screen of death on admin and other dashboard pages
- can not access wp-admin after migrating to openshift
- wp-admin url doesn’t allow to login and redirects to same page
- wp-admin dashboard redirects to homepage
- Can I hook into wp_update_core outside of the admin?
- Renaming wp-admin without hard-coding it. Is it really possible?
- WordPress Side Menu Admin Panel Default Order numbers List?
- Why can I log into wp-login.php and not wp-admin.php?
- Change admin defaults for reading settings
- How to hide Admin Tabs? [duplicate]
- add_submenu_page() issue
- wp cron, admin and updates questions
- Restrict admin access to certain pages based on page slug
- Unable to properly login
- Is there a simple way to set wordpress site files back to out of the box?
- User Capabilities are not available in WP REST permission callback?
- How to check if it’s edit.php & post_type is set?
- Dashboard : remove Safari navigator message
- Available resources for learning WordPress 4.7.2 from the ground up?
- Create new user from phpMyAdmin
- how to stop wordpress admin menu from scrolling with page
- Contextual help in wp-admin for non admins
- How to have WP admin in English while public website is in another language?
- Trying to create a page as a menu item in the admin while keeping the admen panel visible
- Weird urls after moving site from local env to a server
- How to access wp-admin from original website after setting the domain redirect/forwarding
- Remove “Filter” Button on All Posts in wp-admin
- Step by step guide for new users on how to post content?
- How can I fix, Sorry, you are not allowed to access this page. I have tried the usual
- Hook into form handle from admin users table
- Give wp-admin access for shop managers
- Cannot log in to WordPress admin or change password
- 403 Error when using save buttons
- wp-login.php entering password nothing happens
- Cached php? Updates are rendering only if logged as admin
- Js errors in wp-admin
- Avoid executing a function (redirect) if I’m in the admin area
- How to keep the plugin submenu open on viewing a custom version of users.php?
- Admin Panel issue
- Symlinking WordPress WP-ADMIN and WP-INCLUDES
- I cannot access my WP website after changing settings
- sharing wp-include – wp-admin on same installation
- Making WP Admin Folder accessable JUST under a different link
- Is it possible to load an admin page inside a thickbox?
- Why would running an admin check throw a 500 error? I’m calling is_super_admin();
- How to prevent Google adsense invalid impressions while performing admin tasks on my wordpress site?
- Action for opening edit page in admin?
- What is the point of new confirm admin email process?
- ‘Too many redirects’ error after changing site URL in WordPress [closed]
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
- Redirecting the user to the admin table area after publishing a post, getting an invalid response error?
- How can you change the admin dashboard URL without symlinking?
- Degraded WordPress admin dashboard performance [closed]
- WordPress Localhost migration issue