本文整理汇总了PHP中et_get_mobile_header函数的典型用法代码示例。如果您正苦于以下问题:PHP et_get_mobile_header函数的具体用法?PHP et_get_mobile_header怎么用?PHP et_get_mobile_header使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了et_get_mobile_header函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: wp_redirect
<?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: et_get_mobile_header
<?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: et_get_mobile_header
<?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);
?>
">