Your input and textarea have the same name
and id
, so when the data is processed, it’s only going to recognise one (probably the last).
Try using different name
and id
properties, and you should be able to differentiate between the 2.
Related Posts:
- Best way to do multiple constructors in PHP
- How to get the custom header image’s alt text?
- PHP unit testing WordPress?
- Is there a way for a plugin to add an attribute to the tag of a theme?
- wp_set_object_terms and arrays
- How to create custom php script page
- Metabox repeating fields – radio buttons not saving correctly
- Create WordPress pages with PHP
- Moving a PHP web-app to WordPress
- How do i hide the if the appears
- How to return the_excerpt (without echo)?
- Replacing mysql_real_escape_string in WordPress theme
- WordPress 4 invalid username special charachters issue
- My shortcode is showing up twice
- Database “Migration” for Plugins?
- Use ajax to update_post_meta
- using woocommerce_template_single_add_to_cart in shop-loop – javascript issues [closed]
- When did wordpress switched requirements to php7?
- 1+1 php counter inside the update_post_meta
- How do I test PHP files in WordPress?
- echo CHILD / SUB CATEGORIES of the CURRENT CATEGORY only
- ACF check if variable has http, if else return string
- Correct syntax to html php conversion
- Adding a div at the bottom of a sidebar
- WSoD being caused by this piece of code
- Woocommerce product variation backorder
- Calculating a large number of MYSQL queries as customshort codes, slow
- Status 400 for AJAX POST Request with admin-ajax.php
- Is it possible to use Data URI image to set a post thumbnail?
- Singelton class does not work, multiple initialization on page reload
- Print last modified date only on posts
- Cannot execute php files in wp-content
- Replace part of a parent-theme customizer in the child-theme
- How to Create a Subscribeable News Feed?
- Where is wp() function definition?
- WordPress add_rewrite_rules for custom URLs ending in .html
- Make Current/Active Page Number a Link (WP_LINK_PAGES)
- How to show number of unpublished articles?
- How to make modifications only to certain elements of an HTML string on the server-side?
- How to retrieve the data from the sever and displaying it in a page?
- Skip foreach loop
- Javascript not loading on certain page
- WordPress get_media_embedded
- After adding my website to a new server, I keep getting a unexpected end of file error, but the file is identitcal to it’s original source
- List post by title length
- Add editor toolbar to Metabox
- Can we stop session reset if page reloads?
- Display WordPress Post on A Different Site
- Add row to custom database Table and delete all rows older than 1 day
- How to get all the items of a taxonomy even if it does not have a custom post type?
- Displaying Overlay images over thumbnail of category type?
- Uses for function: wp_update_user
- PHP: $_SESSION destroyed after page reload for my custom session
- Wp Query : Order by distance lat,lon
- Hide publish date when update date
- How can I check if a post with a particular slug or title exists?
- Category Page Displaying all Pages
- problem connecting to the administrator
- How do I integrate vanilla Javascript to a wordpress website?
- I want to retrieve the email or username data entered for password reset, but failed. how can I do it?
- Looping through dummy posts and showing them in the main index.php
- Force Sidebar on Full Width page
- Exclude category from function – PHP
- ACF – Can’t get custom post type by taxonomy
- How to change the structure/order of sections in a WordPress theme? [closed]
- WordPress mysql deos not work with php7
- Update user meta when an external link in admin notice is clicked
- Need help with AJAX login to call php in functions.php to handle redirects based on user cap (role)
- How to count posts posts if they are in a separate content page?
- Ajax in a class instantiated via shortcode
- append data to mysql table via submit button coded in php – not working
- PHP – Woocommerce 3.2 Add variable shipping insurance with multiple “else if ” conditions
- Why transition_post_type hook is called twice for the same post?
- Shortcode Works for Logged in Users but Not Working for Guest
- Fix mod_pagespeed Fetch timed out error on bitnami AWS wordpress installation
- ACF Images If/else
- Adding my own custom template page but got white page
- Meta box not saving spaces
- problem multisite with blog id
- How to set max users to 17.000
- Facebook like update status for wordpress
- Attachments doesn’t update
- wp_customize_image_control default value
- WordPress will suddenly stop saving files uploaded by my code (ran in nopriv ajax)
- Permission error on plugin save
- Adding javascript files to WordPress and jQuery version
- Display default WordPress login/registration form into a modal window
- check if .min.css stylesheet exists
- How do I use CSS or PHP to customize WordPress Form Manager Plugin Table?
- WP Login Button for current domain
- Pull GET parameter from URL in functions.php
- How to NOT override inline css rules
- Adding Gravity Form With if(is_page) Is Not Working
- problem with php function error
- Twig+WordPress how to use array arguments inside a function?
- I would like to alert message while another user is editing or update data in wordpress admin panel, what should i do?
- Redirect loop upon installation of my plugin
- Find owner of coupon
- WordPress wp_remote_request() – How to do async await in wordpress php?
- How Create Automatically Image jpg.webp from image .jpg without delete or change original images upload