esc_html__( 'Main Menu', 'halloween' ) ) ); } add_action( 'wp_enqueue_scripts', 'halloween_load_scripts' ); function halloween_load_scripts() { wp_enqueue_style( 'halloween-style', get_stylesheet_uri() ); wp_enqueue_script( 'jquery' ); wp_register_script( 'halloween-videos', get_template_directory_uri() . '/js/videos.js' ); wp_enqueue_script( 'halloween-videos' ); wp_add_inline_script( 'halloween-videos', 'jQuery(document).ready(function($){$("#wrapper").vids();});' ); } add_action( 'wp_footer', 'halloween_footer_scripts' ); function halloween_footer_scripts() { ?> ...'; } } add_filter( 'excerpt_more', 'halloween_excerpt_read_more_link' ); function halloween_excerpt_read_more_link( $more ) { if ( ! is_admin() ) { global $post; return ' ...'; } } add_filter( 'intermediate_image_sizes_advanced', 'halloween_image_insert_override' ); function halloween_image_insert_override( $sizes ) { unset( $sizes['medium_large'] ); return $sizes; } add_action( 'widgets_init', 'halloween_widgets_init' ); function halloween_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Sidebar Widget Area', 'halloween' ), 'id' => 'primary-widget-area', 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', ) ); } add_action( 'wp_head', 'halloween_pingback_header' ); function halloween_pingback_header() { if ( is_singular() && pings_open() ) { printf( '' . "\n", esc_url( get_bloginfo( 'pingback_url' ) ) ); } } add_action( 'comment_form_before', 'halloween_enqueue_comment_reply_script' ); function halloween_enqueue_comment_reply_script() { if ( get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } function halloween_custom_pings( $comment ) { ?>
  • id="li-comment-">