I’m in the process of building a custom archive page for the reviews and would like to add a thumbnail of the cover for the entries.
Trying to use the
\Rcno_Template_Tags::get_the_rcno_book_covermethod, I realised it doesn’t return the image size I asked for.
Looking at the code, I found the problem here:
esc_attr( $og_book_src ?: $book_src )will always return the original URL (
$og_book_src), not the custom size one (
- You must be logged in to reply to this topic.