Java code/ JSP page in wordpress

No. WordPress is written in PHP which is not Java. Maybe you can configure your webserver in a way to proxy a certain URL to be handled by some Java Server, but this is definitely not a WordPress issue and would be off topic here. You can try with sister sites like https://serverfault.com/ though.

Use $_POST data in functions.php

Try adding you query variable to the public query variable list like this. function wp280272_query_vars($vars) { $vars[] = ‘currency’; return $vars; } add_filter( ‘query_vars’, ‘wp280272_query_vars’ ); you then can access it via get_query_var(‘currency’);

textarea field is getting escaped for some unknown reason

WordPress always adds magic quotes regardless of server settings. This ensures consistency regardless of the environment. Even though magic quotes has been removed or deprecated from PHP, WordPress keeps this behaviour for backwards compatibility with older versions of PHP and plugins that were written with older versions of PHP in mind. If you want to … Read more

nonce in custom form is not verifying

Not sure if this answers the question, but you should call wp_nonce_field() with the fourth parameter ($echo) set to false: // You are concatenating or not directly echoing the output, so: . wp_nonce_field( ‘register’, ‘registration_nonce’, true, false ) . And I said “not sure” because you said the posted data ($_POST) did include the nonce … Read more

Creating short code for search form

You are returning the shortcode content as a big string, your function get_job_listing_categories is not properly being called. Also i would recommend use PHP output buffering which is great for WordPress shortcodes. Try below code: function jobsform_function($atts) { ob_start(); ?> <form class=”home-job-search” method=”GET” action=”https://website.com/jobs/jobs/”> <div class=”home-keywords”> <input type=”text” id=”search_keywords” name=”search_keywords” placeholder=”Enter Keywords” /> </div> <div … Read more

A mandatory agreement form to access another page?

I would use a shortcode for this. Wrap the content you want behind the “terms_required” shortcode, if the user hasn’t agreed to the terms, show them the form. The form would submit to a custom rewrite rule (url endpoint) that validates the form and sets a cookie if everything checks out. Let’s start by wrapping … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)