View style.css
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
#rolltable-data-tables, .rolltable_tables { | |
display: flex; | |
flex-direction: row; | |
flex-wrap: wrap; | |
justify-content: space-around; | |
gap: 0.5em; | |
} | |
.rolltable_data_block { | |
flex: 0 0 45%; | |
min-width: 450px; |
View functions.php
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 | |
add_filter( 'ssp_bible_readings_url', 'my_bible_reading_url', 10, 4 ); | |
function my_bible_reading_url ( $url, $episode_id, $bible_reading, $version ) { | |
// Include logic here to modify the URL | |
return $url; | |
} |
View functions.php
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 | |
add_filter( 'ssp_bible_readings_version', 'my_bible_version', 10, 2 ); | |
function my_bible_version ( $version, $episode_id ) { | |
$version = 'NKJV'; // All available versions are listed here: https://www.biblegateway.com/versions/ | |
return $version; | |
} | |
?> |
View wordpress.sql
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
UPDATE wp_options SET option_value = replace(option_value, 'OLDURL', 'NEWURL') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'OLDURL','NEWURL'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'OLDURL', 'NEWURL'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value,'OLDURL','NEWURL'); |
View functions.php
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
/** | |
* Only show current vendor's media in the media library | |
* @param array $request Default request arguments | |
* @return array Modified request arguments | |
*/ | |
add_filter( 'request', 'pv_restrict_media_library', 10, 1 ); | |
function pv_restrict_media_library( $request = array() ) { | |
if( ! is_admin() ) { | |
return $request; |
View functions.php
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 | |
add_filter( 'ssp_speakers_plural_label', 'ssp_speakers_plural_label_custom' ); | |
function ssp_speakers_plural_label_custom ( $label ) { | |
return 'Guests'; | |
} | |
add_filter( 'ssp_speakers_single_label', 'ssp_speakers_single_label_custom' ); | |
function ssp_speakers_single_label_custom ( $label ) { | |
return 'Guest'; | |
} |
View functions.php
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 | |
add_action( 'add_meta_boxes', 'listing_image_add_metabox' ); | |
function listing_image_add_metabox () { | |
add_meta_box( 'listingimagediv', __( 'Listing Image', 'text-domain' ), 'listing_image_metabox', 'post', 'side', 'low'); | |
} | |
function listing_image_metabox ( $post ) { | |
global $content_width, $_wp_additional_image_sizes; | |
$image_id = get_post_meta( $post->ID, '_listing_image_id', true ); |
View seriously-simple-podcasting.conf
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
location ~* ^/podcast-download/ { | |
try_files $uri $uri/ | |
fastcgi_index /index.php; | |
include fastcgi_params; | |
fastcgi_pass 127.0.0.1:9000; | |
} | |
location ~* ^/podcast-player/ { | |
try_files $uri $uri/ | |
fastcgi_index /index.php; |
View functions.php
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
add_filter( 'ssp_show_audio_player', '__return_false' ); |
View functions.php
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
add_filter( 'ssp_episode_meta_details', 'ssp_series_title_in_meta', 10, 3 ); | |
function ssp_series_title_in_meta ( $meta, $episode_id, $context ) { | |
$series_title = get_the_term_list( $episode_id, 'series', 'Series: ', ', ' ); | |
$meta['series'] = $series_title; | |
return $meta; | |
} |
NewerOlder