|
@@ -156,21 +156,6 @@ if ( ! function_exists( 'pen_archive_title_override' ) ) {
|
|
add_filter( 'get_the_archive_title', 'pen_archive_title_override' );
|
|
add_filter( 'get_the_archive_title', 'pen_archive_title_override' );
|
|
}
|
|
}
|
|
|
|
|
|
-if ( ! function_exists( 'pen_pingback' ) ) {
|
|
|
|
- /**
|
|
|
|
- * Add a pingback URL auto-discovery header for singularly identifiable articles.
|
|
|
|
- *
|
|
|
|
- * @since Pen 1.0.0
|
|
|
|
- * @return void
|
|
|
|
- */
|
|
|
|
- function pen_pingback() {
|
|
|
|
- if ( is_singular() && pings_open() ) {
|
|
|
|
- echo '<link rel="pingback" href="' . esc_url( get_bloginfo( 'pingback_url' ) ) . '">';
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- add_action( 'wp_head', 'pen_pingback' );
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
if ( ! function_exists( 'pen_content_width' ) ) {
|
|
if ( ! function_exists( 'pen_content_width' ) ) {
|
|
/**
|
|
/**
|
|
* Set the content width in pixels, based on the theme's design and stylesheet.
|
|
* Set the content width in pixels, based on the theme's design and stylesheet.
|