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
{"d":{"__type":"CRMServiceWrapper.SharedLibraries.Results.RetrieveResult","RetrievedRecords":null,"Success":false,"ErrorMessage":"\r\nServer stack trace: \r\n at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)\r\n at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)\r\n at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)\r\n at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)\r\n at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)\r\n at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)\r\n at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage messag |
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
add_action( 'init', $n( 'post_types' ) ); | |
add_action( 'init', $n( 'rewrite_tags' ) ); | |
add_filter( 'post_type_link', $n( 'practice_post_type_link' ), 10, 3 ); | |
add_filter( 'post_type_link', $n( 'prescription_post_type_link' ), 10, 3 ); | |
function post_types() { | |
$labels = array( | |
'name' => _x( 'Prescription', 'Post Type General Name', 'ws' ), | |
'singular_name' => _x( 'Prescription', 'Post Type Singular Name', 'ws' ), | |
'menu_name' => __( 'Prescriptions', 'ws' ), |
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
# ----------------------------------------------------------------- | |
# .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 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
// display the top local, top unique and key varietals metaboxes in the admin area | |
public static function local_meta_box_display( $post, $metabox ) { | |
$prefix = $metabox['args']['name']; | |
$child_regions = hmc_get_child_regions(); | |
$current_regions = array(); | |
if ( get_the_terms( $post->ID, 'local_highlights' ) ) { | |
$current_regions = wp_list_pluck( get_the_terms( $post->ID, 'local_highlights' ), 'name' ); | |
} |
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
// make downloads hierarchical | |
function thesrpr_edd_make_hierarchical($download_args ) { | |
$download_args[] = array( | |
'hierarchical' => true | |
); | |
return $download_args; | |
} | |
add_filter( 'edd_download_post_type_args', 'thesrpr_edd_make_hierarchical' ); |
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 header("HTTP/1.1 301 Moved Temporarily"); header("Location: ".get_bloginfo('url')); exit(); ?> |