Skip to content

Instantly share code, notes, and snippets.

View FernandoSalinas33's full-sized avatar

Fernando Salinas FernandoSalinas33

View GitHub Profile
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="http://s17622.p165.sites.pressdns.com/dream-cone/xmlrpc.php">
.search_jobs > div.search_keywords {
display: none;
}
.search_jobs > div.search_location {
width: 100% !important;
}
.search_jobs > div.search_keywords {
display: none;
}
.search_jobs > div.search_location {
width: 100% !important;
}
<!DOCTYPE html>
<!--[if IE 8]>
<html xmlns="http://www.w3.org/1999/xhtml" class="ie8 wp-toolbar" lang="en-US">
<![endif]-->
<!--[if !(IE 8) ]><!-->
<html xmlns="http://www.w3.org/1999/xhtml" class="wp-toolbar" lang="en-US">
<!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
add_filter( "listify_listings_display_style_switcher", "__return_true" );
add_filter( 'submit_job_form_fields', 'custom_submit_job_form_fields' );
function custom_submit_job_form_fields( $fields ) {
$fields['job']['job_title']['label'] = "Quantity / Price ( Example - 6 Ethereum / 1500 USD )";
$fields['job']['job_location']['label'] = "Location ( Type City And Press Enter )";
$fields['job']['job_location']['required'] = true;
$fields['job']['job_description']['label'] = "Description - Enter YourTerms/Conditions for your ad (Example - /Bitcoin for cash / 5% markup floating price at time of meeting / only meet at Starbucks)";
// And return the modified fields
@FernandoSalinas33
FernandoSalinas33 / style.css
Created July 6, 2017 14:33
Make "Features" Widget into 4 Columns
@media screen and (min-width: 992px) {
[data-columns].home-features-wrapper:before { content: '4 .col-md-3' !important; }
.home-features-wrapper[data-columns="4"] { max-width: none; }
}
@media screen and (min-width: 992px) {
[data-columns].job-spotlights:before { content: '4 .col-md-3' !important; }
}
@FernandoSalinas33
FernandoSalinas33 / function.php
Created July 25, 2017 16:05
Hide Gallery Image field.
// Add your own function to filter the fields
add_filter( 'submit_job_form_fields', 'remove_listify_submit_job_form_fields', 9999 );
// This is your function which takes the fields, modifies them, and returns them
function remove_listify_submit_job_form_fields( $fields ) {
if( ! isset( $fields['job'] ) ) {
return $fields;
}
// If listing fields fields exist in Job array, remove them
@FernandoSalinas33
FernandoSalinas33 / style.css
Created July 26, 2017 16:36
Marketify Mobile Grid
@media screen and (min-width: 480px) {
.content-grid-download__entry-image:hover .content-grid-download__actions {
height: auto;
position: relative;
top: auto;
botttom: auto;
}
.content-grid-download__entry-image:hover .content-grid-download__overlay {
display: flex;