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
{% import 'twig/macros.twig' as macros %} | |
{{ function( 'get_header' ) }} | |
<div id="primary" class="content-area"> | |
<div id="main" class="site-main" role="main"> | |
{% block content %}{% endblock %} | |
</div><!-- #main --> |
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
/* Style for header texts | |
* --------------------------------------- */ | |
h1{ | |
font-size: 5em; | |
font-family: arial,helvetica; | |
margin:0; | |
padding:0; | |
} | |
h2{ | |
font-size: 2em; |
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 | |
/** | |
* @package Bosco | |
*/ | |
if ( is_category() && function_exists('category_image_src')) { | |
$category_image = category_image_src( array( 'size' => 'full' ) , false ); | |
} else { | |
$category_image = ''; | |
} |
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: My Widget | |
Plugin URI: http://mydomain.com | |
Description: My first widget | |
Author: Me | |
Version: 1.0 | |
Author URI: http://mydomain.com | |
*/ |
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: Post Front Page | |
Plugin URI: http://premium.wpmudev.org | |
Description: Allows a post (not page) to become the front page of a WordPress site | |
Author: Chris Knowles | |
Version: 1.0 | |
Author URI: http://twitter.com/ChrisKnowles | |
*/ |
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: Link PDF Attachment | |
Plugin URI: http://premium.wpmudev.org | |
Description: Adds a link to the top of a WordPress post to the first PDF attachment | |
Author: Chris Knowles | |
Version: 1.0 | |
Author URI: http://twitter.com/ChrisKnowles | |
*/ |
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: Global Conditional Notification | |
Description: Provides global notifications with conditional content | |
Version: 1.0 | |
Author: Chris Knowles | |
Plugin URI: http:// | |
Author URI: http://premium.wpmudev.org/blog/author/chrisdknowles/ | |
Author: Bas Matthee |
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
jQuery(document).ready(function($){ | |
$(gestures.container).on('dbltap', function(){ | |
jQuery(location).attr('href', gestures.destination ); | |
} | |
).on('swipeleft', function() { |
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: Bulk Term Remover | |
Plugin URI: | |
Description: Remove tags or categories from multiple posts in the post list screen | |
Author: Chris Knowles based on plugin by Justin Stern. | |
Author URI: http://premium.wpmudev.org | |
Version: 0.1 | |
Original URL: http://www.foxrunsoftware.net/articles/wordpress/add-custom-bulk-action/ | |
Original Author: Justin Stern |
NewerOlder