本文整理汇总了PHP中jobboard_option函数的典型用法代码示例。如果您正苦于以下问题:PHP jobboard_option函数的具体用法?PHP jobboard_option怎么用?PHP jobboard_option使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了jobboard_option函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: jobboard_child_scripts
/**
* JobBoard Child theme scripts
*
* @since 1.0.0
*/
function jobboard_child_scripts()
{
// Check the homepage active or not, then execute the javascript
if (is_page_template('page-templates/template-homepage.php')) {
// jQuery Simple Slider
wp_enqueue_script('simple-slider', get_template_directory_uri() . '/assets/js/simple-slider.min.js', array('jquery'), '1.0.0', true);
wp_enqueue_script('simple-slider-init', get_template_directory_uri() . '/assets/js/simple-slider-init.js', array('jquery'), '1.0.0', true);
wp_enqueue_style('simple-slider', get_template_directory_uri() . '/assets/css/simple-slider.css', '1.0', 'all');
wp_enqueue_style('simple-slider-volume', get_template_directory_uri() . '/assets/css/simple-slider-volume.css', '1.0', 'all');
// jQuery Uniform
wp_enqueue_script('uniform', get_template_directory_uri() . '/assets/js/jquery.uniform.min.js', array('jquery'), '2.1.2', true);
wp_enqueue_script('uniform-init', get_template_directory_uri() . '/assets/js/jquery.uniform.init.js', array('jquery'), '2.1.2', true);
wp_enqueue_style('uniform-default', get_template_directory_uri() . '/assets/css/jquery-uniform/default/css/uniform.default.min.css', '2.1.2', 'all');
$slider_init = true;
// Homepage Image Slider
$slider_settings = array('auto_play' => jobboard_option('slider_auto_slide'), 'auto_play_timeout' => jobboard_option('slider_delay'), 'animate_in' => jobboard_option('slider_entrance_animation'), 'animate_out' => jobboard_option('slider_exit_animation'));
wp_localize_script('theme-js', 'home_slider', $slider_settings);
wp_localize_script('theme-js', 'slider', array('init' => $slider_init, 'home_init' => $slider_init));
} else {
$slider_init = false;
}
wp_enqueue_script('jobboard-child', get_stylesheet_directory_uri() . '/js/jobboard-child.js', array(), '1.0.0', true);
}
开发者ID:puriwp,项目名称:jobboard-child-blue,代码行数:28,代码来源:functions.php
示例2: esc_attr
</a>
</div>
</div>
<div class="col-md-6">
<div class="banner-right">
<h1><?php
echo esc_attr(jobboard_option('post_job_title'));
?>
</h1>
<p><?php
echo esc_attr(jobboard_option('post_job_desc'));
?>
</p>
<a href="<?php
echo esc_url(jobboard_option('post_job_button_url'));
?>
" class="btn btn-default btn-post-job"><?php
echo esc_attr(jobboard_option('post_job_button'));
?>
</a>
</div>
</div>
</div><!-- /.row -->
</div><!-- /.banner-caption -->
</div><!-- /.container -->
</div><!-- /.banner-wrapper -->
<?php
}
//endif;
?>
</div><!-- /#homepage-banner -->
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:homepage-slider.php
示例3: esc_attr
//endif;
?>
<h1 class="page-title"><?php
echo esc_attr($page_title);
?>
</h1>
</div><!-- /.container -->
</div><!-- /#page-title -->
<div id="content">
<div class="container">
<div class="row">
<div class="col-md-8">
<form method="post" class="frontend-form" action="" id="post-resume" role="form" enctype="multipart/form-data">
<?php
$status_message = '';
if ('1' == jobboard_option('auto_publish_resume')) {
if (isset($_GET['message'])) {
jobboard_set_post_message(14);
}
} else {
if (isset($_GET['message'])) {
$status_message = $_GET['message'];
}
jobboard_set_post_message($status_message);
}
?>
<div class="form-group">
<label for="name"><?php
_e('Resume Title', 'jobboard');
?>
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:template-post_resume.php
示例4: esc_attr
</div><!-- /.col-sm-6 -->
<div class="col-sm-6">
<div class="upload-post-job-wrapper job">
<h4><?php
echo esc_attr(jobboard_option('post_2_title'));
?>
</h4>
<p><?php
echo esc_attr(jobboard_option('post_2_description'));
?>
</p>
<a style="<?php
echo 'background:' . esc_attr(jobboard_option('post_2_button_color')) . '; color:' . esc_attr(jobboard_option('post_2_button_text_color')) . ';';
?>
" href="<?php
echo esc_url(jobboard_option('post_2_button_url')) ? esc_url(jobboard_option('post_2_button_url')) : '#';
?>
" class="btn btn-upload-post resume">
<?php
echo esc_attr(jobboard_option('post_2_button_text'));
if (jobboard_option('post_2_button_icon')) {
echo '<i class="fa ' . esc_attr(jobboard_option('post_2_button_icon')) . '"></i>';
}
//endif;
?>
</a>
</div><!-- /.upload-post-job-wrapper -->
</div><!-- /.col-sm-6 -->
</div><!-- /.row -->
</div><!-- /.container -->
</div><!-- /#upload-post-job -->
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:job_detail-upload_post.php
示例5: apply_filters
*/
?>
<div id="companies-listing">
<div class="container">
<h1 class="companies-listing-title"><?php
echo apply_filters('jobboard_companies_listings_title', jobboard_option('company_title'));
?>
</h1>
<p class="companies-listing-desc">
<?php
echo esc_attr(jobboard_option('company_description'));
?>
</p>
<div class="companies-listing-wrapper">
<?php
$companies = jobboard_option('company_slider');
$slider_id = $companies;
$slides = jobboard_get_slider($slider_id);
if ($slides) {
foreach ($slides as $slide) {
$image_url = $slide['slider_item_img'];
$url = $slide['slider_item_img_url'];
$size = 'jobboard-companies-listing';
$attachment_id = jobboard_get_attachment_id_from_url($image_url);
$image_resized = wp_get_attachment_image_src($attachment_id, $size);
$image_alt = get_post_meta($attachment_id, '_wp_attachment_image_alt', true);
echo '<div id="company-' . $attachment_id . '" class="company-item">';
echo '<a target="_blank" title="' . $image_alt . '" href="' . $url . '" width="' . $image_resized[1] . '" height="' . $image_resized[2] . '">';
echo '<img src="' . $image_resized[0] . '" width="' . $image_resized[1] . '" height="' . $image_resized[2] . '" alt="' . $image_alt . '" />';
echo '</a>';
echo '</div><!-- /.company-item -->';
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:homepage-company.php
示例6: get_header
<?php
/**
* Template Name: Homepage
*
* @since Job Board 1.0.0
*/
get_header();
if (jobboard_option('enable_homepage_slider')) {
get_template_part('template-parts/homepage', 'slider_alt');
}
get_template_part('template-parts/form', 'job_search_alt');
get_template_part('template-parts/listing', 'job_listing');
if (jobboard_option('enable_job_status')) {
get_template_part('template-parts/homepage', 'job_stats_alt');
}
if (jobboard_option('enable_job_steps')) {
get_template_part('template-parts/homepage', 'job_step');
}
if (jobboard_option('enable_testimonial')) {
get_template_part('template-parts/homepage', 'testimonials_alt');
}
if (jobboard_option('enable_company')) {
get_template_part('template-parts/homepage', 'company_alt');
}
get_footer('homepage_alt');
开发者ID:puriwp,项目名称:jobboard-child-blue,代码行数:26,代码来源:template-homepage.php
示例7: jobboard_active_package_html
/**
* Payment
*/
function jobboard_active_package_html($user_id, $cpt_args)
{
$cpt = '';
$package_heading = '';
if (!empty($cpt_args) && ($cpt_args = array('resume_view'))) {
if (jobboard_get_user_type($user_id) == 'job_lister') {
$cpt = '_resume_subscription';
$package_heading = __('Resume View Packages:', 'jobboard');
}
} else {
if (jobboard_get_user_type($user_id) == 'job_lister') {
$cpt = '_package_job';
$package_heading = __('Job Packages:', 'jobboard');
}
if (jobboard_get_user_type($user_id) == 'job_seeker') {
$cpt = '_package_resume';
$package_heading = __('Resume Packages:', 'jobboard');
}
}
$package_data = jobboard_get_packages_obj($cpt);
$active_pack = jobboard_get_user_active_package_data($user_id, $cpt);
$active_pack_id = $active_pack->ID;
/**
* Form processing
*/
if (isset($_POST['update-package-frontend'])) {
update_user_meta($user_id, 'jobboard_user' . $cpt, $_POST['jobboard_user' . $cpt]);
wp_redirect(get_permalink());
exit;
}
/**
* Paypal payment starts
*/
$action = '';
if ('1' == jobboard_option('activate_payment')) {
$action = jobboard_get_payment_mode();
$custom = $cpt;
$listener_url = add_query_arg('action', 'payment_success', esc_url(home_url('/')));
$args = array('action' => 'payment_success', 'do' => 'update_package');
$return_url = add_query_arg($args, esc_url(jobboard_get_permalink('dashboard')));
?>
<div class="package-tabs">
<?php
/** Tab Menu **/
echo '<ul>';
echo '<h4 class="package-heading">' . $package_heading . '</h4>';
$user_package = jobboard_get_user_package($user_id, $cpt);
if (!$user_package) {
echo '<p class="active-note innactive">' . __('You don\'t have an active package. Please, select one of these available packages!', 'jobboard') . '</p>';
}
foreach ($package_data as $post) {
setup_postdata($post);
$checked = '';
if ($post->ID == $active_pack_id) {
$checked = 'checked="checked"';
}
$fieldname = 'jobboard_user' . $cpt;
$package_info = array('ID' => $post->ID, 'name' => $post->post_title, 'price' => get_post_meta($post->ID, '_jboard' . $cpt . '_price', true));
$active = '';
if ($post->ID == $active_pack_id) {
$active = 'class="ui-tabs-active ui-state-active"';
}
?>
<li <?php
echo $active;
?>
><a href="#package-<?php
echo $package_info['ID'];
?>
"><?php
echo $package_info['name'];
?>
</a></li>
<?php
}
wp_reset_postdata($post);
echo '</ul><!-- /.package-menu -->';
/** Tab Menu Ends **/
?>
<?php
/** Tab Content **/
foreach ($package_data as $post) {
setup_postdata($post);
$package_info = array('ID' => $post->ID, 'name' => $post->post_title, 'price' => get_post_meta($post->ID, '_jboard' . $cpt . '_price', true), 'notes' => get_post_meta($post->ID, '_jboard' . $cpt . '_notes', true), 'limit' => get_post_meta($post->ID, '_jboard' . $cpt . '_limit', true));
// Unlimited is set
$unlimited = get_post_meta($post->ID, '_jboard' . $cpt . '_is_unlimited', true);
if ($unlimited == '1') {
$package_info['limit'] = 'unlimited';
}
$button_text = __('Buy Package', 'jobboard');
if ($cpt_args != '') {
//.........这里部分代码省略.........
开发者ID:bunnywong,项目名称:freshlinker,代码行数:101,代码来源:package.php
示例8: array
*/
// $error = false;
if (isset($_POST['user_submit'])) {
$creds = array('username' => $_POST['register_name'], 'email' => $_POST['register_email'], 'password' => $_POST['register_password']);
$user = wp_create_user($creds['username'], $creds['password'], $creds['email']);
if (isset($user->errors)) {
$wp_error = $user;
$error = true;
$login_class = 'animated shake';
} else {
update_user_meta($user, 'jobboard_user_role', $_POST['register_role']);
// wp_redirect( get_permalink( jobboard_option( 'login' ) ) ); exit;
}
}
if (is_user_logged_in()) {
wp_redirect(get_permalink(jobboard_option('dashboard_page')));
exit;
}
get_header();
?>
<div id="page-title-wrapper" class="register-page-wrapper">
<div class="container">
<h1 class="page-title"><?php
the_title();
?>
</h1>
<div class="row">
<div class="col-md-0" style="display:none;">
<?php
if ($error) {
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:template-register.php
示例9: jobboard_option
* @package WordPress
* @subpackage Job_Board
* @since Job Board 1.0
*
*/
$widgets = jobboard_option('footer_widget_area');
$limit = 1;
$col_width = '';
if ($widgets != '0') {
?>
<div class="container">
<div id="footer-widgets">
<div class="row">
<?php
while ($limit <= $widgets) {
$col_width = jobboard_option('footer_column_width_' . $limit);
?>
<div class="col-md-<?php
echo $col_width;
?>
widget-container">
<?php
if (is_active_sidebar('footer_sidebar_' . $limit)) {
dynamic_sidebar('footer_sidebar_' . $limit);
}
//endif;
?>
</div><!-- /.col-md-<?php
echo $col_width;
?>
-->
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:sidebar-footer.php
示例10: jobboard_get_payment_mode
function jobboard_get_payment_mode()
{
$sanboxmode = jobboard_option('payment_sandbox_mode') ? jobboard_option('payment_sandbox_mode') : '';
if ($sanboxmode == '1') {
$action = 'https://www.sandbox.paypal.com/cgi-bin/webscr';
} else {
$action = 'https://www.paypal.com/cgi-bin/webscr';
}
return $action;
}
开发者ID:bunnywong,项目名称:freshlinker,代码行数:10,代码来源:theme-functions.php
示例11: the_content
" class="the-job-content">
<div class="container">
<article><?php
the_content();
?>
</article>
</div>
</div><!-- /.the-job-content -->
<?php
if (jobboard_option('enable_related_job')) {
get_template_part('template-parts/job_listing', 'related');
}
//endif;
?>
<?php
if (jobboard_option('enable_upload_job_button')) {
get_template_part('template-parts/job_detail', 'upload_post');
}
//endif;
?>
<?php
get_template_part('template-parts/modal', 'apply_job');
?>
<?php
}
//endwhile;
get_footer();
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:single-job.php
示例12: get_template_part
?>
>
<div id="wrapper">
<header id="header">
<?php
if (jobboard_option('enable_admin_menu') || jobboard_option('enable_social_media_url')) {
get_template_part('template-parts/header', 'bar');
}
//endif;
?>
<div class="container">
<div class="row">
<div class="col-md-3">
<?php
$custom_logo = jobboard_option('custom_header_logo');
$logo = '';
if (empty($custom_logo)) {
$logo = 'custom-logo-inactive';
}
?>
<div class="logo-wrapper <?php
echo esc_attr($logo);
?>
">
<a href="<?php
echo esc_url(home_url());
?>
" class="header-logo" title="<?php
echo esc_attr(get_bloginfo('name'));
?>
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:header.php
示例13: jobboard_post_company
//.........这里部分代码省略.........
update_post_meta($comp_id, 'cp_ldin_user', $data['cp_ldin_user']);
update_post_meta($comp_id, 'cp_person', $data['cp_person']);
update_post_meta($comp_id, 'cp_person_title', $data['cp_person_title']);
update_post_meta($comp_id, 'cp_email', $data['cp_email']);
update_post_meta($comp_id, 'cp_phone', $data['cp_phone']);
// Company Expertises
update_post_meta($comp_id, '_jboard_hidden_expertises', $data['company_expertises']);
// Company Service
update_post_meta($comp_id, '_jboard_company_service_headline', $data['company_service_headline']);
update_post_meta($comp_id, '_jboard_company_service_group_container', $company_service_group);
// Company Client
update_post_meta($comp_id, '_jboard_company_client_headline', $data['company_client_headline']);
update_post_meta($comp_id, '_jboard_company_client_group_container', $company_client_group);
// Expertises
update_post_meta($comp_id, '_jboard_company_expertises_headline', $data['company_expertises_headline']);
/**
* Multiple select company expertises
*/
$expertise_array = explode(',', $data['company_expertises']);
update_post_meta($comp_id, '_jboard_company_expertises', $expertise_array);
// Testimonial
update_post_meta($comp_id, '_jboard_company_testimonial_headline', $data['company_testimonial_headline']);
update_post_meta($comp_id, '_jboard_company_testimonial_content', $data['testimonial_content']);
update_post_meta($comp_id, '_jboard_company_testimonial_author', $data['testimonial_author']);
update_post_meta($comp_id, '_jboard_company_testimonial_author_occupation', $data['testimonial_author_occupation']);
update_post_meta($comp_id, '_jboard_company_testimonial_author_url', $data['testimonial_author_url']);
// Testimonial author avatar
// Upload Company Image
if (!empty($files['testimonial_author_avatar']['name'])) {
$attach_id = jobboard_file_upload($files['testimonial_author_avatar'], 'image', $comp_id);
if ($attach_id) {
update_post_meta($comp_id, '_author_avatar_id_hidden', $attach_id);
$attachment_url = wp_get_attachment_url($attach_id);
update_post_meta($comp_id, '_jboard_company_testimonial_author_avatar', $attachment_url);
}
}
$company_meta = array('_jboard_company_description', '_jboard_company_overview', '_jboard_company_web_address', '_jboard_company_social_facebook', '_jboard_company_social_twitter', '_jboard_company_social_googleplus');
update_post_meta($comp_id, 'jobboard_company_mb_fields', $company_meta);
/*
$old_post_meta = get_post_meta( $comp_id, 'jobboard_company_mb_fields', true );
update_post_meta( $comp_id, 'jobboard_company_mb_fields', $meta_input, $old_post_meta );
*/
// Upload Company Image
if (!empty($files['company_image']['name'])) {
$attach_id = jobboard_file_upload($files['company_image'], 'image', $comp_id);
if ($attach_id) {
if (has_post_thumbnail($comp_id)) {
delete_post_thumbnail($comp_id);
}
set_post_thumbnail($comp_id, $attach_id);
}
}
// Portfolio repeatable meta data
$multiple_images = $_FILES['portfolio_image'];
$n = 0;
$single_img_group = array();
foreach ($multiple_images as $key => $val_array) {
$single_img_group[] = array('name' => $multiple_images['name'][$n], 'type' => $multiple_images['type'][$n], 'tmp_name' => $multiple_images['tmp_name'][$n], 'error' => $multiple_images['error'][$n], 'size' => $multiple_images['size'][$n]);
$n++;
}
$portfolio_attachments = array();
foreach ($single_img_group as $single_img) {
// Push upload here
if ($single_img['name'] != '' || $single_img['name'] != NULL) {
// Push upload
$attach_id = jobboard_file_upload($single_img, 'image', $comp_id);
$portfolio_attachments[] = $attach_id;
}
}
// Service repeatable meta data
$company_portfolio = array();
$i = 0;
foreach ($portfolio_attachments as $portfolio_attachment) {
if ($portfolio_attachment != '') {
$stored_id = $data['portfolio_stored_image_id'][$i] ? $data['portfolio_stored_image_id'][$i] : $portfolio_attachment;
$company_portfolio[] = array('portfolio_image' => $portfolio_attachment, 'portfolio_url' => $data['portfolio_url'][$i]);
}
$i++;
}
$company_portfolio_group = array('_jboard_company_portfolio_group' => $company_portfolio);
// Update portfolio meta
update_post_meta($comp_id, '_jboard_company_portfolio_headline', $data['company_portfolio_headline']);
update_post_meta($comp_id, '_jboard_company_portfolio_group_container', $company_portfolio_group);
// stored images
update_post_meta($comp_id, '_jboard_company_portfolio_stored_img', $data['portfolio_stored_image_id']);
// stored urls
update_post_meta($comp_id, '_jboard_company_portfolio_stored_url', $data['portfolio_url2']);
// Company address
update_post_meta($comp_id, '_jboard_company_address_gmap_latitude', $data['gmap_latitude']);
update_post_meta($comp_id, '_jboard_company_address_gmap_longitude', $data['gmap_longitude']);
update_post_meta($comp_id, '_jboard_company_address', $data['company_address']);
update_post_meta($comp_id, '_jboard_company_phone', $data['company_phone']);
update_post_meta($comp_id, '_jboard_company_email', $data['company_email']);
//wp_redirect( esc_url( add_query_arg( array( 'action' => 'edit', 'jid' => $comp_id, 'message' => $message ) ) ) );
$acc_page = jobboard_option('dashboard_page');
wp_redirect(esc_url(get_permalink($acc_page)));
exit;
}
//endif;
}
开发者ID:bunnywong,项目名称:freshlinker,代码行数:101,代码来源:functions.php
示例14: __
echo __('Enter Keywords', 'jobboard');
?>
" />
</div><!-- /.form-group -->
</div><!-- /.col-md-6 -->
<div class="col-md-6">
<div class="form-group">
<?php
$typed_location = isset($_GET['resume_search_location']) ? $_GET['resume_search_location'] : '';
?>
<?php
if (jobboard_option('resume_location_input_type') == 'input_text') {
?>
<label for="resume_search_location"><?php
_e('Location', 'jobboard');
?>
</label>
<input type="text" id="resume_search_location" name="resume_search_location" class="form-control" value="<?php
echo $typed_location;
?>
" placeholder="<?php
echo __('Any Location', 'jobboard');
?>
" />
<?php
开发者ID:puriwp,项目名称:jobboard-child-blue,代码行数:31,代码来源:alt-search_resume.php
示例15: foreach
echo '</div>';
}
?>
<div class="row">
<div class="col-md-5">
<?php
if (isset($_POST['action']) && $_POST['action'] == 'jobboard_proccess_login_form') {
if ($error) {
echo '<div id="login-error-box" class="alert alert-danger">';
$errors = '';
$messages = '';
foreach ($wp_error->get_error_codes() as $code) {
$error_str = '<strong>' . __('ERROR', 'jobboard') . '</strong>: ';
$lost_password_url = get_permalink(jobboard_option('login')) . '?mode="lost-password"';
$lost_password_str = '<a href="' . esc_url($lost_password_url) . '" title="' . __('Password Lost and Found', 'jobboard') . '"> ' . __('Lost your password', 'jobboard') . '</a>?<br />';
if ($code == 'empty_password') {
echo apply_filters('jobboard_empty_password_msg', $error_str . __('The password field is empty.', 'jobboard'));
} elseif ($code == 'invalid_username') {
echo apply_filters('jobboard_invalid_username_msg', $error_str . __('Invalid username.', 'jobboard'));
} elseif ($code == 'incorrect_password') {
echo apply_filters('jobboard_incorrect_password_msg', $error_str . __('The password you entered for the username <strong>' . $_POST['user_login'] . '</strong> is incorrect.', 'jobboard') . $lost_password_str);
}
}
echo '</div><!-- /#login-error-box -->';
}
// $error ends
}
if ($not_match_password_msg != '') {
echo '<div id="login-error-box" class="alert alert-danger">';
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:template-login.php
示例16: apply_filters
<?php
/**
* Template Part Name : Footer Contact Query
*
* @package WordPress
* @subpackage Job_Board
* @since Job Board 1.0
*
*/
?>
<div id="footer-query">
<div class="container">
<h2><?php
echo apply_filters('jobboard_footer_contact_title', jobboard_option('footer_contact_title'));
?>
</h2>
<p>
<?php
echo esc_attr(jobboard_option('footer_contact_description'));
?>
</p>
<div class="footer-query-contact">
<?php
echo esc_attr(jobboard_option('footer_contact_number'));
?>
</div><!-- /.footer-query-contact -->
</div><!-- /.container -->
</div><!-- /#footer-query -->
开发者ID:bunnywong,项目名称:freshlinker,代码行数:29,代码来源:footer-contact_query.php
示例17: array
?>
</label>
<select class="init-slider" name="sallary_min" id="sallary_min">
<?php
$new_structure = array();
$exp = explode("\n", jobboard_option('salary_parameters'));
foreach ($exp as $child) {
$numbers = explode(';', $child);
echo '<option value="' . esc_attr($numbers[0]) . '">' . esc_attr($numbers[1]) . '</option>';
}
?>
</select>
<select class="init-slider" name="sallary_max" id="sallary_max">
<?php
$new_structure = array();
$exp = explode("\n", jobboard_option('salary_parameters'));
foreach ($exp as $child) {
$numbers = explode(';', $child);
echo '<option value="' . esc_attr($numbers[0]) . '">' . esc_attr($numbers[1]) . '</option>';
}
?>
</select>
</div>
</div><!-- /#advance-search-option -->
<!-- Andvance Search Ends -->
<?php
}
// Advanced Search ends
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:form-job_search.php
示例18: apply_filters
* @package WordPress
* @subpackage Job_Board
* @since Job Board 1.0
*
*/
?>
<div id="job-stats">
<div class="container">
<h1 class="job-stats-title"><?php
echo apply_filters('jobboard_job_stats_title', jobboard_option('job_status_title'));
?>
</h1>
<p class="job-stats-desc">
<?php
echo esc_attr(jobboard_option('job_status_description'));
?>
</p>
<div class="job-stats-wrapper row">
<div class="col-lg-2 col-lg-offset-2 col-sm-3">
<div class="count-box">
<?php
$job['jobs'] = wp_count_posts('job');
echo $job['jobs']->publish;
?>
</div><!-- /.count-box -->
<div class="count-text">
<?php
echo apply_filters('jobboard_job_posted_text', _n('Job Posted', 'Jobs Posted', $job['jobs']->publish, 'jobboard'));
?>
</div><!-- /.count-text -->
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:homepage-job_stats.php
示例19: apply_filters
?>
" /></div><!-- /.step-image -->
<h3 class="step-title"><?php
echo apply_filters('jobboard_step_title_three', jobboard_option('step_3_title'));
?>
</h3>
</div><!-- /.col-sm-3 -->
<div class="col-sm-3">
<div class="step-number"><?php
echo apply_filters('jobboard_step_number_four', jobboard_option('step_4_label'));
?>
</div>
<div class="step-image step-last"><img src="<?php
echo esc_url(jobboard_option('step_4_image'));
?>
" alt="<?php
echo esc_attr(jobboard_option('step_1_label'));
?>
" title="<?php
echo esc_attr(jobboard_option('step_4_title'));
?>
" /></div><!-- /.step-image -->
<h3 class="step-title"><?php
echo apply_filters('jobboard_step_title_four', jobboard_option('step_4_title'));
?>
</h3>
</div><!-- /.col-sm-3 -->
</div><!-- /.job-step-wrapper -->
</div><!-- /.container -->
</div><!-- /#job-step -->
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:homepage-job_step.php
示例20: _e
<label for="contact_message"><?php
_e('Message', 'jobboard');
?>
</label>
<textarea name="contact_message" rows="7" class="form-control" required="required" ></textarea>
</div><!-- /.form-group -->
<input type="hidden" name="action" value="jobboard_send_contact_form" />
<button type="submit" name="contact_submit" value="1" class="btn btn-send-contact-form" data-loading-text="<?php
_e('Sending...', 'jobboard');
?>
"><?php
_e('Send', 'jobboard');
?>
</button>
<div class="contact-form-status alert alert-success alert-dismissable" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true"><i class="fa fa-times"></i></span><span class="sr-only"><?php
_e('Close', 'jobboard');
?>
</span></button>
<?php
_e('<strong>Thank you!</strong> Your message was sent successfully', 'jobboard');
?>
</div>
</form>
</div><!-- /.container -->
</div><!-- /#content -->
<?php
$latitude = jobboard_option('gmap_latitude');
$longitude = jobboard_option('gmap_longitude');
jobboard_create_gmaps('jobboard-gmaps', $latitude, $longitude);
get_footer();
开发者ID:bunnywong,项目名称:freshlinker,代码行数:31,代码来源:template-contact.php
注:本文中的jobboard_option函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论