This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function register_package_id_default_search_option( $options, $params ) { //We use this section of code (from line 2 to 12) to set up a function but not to use it | |
$options['package_id'] = array( //where package_id is the sorting option Identifier | |
'label' => 'Package ID', //This outputs to the user on the frontend in the FacetWP sorting options dropdown | |
'query_args' => array( //This is how you build a "search" in the SQL database for a specific argument or set of rules | |
'orderby' => 'meta_value_num', // this tells FacetWP that we're looking at the number value of the meta key defined on the next line | |
'meta_key' => '_package_id', // this is the identifier of the custom field we're sorting by | |
'order' => 'DESC', // this makes the highest number come first in results | |
) | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ----------------------------------------------------------------- | |
# .gitignore for WordPress | |
# Bare Minimum Git | |
# http://ironco.de/bare-minimum-git/ | |
# ver 20150227 | |
# | |
# This file is tailored for a WordPress project | |
# using the default directory structure | |
# | |
# This file specifies intentionally untracked files to ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
([Number of WordPress Instals "X"] * [Install Ram Requirement: 75mb]) + [Operating System Memory = 200mb] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ----------------------------------------------------------------- | |
# .gitignore for WordPress | |
# Bare Minimum Git | |
# http://ironco.de/bare-minimum-git/ | |
# ver 20150227 | |
# | |
# This file is tailored for a WordPress project | |
# using the default directory structure | |
# | |
# This file specifies intentionally untracked files to ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MapView extends Backbone.View | |
bounds: new google.maps.LatLngBounds() | |
infobubble: new InfoBubble( | |
backgroundClassName: 'map-marker-info', | |
borderRadius: 4, | |
padding: 15, | |
borderColor: '#ffffff', | |
shadowStyle: 0, | |
minHeight: 115, | |
maxHeight: 115, |