- is a local setup needed?
- how does one setup for contributing?
- creating issues in the github repo?
- follow a template or just open an issue?
- what is a good pull request?
- is up to date with current master of the project?
- commit messages clean?
- PHPCS standards followed?
- should branches be used?
- should branch names be descriptive?
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 | |
// Get all the galleries in the current post | |
$galleries = get_post_galleries( get_the_ID(), false ); | |
// Count all the galleries | |
$total_gal = count( $galleries ); | |
/** | |
* count all the images | |
* @param array $array The array needed | |
* @return int returns the number of images in the post | |
*/ |
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( 'shortcode_atts_gallery', 'medium_size' ); | |
function medium_size( $attr ){ | |
$attr['size'] = 'medium'; | |
return $attr; | |
} |
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_action( 'customize_register', 'slug_customizer' ); | |
function slug_customizer( $customizer ){ | |
$sliders = array(); | |
if ( class_exists( 'Soliloquy_Lite' ) || class_exists( 'Soliloquy' ) ) | |
$sliders['soliloquy'] = 'Soliloquy'; | |
if ( class_exists( 'MetaSliderPlugin' ) ) | |
$sliders['metaslider'] = 'Meta Slider'; | |
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 if ( is_search() || is_front_page() ) : ?> | |
<div class="entry-summary"> | |
<?php the_excerpt(); ?> | |
</div><!-- .entry-summary --> | |
<?php else : ?> | |
<div class="entry-content"> | |
<?php | |
/* translators: %s: Name of current post */ | |
the_content( sprintf( | |
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), |
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 jc_get_styles(){ | |
$styles = array(); | |
$styles[0]["text"]='<span class="white">Black text on white </span>'; | |
$styles[0]["title"]='Click here to set Style 0'; | |
$styles[0]["sheet"]='style/white'; | |
$styles[1]["text"]='<span class="black">White text on black </span>'; |
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: Kalunder | |
Plugin URI: http://blog.josemcastaneda.comn | |
Description: Adds the shortcode kalunder so that you can display the WordPress calendar to any post, page or custom post type. | |
Author: Jose Castaneda | |
Version: 1.0.0 | |
Author URI: https://blog.josemcastaneda.com | |
*/ | |
add_shortcode( 'kalunder', 'jc_get_cal' ); |
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 lametheme_get_breadcrumbs() { | |
/* === OPTIONS === */ | |
$text['home'] = esc_html__( 'Home', 'lametheme' ); // text for the 'Home' link | |
$text['blog'] = esc_html__( 'Blog', 'lametheme' ); // text for the 'Blog' link | |
$text['category'] = esc_html__( 'Archive by Category "%s"', 'lametheme' ); // text for a category page | |
$text['search'] = esc_html__( 'Search Results for "%s" Query', 'lametheme' ); // text for a search results page | |
$text['tag'] = esc_html__( 'Posts Tagged "%s"', 'lametheme' ); // text for a tag page | |
$text['author'] = esc_html__( 'Articles Posted by %s', 'lametheme' ); // text for an author page |
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
#mep_0 { | |
width: 100%; | |
height: 30px; | |
} | |
#audio-post_id-1 { | |
width: 100%; | |
} | |
.mejs-offscreen { |
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
diff --git a/src/includes/class-healthcheck.php b/src/includes/class-healthcheck.php | |
index ff3f4ad..31204fb 100644 | |
--- a/src/includes/class-healthcheck.php | |
+++ b/src/includes/class-healthcheck.php | |
@@ -308,13 +308,16 @@ class HealthCheck { | |
</h1> | |
<?php | |
- $tabs = array( | |
+ /* |
OlderNewer