Skip to content

Instantly share code, notes, and snippets.

@rali14
rali14 / functions.php
Created February 12, 2015 05:03
Mindful Society
<?php
/**
* Listify child theme.
*/
@rali14
rali14 / gist:884cc64ea20187327a37
Last active August 29, 2015 14:16
[Listify] Remove comments from Gallery
.single-job_listing .mfp-content #comments {
display: none;
}
@rali14
rali14 / gist:36691dc4145a39f1145d
Last active August 29, 2015 14:16
Jobify Edit Footer Copyright Text
add_filter( 'jobify_footer_copyright', 'jobify_custom_footer_text' );
function jobify_custom_footer_text() {
return 'custom footer text here';
}
@rali14
rali14 / Disable Auto Delete of Expired Listings
Last active August 29, 2015 14:17
Disable expired listings from being deleted after 30 days
add_filter( 'job_manager_delete_expired_jobs', '__return_false' );
@rali14
rali14 / footer.php
Created May 1, 2015 18:37
Jobify Footer.php with Ninja Forms
@rali14
rali14 / functions.php
Created May 1, 2015 21:43
Add additional info to single job listing page
function custom_listify_single_job_listing_meta() {
global $post;
echo '<br/>';
echo '<span class="custom-info" >' . $post->post_date . '</span>'; // Change $post->post_date with your own meta key or text
}
add_action( 'listify_single_job_listing_meta', 'custom_listify_single_job_listing_meta', 40 );
@rali14
rali14 / functions.php
Created May 2, 2015 21:34
Add default date to the job results
function jobify_custom_date() {
echo '<li class="custom-date"><date>Posted on ' . get_post_time('F j, Y') . '</date></li>';
}
add_action('job_listing_meta_end', 'jobify_custom_date', 40);
@rali14
rali14 / style.css
Created June 2, 2015 01:46
Remove the Category field and display only the Location Field and Keywords Field on the Listify Theme.
.template-home .homepage-cover:not(.has-map) .update_results {
width: 100%;
}
.search_jobs > div.search_categories {
display: none;
}
@media (min-width:320px){
.search_jobs > div.search_location {
@rali14
rali14 / howitworks.html
Created June 2, 2015 02:44
Listify How it Works page
<h3 class="ion-person-add">1. Create An Account</h3>
<img class="alignright wp-image-694 size-full" src="https://testdrive.astoundify.com/listify/wp-content/uploads/sites/39/2014/10/account.png" alt="feature_sessionPlayback" width="490" />
Creating an account with Listify is easy, with the social login feature it allows your visitors to login easily, so that they won't have the “login/register” friction. They'll be creating, rating and favouriting listings in no time!
We’ve even integrated with WooCommerce so that the <a href="http://www.woothemes.com/products/woocommerce-social-login/">Social Login by WooCommerce plugin</a> (Plugin sold separately) and the standard WooCommerce sign up process is fully supported.
<a class="button" href="http://themeforest.net/item/jobify-job-board-wordpress-theme/5247604?ref=Astoundify">How It Works</a>
<h3 class="ion-compose">2. Submit Your Listing</h3>
<img class="alignleft wp-image-694 size-full" src="https://testdrive.astoundify.com/listify/wp-content/uploads/sites/39/
@rali14
rali14 / content-single-resume.php
Created June 10, 2015 07:11
Fix missing argument.
<?php
/**
*
*/
global $post;
$skills = wp_get_object_terms( $post->ID, 'resume_skill', array( 'fields' => 'names' ) );
$education = get_post_meta( $post->ID, '_candidate_education', true );
$experience = get_post_meta( $post->ID, '_candidate_experience', true );