Пример #1
0
<?php

/**
 * 
*/
global $user_ID;
if ($user_ID) {
    // isset redirect url
    if (isset($_REQUEST['redirect'])) {
        wp_redirect($_REQUEST['redirect']);
        exit;
    }
    wp_redirect(home_url());
    exit;
}
et_get_mobile_header('auth');
?>
<div class="container">
    <div class="row">
        <div class="col-md-12 mobile-logo-wrapper">
            <a href="<?php 
echo home_url();
?>
" class="logo-mobile">
                <?php 
ae_mobile_logo();
?>
            </a>
        </div>
    </div>
</div>
Пример #2
0
<?php

/*
 * Template name: Forgot Password
 */
global $wp_query, $wp_rewrite, $post, $et_data;
et_get_mobile_header();
global $post;
the_post();
?>
    <!-- CONTAINER -->
    <div class="wrapper-mobile bg-white">
        <!-- TAGS BAR -->
        <section class="blog-bar">
            <div class="container">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="blog-content">
                            <!-- <span class="tag"><?php 
//the_category( '-' );
?>
</span><span class="cmt"><i class="fa fa-comments"></i><?php 
//comments_number();
?>
</span> -->
                            <h2 class="title-blog"><?php 
_e("Forgot Password", ET_DOMAIN);
?>
</h2>
                        </div>
                    </div>
Пример #3
0
<?php

et_get_mobile_header('mobile');
global $post, $current_user, $user_ID;
$job = $post;
if (have_posts()) {
    the_post();
    $job_cat = et_get_the_job_category($job->ID);
    $job_types = et_get_the_job_type($job->ID);
    $colours = et_get_job_type_colors($job->ID);
    $company = new WP_User($post->post_author);
    $job_location = et_get_post_field($job->ID, 'location');
    ?>

	<div data-role="content" class="post-content resume-contentpage">
		<h1 class="title-resume">
			<?php 
    the_title();
    ?>
			<a href="#" class="post-title-link icon" data-icon="A"></a>
		</h1>
		<div class="content-info inset-shadow">
			<span class="arrow-right"></span>
			<a class="list-link job-employer" data-transition="slide" href="<?php 
    echo get_author_posts_url($post->post_author);
    ?>
"
				title="<?php 
    printf(__('View posted jobs by %s', ET_DOMAIN), $company->display_name);
    ?>
">