excalabyte
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [Pastacode] Add new Code LanguageFor anyone else the following needs to go in your functions
/** pastcode plugin */ add_filter( 'pastacode_langs', '_pastacode_langs' ); function _pastacode_langs( $langs ) { $langs['powershell'] = 'Powershell'; return $langs; } add_filter( 'pastacode_tinymcevars', '_pastacode_tinymcevars' ); function _pastacode_tinymcevars( $pvars ) { $pvars['scripts']['powershell']=get_template_directory_uri().'/js/powershell.js'; $array=array( 'libs' => array('powershell'), 'mode' => 'application/x-powershell', ); $pvars['language_mode']['powershell']=$array; return $pvars; } add_action('wp_enqueue_scripts', 'mytheme_scripts'); function mytheme_scripts() { wp_dequeue_script( 'prismjs' ); wp_deregister_script( 'prismjs' ); wp_enqueue_script( 'prismjs', get_template_directory_uri().'/js/prism.js', false,PASTACODE_VERSION, true ); }Along with prism.js and code library file (e.g. powershell.js ) in a js folder in your these
This guy fixed the issue here : http://getshopped.org/forums/topic/checkout-fields-have-br-tags/
Forum: Alpha/Beta/RC
In reply to: 3.1. RC2 not getting Page Templates on the theme folderAlso try deactivating the theme and reactivating
Forum: Fixing WordPress
In reply to: Template Broken In 3.1Also try deactivating the theme and reactivating
Found what might be causing this in most Themes
.entry-content input {
margin: 0 0 24px 0;
}Change to
.entry-content input {
margin: 0 0 0px 0;
}And change the rest of the CSS in the plugin , Thanks for the plugin Mike!
Viewing 5 replies - 1 through 5 (of 5 total)