This file contains hidden or 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
{ | |
"@context": { | |
"@vocab": "http://schema.org/" | |
}, | |
"@graph": [ | |
{ | |
"@id": "https://bayareaboatrentals.com", | |
"@type": "Organization", | |
"name": "Bay Area Boat Rentals", | |
"url" : "https://bayareaboatrental.com/", |
This file contains hidden or 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 | |
// If have flexible content rows | |
if (have_rows('layouts')) : | |
while (have_rows('layouts')) : the_row(); | |
$class = 'container'; | |
if (get_sub_field('background_color')) { | |
$class .= ' ' . get_sub_field('background_color'); | |
} |
This file contains hidden or 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 | |
// Taken from: | |
// https://premium.wpmudev.org/blog/add-links-wordpress-admin-bar-toolbar/ | |
// Notes added for posterity's sake | |
// Create function: this name add_toolbar_items will be used when we hook | |
// into the admin bar code after the function is defined | |
function add_toolbar_items($admin_bar){ | |
// Creates parent link | |
$admin_bar->add_menu( array( |
This file contains hidden or 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
.p-unreads_view__header { | |
background: #545454 !important; | |
color: #222 !important; | |
} | |
::-moz-placeholder { | |
color: #e6e6e6 !important; | |
filter: none; | |
opacity: 0.5; | |
} |
This file contains hidden or 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 | |
// Taken and modified from https://www.advancedcustomfields.com/resources/orde-posts-by-custom-fields/ | |
// Put here for posterity's sake as a bookmark of sorts | |
// Allows sorting by custom field value instead of default. | |
// This will allow client to be able to set the order of these goals/landing pages as they add more. | |
// Can be added to functions.php, or to custom template that gets called before your custom loop. | |
function my_pre_get_posts( $query ) { | |
// do not modify queries in the admin |
NewerOlder