mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-22 17:23:55 +01:00
get_queried_object to the rescue for blog permalink
This commit is contained in:
parent
d2964a354b
commit
a595c141ba
@ -12,7 +12,7 @@ $description = '';
|
||||
$image = '';
|
||||
$title = '';
|
||||
$url = get_bloginfo('wpurl');
|
||||
$permalink = esc_url( get_permalink() );
|
||||
$permalink = esc_url( get_permalink(get_queried_object()->ID) );
|
||||
$twitter = '@ascribeio';
|
||||
|
||||
if ( has_post_thumbnail() ) {
|
||||
|
Loading…
Reference in New Issue
Block a user