Now API serves the Tainacan thumbnail sizes
This commit is contained in:
parent
9f6c111f83
commit
f64fe8f4d6
|
@ -219,6 +219,9 @@ class Collection extends Entity {
|
||||||
'medium' => get_the_post_thumbnail_url( $this->get_id(), 'medium' ),
|
'medium' => get_the_post_thumbnail_url( $this->get_id(), 'medium' ),
|
||||||
'medium_large' => get_the_post_thumbnail_url( $this->get_id(), 'medium_large' ),
|
'medium_large' => get_the_post_thumbnail_url( $this->get_id(), 'medium_large' ),
|
||||||
'large' => get_the_post_thumbnail_url( $this->get_id(), 'large' ),
|
'large' => get_the_post_thumbnail_url( $this->get_id(), 'large' ),
|
||||||
|
'tainacan_small' => get_the_post_thumbnail_url( $this->get_id(), 'tainacan-small' ),
|
||||||
|
'tainacan_medium' => get_the_post_thumbnail_url( $this->get_id(), 'tainacan-medium' ),
|
||||||
|
'tainacan_medium_full' => get_the_post_thumbnail_url( $this->get_id(), 'tainacan-medium-full' ),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -135,6 +135,9 @@ class Item extends Entity {
|
||||||
'medium' => get_the_post_thumbnail_url( $this->get_id(), 'medium' ),
|
'medium' => get_the_post_thumbnail_url( $this->get_id(), 'medium' ),
|
||||||
'medium_large' => get_the_post_thumbnail_url( $this->get_id(), 'medium_large' ),
|
'medium_large' => get_the_post_thumbnail_url( $this->get_id(), 'medium_large' ),
|
||||||
'large' => get_the_post_thumbnail_url( $this->get_id(), 'large' ),
|
'large' => get_the_post_thumbnail_url( $this->get_id(), 'large' ),
|
||||||
|
'tainacan_small' => get_the_post_thumbnail_url( $this->get_id(), 'tainacan-small' ),
|
||||||
|
'tainacan_medium' => get_the_post_thumbnail_url( $this->get_id(), 'tainacan-medium' ),
|
||||||
|
'tainacan_medium_full' => get_the_post_thumbnail_url( $this->get_id(), 'tainacan-medium-full' ),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue