Skip to content

Instantly share code, notes, and snippets.

@rali14
rali14 / style.css
Created August 2, 2015 07:20
Center the contents of Popup
.mfp-content .popup {
text-align: center !important;
}
@rali14
rali14 / how-it-works.html
Created August 4, 2015 06:23
HTML of How It Works Page (Listify)
<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>
<br></br>
<h3 class="ion-compose">2. Submit Your Listing</h3>
@rali14
rali14 / author.php
Last active February 5, 2016 20:53
Select Nickname instead of First name on author.php (Listify)
<?php
/**
* The template for displaying Author pages.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package Listify
*/
// Only use this template if we have custom data to load.
if ( ! listify_has_integration( 'wp-job-manager' ) ) {
@rali14
rali14 / style.css
Created August 7, 2015 04:21
Remove columns from tags widget line them back to back (Listify)
.site-main .listify_widget_panel_listing_tags .tag {
width: auto !important;
margin-right: 10px;
}
@rali14
rali14 / functions.php
Created August 14, 2015 03:21
Display a post Specific URL only on listings with value
function custom_listify_single_job_listing_actions_after() {
global $post;
$url = get_post_meta( $post->ID, 'custom_URL', true );
if (!$url) {
return;
}
echo '<a href="' . esc_url( $url ) . '" class="button">My Button</a>';
}
add_filter( 'listify_single_job_listing_actions_after', 'custom_listify_single_job_listing_actions_after' );
@rali14
rali14 / style.css
Created August 16, 2015 09:06
Center header image/text on mobile devices on Listify
@media screen and (max-width: 480px) {
.site-branding {
text-align: center;
}
.site-title {
text-align: center;
}
.site-branding .custom-header {
margin-left: 0;
}
@rali14
rali14 / style.css
Created August 20, 2015 12:18
Change the colors of secondary menu: Listify
#site-navigation {
background-color: red;
}
.nav-menu a, .nav-menu li:before, .nav-menu li:after, .nav-menu a:before, .nav-menu a:after, .nav-menu ul a, .nav-menu.primary ul ul a, .nav-menu.primary ul ul li:before, .nav-menu.primary ul ul li:after {
color: black;
}
/* Below codes removes the secondary menu */
#site-navigation {
@rali14
rali14 / style.css
Created August 20, 2015 12:56
Center Pricing Packages (Listify)
​.page-template-template-plans-pricing .job-packages {
text-align: center;
}
@rali14
rali14 / style.css
Created August 22, 2015 15:40
Make single listing page full width with 1 column (Listify)
.single_job_listing #main {
width: 100%;
}
.single_job_listing #secondary {
display: none;
}
@rali14
rali14 / style.css
Created September 13, 2015 23:56
Jobify Footer color
.copyright {
background-color: blue;
color: red;
}
.site-footer a, {
color: red !important;
}