Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

forms

Ajax Form data is not posted back to the get_results()

Ajax Form data is not posted back to the get_results()

Categories ajax Tags ajax, forms, query, select, wpdb

How can i see/log all requests coming from a registration form (not from the UI)?

You could use “save_post” hook to capture all submit within WP, for ex: function just_got_you( $post_id ) { if ($post_id != ‘123’) return; << do your logging stuff here >> } add_action( ‘save_post’, ‘just_got_you’, 10, 2 ); Change 123 to your page/post id. More reference here Save Post Hook

Categories plugins Tags forms, plugins, request-filter, security, wp-query

Changing a field value on submit using a PHP variable

Changing a field value on submit using a PHP variable

Categories posts Tags forms, posts

wp_mail links are dead

wp_mail links are dead

Categories plugin-development Tags forms, plugin-development, wp-mail

Adding custom field in menu options [duplicate]

I am using this plugin: https://wordpress.org/plugins/font-awesome-4-menus/ which does exactly what you need. Go to your Screen Options panel (top right) and activate CSS Classes. Then add fa-home fa-fw to your CSS class field.

Categories functions Tags custom-field, forms, functions, menus

Submit form to another template (ugly url)

Submit form to another template (ugly url)

Categories templates Tags forms, page-template, redirect, templates

Trying to display user meta by “name” – not by “ID”

Use get_category() to convert the ID into a category data object. $cid = get_user_meta($uid, ‘user_location’, true); $c = get_category($cid); echo $c->name;

Categories PHP Tags forms, php, users

Include plugin form in the home page

Assuming the images are posts. Register a new post meta for them and use the ID for your form in that post meta, this will allow you to relate to the form. https://codex.wordpress.org/Function_Reference/add_post_meta

Categories plugins Tags database, forms, plugins

Pay before posting (frontend insert post)

You can use sessions to store the data. There is a plugin also for that which I have used in the past and it works quite good. https://wordpress.org/plugins/wp-session-manager/

Categories forms Tags forms, paypal, wp-insert-post

Stop my loop to register data twice

Try add this code to your site’s js $(‘form’).unbind(‘submit’).submit(); By DemoUser: https://stackoverflow.com/questions/9767871/jquery-submitting-a-form-twice

Categories MySQL Tags forms, mysql
Older posts
Newer posts
← Previous Page1 … Page26 Page27 Page28 … Page146 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress