Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Rishi Kulshreshtha

    (@rishikulshreshtha)

    Thanks keesiemeijer for the help but I was in need of this code.

    <?php if (!(current_user_can('level_0'))){ ?>
    <h2>Login</h2>
    <form action="<?php echo get_option('home'); ?>/wp-login.php" method="post">
    <input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="20" />
    <input type="password" name="pwd" id="pwd" size="20" />
    <input type="submit" name="submit" value="Send" class="button" />
        <p>
           <label for="rememberme"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label>
           <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>" />
        </p>
    </form>
    <a href="<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword">Recover password</a>
    <?php } else { ?>
    <h2>Logout</h2>
    <a href="<?php echo wp_logout_url(urlencode($_SERVER['REQUEST_URI'])); ?>">logout</a><br />
    <a href="http://XXX/wp-admin/">admin</a>
    <?php }?>
    Thread Starter Rishi Kulshreshtha

    (@rishikulshreshtha)

    I mean to say I want a code that can read a relevant word from the page of the link mentioned above in that you can see “PHP” as a word so if it is possible to catch word “PHP” then button of apply job will redirect him to the page of IT related jobs not for the sales or marketing.

    Thread Starter Rishi Kulshreshtha

    (@rishikulshreshtha)

    Currently I’m creating a WordPress site http://temp.c2csolutions.in/listing/demo in this below you can see apply for this job which is redirected to http://temp.c2csolutions.in/send-resume I want to create an If else condition for the button in which I also need such a condition which can read the letter from that page for eg: PHP. Please reply me as soon as possible.

    Rishi

Viewing 3 replies - 1 through 3 (of 3 total)