Fix error on single funcions
This commit is contained in:
parent
5b0d9e6e69
commit
977a94e998
|
@ -100,6 +100,7 @@ function tainacan_social_meta() {
|
|||
$url_src = home_url( $wp->request );
|
||||
$excerpt = tainacan_get_the_collection_description();
|
||||
} else {
|
||||
$excerpt = tainacan_get_the_collection_description();
|
||||
$title = get_the_title();
|
||||
$img_info = ( has_post_thumbnail( $post->ID ) ) ? wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ) : $logo;
|
||||
$url_src = get_permalink();
|
||||
|
|
Loading…
Reference in New Issue