I am trying to limit the post excerpt, as when sharing with google + page, the share button is cut off the page.
If I can limit or remove the exceprt the share button would be displayed rather than be cut off.
Below is the code from my header.php and I’m guessing this is what displays the excerpt when sharing?
<meta property="og:description" content="<?php echo strip_tags(get_the_excerpt ($post->ID)); ?>" />
For an example check here when click google + you can see what I mean
- The topic ‘Post ONLY title and link (and NOT excerpt) in Google page’ is closed to new replies.