We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following in header.php are plugin-territory items and should be removed:
header.php
<?php $post_description = kamoha_get_facebook_page_description(); ?> <?php if ( is_single() ) : ?> <?php $post_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'kamoha_medium' ); ?> <meta property="og:url" content="<?php echo post_permalink( $post->ID ); ?>" /> <meta property="og:title" content="<?php echo str_replace( "\"", "''", html_entity_decode( get_the_title( $post->ID ), ENT_QUOTES, "UTF-8" ) ); /* decode if for hyphen etc. replace is so quotes don't interrupt the content attribute */ ?>" /> <meta property="og:image" content="<?php echo $post_image_url[0]; ?>" /> <link rel="image_src" href=" <?php echo $post_image_url[0]; ?> "> <meta property="og:description" content="<?php echo htmlentities( $post_description, ENT_QUOTES, "UTF-8" ); ?>" /> <?php endif; ?> <meta name="description" content="<?php echo htmlentities( $post_description, ENT_QUOTES, "UTF-8" ); ?>">
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following in
header.php
are plugin-territory items and should be removed:The text was updated successfully, but these errors were encountered: