link to another page of the domain
-
Hy everybody. My configuration:
PHP/MySQL version: 7.0.11/5.6.32
Theme in use: Techtime.
Plugins in use: All In One WP Security(Version 4.1.5); Contact Form 7(Version 4.5);
Really Simple CAPTCHA(Version 1.9); WordPress File Upload(Version 3.9.2).
host name: o2switch.
site address: Local for now.
Issue encountered: Here is my code located in the template of a page<?php /** * Template Name: Ajouter licence, sans sidebar. */ get_header(); ?> <div id="main-fullwidth"> <?php $theme->hook("main_before"); $theme->hook("content_before"); global $wpdb; $id_membre=$_GET['ID']; //here lot of database queries ?> </div> <form id="form" method="POST" class="wpcf7-form" > <table style="width:85%;"> <!-- Here rows end columns of the table --> <th><input type="submit" value="Enregistrer" id="enregistrer" class="licence" name="enregistrer" style="cursor:pointer;font-weight:bold;font-size:100%;"></th> </table> </form> <?php if ( isset( $_POST['enregistrer'] ) ) { // Here data processing } ?> </div><!-- #main-fullwidth --> <?php get_footer(); ?>
I would like at the end of the data processing returning to the homepage without the use of a button. Is it possible? I tried hopeless wp_redirect and as supposed it did’nt work.
Can somebody points me in the right direction?
Thanks in advance, Miflon.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘link to another page of the domain’ is closed to new replies.