Tag Info

New answers tagged

0

Use the following code: <form action="action_page.php" method="post"> First name:<br> <input type="text" name="firstname" value=""> <br> Last name:<br> <input type="text" name="lastname" value=""> <br> <input type="submit" value="Submit"> </form> and in file "action_page.php" Use the following code: ...


0

I think it should be $_REQUEST['lastname']; and you can check it like: echo $_REQUEST['lastname'];


0

You can in the action_page.php use the $_POST['lastname'].


0

As an alternative, you can specify the Content-Type HTTP header in the $headers parameter: $to = 'sendto@example.com'; $subject = 'The subject'; $body = 'The email body content'; $headers = array('Content-Type: text/html; charset=UTF-8'); wp_mail( $to, $subject, $body, $headers );


0

The short answer is yes: You can use multiple CSS files in a WordPress theme. The main style.css file is used for holding the theme's information. You can leave the rest of it blank after that and write your own custom CSS files and include them inside the like you normally would. As for the HTML, that will be working fairly different from a normal HTML ...


-1

I had the same issue and I fixed by installing TinyMCE Advanced. After you install this plugin, you just go to the plugin settings and enable the option to stop removing tags and others.


0

To load the css/js on just one page, please see my earlier answer, and use a WordPress Conditional Tag, just as I showed you in the code example, except replace "Home" in the example with the conditional tag for the page you want this code on. You can find the conditional tag for any specific page by looking it up as indicated in the CODEX link in my ...


0

You want to add CSS OR SCRIPT in wordpress theme .. so. wordpress provide a functions.php in copy and past YOUR CSS LINK OR JS SCRIPT LINK. /** * Enqueue scripts and styles. */ function function_name() { // ADD STYLE wp_enqueue_style( 'CSS-ID', get_template_directory_uri() .'/css/style.css','', '3.3.1' ); // ADD SCRIPT ...


0

Toodarday, For the code you want to put in your <head> section, you should do this in the header.php file. To do this, go to your WordPress dashboard, hover your cursor over APPEARANCE in the left-side menu bar, and click on EDITOR. When the editor screen appears, in the right column, you should see the listing "Header" with (header.php) below it. ...


0

Some plugins require the /wp-content/ folder be made writeable, but in such cases they will let you know during installation. In some cases, this may require assigning 755 permissions. If you are on the shared hosting they always uses the "suexec" and above case will not apply for them. If your hosting use the "suexec" approach for running PHP binaries which ...


0

In menu editor add Custom Link for each language with URL pointing to the site of your language and Link Text - <img src="url of your flag picture" alt="your language">


1

Most of what you want to remove is added in wp-includes/default-filters.php. Look in that file to see where they are added. The two that are adding css and js are the emoji support scripts: add_action( 'wp_head', 'print_emoji_detection_script', 7 ); add_action( 'wp_print_styles', 'print_emoji_styles' ); To remove them, use the following in addition to the ...


0

This was very frustrating to figure out. I spent hours on this issue and discovered your problem is in this input: <input type="text" name="name" id="name" size="30" value=""/> Try changing the input field name to anything but "name", for example: <input type="text" name="user_name" id="name" size="30" value=""/>


1

I believe a filter on the_generator will do it. add_filter(  'the_generator',  '__return_empty_string', PHP_INT_MAX ); Reference: https://codex.wordpress.org/Function_Reference/_return_empty_string. https://core.trac.wordpress.org/browser/tags/4.2.2/src/wp-includes/general-template.php#L2956



Top 50 recent answers are included