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 | |
/** | |
* Enqueue scripts and styles. | |
*/ | |
function presentation_lite_parent_scripts() { | |
wp_enqueue_style( 'presentation-lite-parent-style', get_template_directory_uri() . '/style.css' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'presentation_lite_parent_scripts', 9 ); |
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 | |
/** | |
* The header for our theme. | |
* | |
* Displays all of the <head> section and everything up till <div id="content"> | |
* | |
* @package _s | |
*/ | |
?><!DOCTYPE html> | |
<html <?php language_attributes(); ?>> |
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 | |
add_action( 'wp_enqueue_scripts', 'grappler_scripts' ); | |
function grappler_scripts() { | |
wp_enqueue_style( 'grappler-style', get_template_directory_uri() . '/output/style.css' ); | |
if ( is_child_theme() ) { | |
wp_enqueue_style( 'grappler-child-style', get_stylesheet_uri() ); | |
} |
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 | |
/* | |
* Load parent theme translations | |
*/ | |
add_action( 'after_setup_theme', 'woo_load_textdomain', 10 ); | |
function woo_load_textdomain(){ | |
$locale = get_locale(); | |
$domain = 'woothemes'; |
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
== THEME REVIEW RESULTS == | |
== '''Required''' == | |
== '''Recommended''' == | |
== '''Notes''' == | |
== Review Summary == | |
== '''Required''' == | |
- Remove menu parameter from calls to wp_nav_menu(). Use only the theme_location parameter | |
- Please escape all settings on output. | |
- Function calls must be placed inside callbacks and hooked into appropriate actions or filters (such as after_setup_theme for Theme setup functions, or widgets_init for Widgets/dynamic sidebar functions) |
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 | |
the_content( | |
sprintf( | |
__( 'Continue reading%s', 'textdomain' ), | |
'<span class="screen-reader-text"> ' . get_the_title() . '</span>' | |
) | |
); | |
?> | |
<nav role="navigation" aria-label="<?php _e( 'Primary Navigation', 'textdomain' ); ?>"> |
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 | |
add_filter('responsive_number_footer_widgets', 'responsive_child_number_footer_widgets'); | |
function responsive_child_number_footer_widgets() { | |
$divider = '5'; | |
return $divider; | |
} |
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 | |
/** | |
* Plugin Name. | |
* | |
* @package Plugin_Name | |
* @author Your Name <[email protected]> | |
* @license GPL-2.0+ | |
* @link http://example.com | |
* @copyright 2014 Your Name or Company 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
<?php | |
function responsive_css() { | |
wp_dequeue_style( 'responsive-style' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'responsive_css' ); |
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
Sub HightlightAkkusativ() | |
' | |
' Hightlight Akkusativ | |
' | |
' | |
Dim range As range | |
Dim i As Long | |
Dim TargetList | |
TargetList = Array("Akkusativ", "bis", "durch", "entlang", "für", "gegen", "ohne", "um", "wider", "herum") ' put list of terms to find here |