plugin-name
README.md
assets
banner-772x250.png
screenshot-1.png
branches
tags
trunk
admin
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
<?php | |
sprintf( | |
/* Translators: Please login with your Flowplayer.org username and password. */ | |
__( 'Please %1$s with your %2$s username and password.', 'flowplayer5' ), | |
'<a href="' . esc_url( admin_url( 'edit.php?post_type=flowplayer5&page=flowplayer5_settings' ) ) . '">' . __( 'login', 'flowplayer5' ) . '</a>', | |
'<a href="' . esc_url( 'http://flowplayer.org/' ) . '">' . __( 'Flowplayer.org', 'flowplayer5' ) . '</a>' | |
) |
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 | |
// Dequeue parent theme responsive style and enqueue in the child theme | |
function cyberchimps_child_responsive_style() { | |
$directory_uri = get_stylesheet_directory_uri(); | |
if( cyberchimps_get_option( 'responsive_design', 'checked' ) ) { | |
wp_dequeue_style( 'cyberchimps_responsive' ); | |
wp_enqueue_style( 'cyberchimps_responsive', $directory_uri . '/cyberchimps-responsive.css', array( 'bootstrap-responsive-style', 'bootstrap-style' ), '1.0' ); | |
} | |
else { |
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 | |
public function enqueue_scripts() { | |
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; | |
wp_enqueue_script( $this->plugin_slug . '-plugin-script', plugins_url( 'assets/js/public' . $suffix . '.js', __FILE__ ), array( 'jquery' ), self::VERSION ); | |
} |
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 | |
/** | |
* Plugin Name. | |
* | |
* @package Plugin_Name | |
* @author Your Name <email@example.com> | |
* @license GPL-2.0+ | |
* @link http://example.com | |
* @copyright 2014 Your Name or Company Name | |
*/ |
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
function persia_functions_js(){ | |
wp_enqueue_style('font-awesome', get_template_directory_uri().'/fonts/font-awesome/css/font-awesome.css'); | |
wp_enqueue_style('persia-style', get_stylesheet_uri(), array(), '20140322' ); | |
if ( is_rtl() ) { | |
wp_enqueue_style( 'ResponsiveMultiLevelMenucss', get_template_directory_uri() .'/js/ResponsiveMultiLevelMenu/css/component-rtl.css'); | |
} else { | |
wp_enqueue_style( 'ResponsiveMultiLevelMenucss', get_template_directory_uri() .'/js/ResponsiveMultiLevelMenu/css/component.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
<?php | |
// Original hardcoded text | |
echo 'Click <a href="'. esc_url( get_permalink() ) . '">here</a> to go and watch the video.'; | |
// Option 1 | |
printf( | |
__( 'Click <a href="%s">Here</a> to go and watch the video.', 'text-domain' ), | |
esc_url( get_permalink() ) | |
); |
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 wptavern_enqueue_styles() { | |
wp_enqueue_style('wptavern-google-fonts', '//fonts.googleapis.com/css?family=Copse'); | |
} | |
add_action( 'wp_enqueue_scripts', 'wptavern_enqueue_styles' ); |
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
<div style="width: 100%; margin: 0px; padding: 0px; text-align: right; background-color:#FFFFFF;"> | |
<img src="http://fahrplan.sbb.ch/img/igm-sbblogo.gif" width="110" height="18" alt="SBB|CFF|FFS" /> | |
<h1 style="width: 100%; background-color: #DDDDDD; color: #000000; font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight: bold; padding: 2px 0px; margin: 0; height: 15px; text-align: left;clear:both;"> Timetable</h1> | |
<div style="width: 100%; background-color: #F8F8F8; margin: 0; padding: 0px;" summary="Layout"> | |
<form action="http://fahrplan.sbb.ch/bin/query.exe/en?externalCall=yes&DCSext.wt_fp_request=partner_mini" name="formular" method="post" style="display:inline" target="_blank"> | |
<input type="hidden" name="queryPageDisplayed" value="yes"> | |
<table cellspacing="0" cellpadding="4" style="width: 100%; margin: 2px;" class="ig"> | |
<tr> |
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
/*! Responsive JS Library v1.2.2 */ | |
; | |
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */ | |
; | |
/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */ | |
;window.matchMedia=window.matchMedia||(function(doc,undefined){var bool,docElem=doc.documentElement,refNode=docElem.firstElementChild||docElem.firstChild,fakeBody=doc.createElement("body"),div=doc.createElement("div");div.id="mq-test-1";div.style.cssText="position:absolute;top:-100em";fakeBody.style.background="none";fakeBody.appendChild(div);return function(q){div.innerHTML='­<style media="'+q+'"> #mq-test-1 { width: 42px; }</style>';docElem.insertBefore(fakeBody,refNode);bool=div.offsetWidth==42;docElem.removeChild(fakeBody);return{matches:bool,media:q}}})(document); | |
/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */ | |
(function(win){ |
OlderNewer