[Resolved] Book covers not working
I’m not sure why that would be happening. Nothing has changed as far as the covers/featured image goes. Are you adding books as an admin user?
Hi, didn’t expect you to react so fast 🙂
Yes, I’m an Administrator. The whole block in the edit interface that was previously present to add the book cover (featured image, if I remember correctly) has disappeared.
Could it be a problem in WordPress instead?
Check the screen options tab at the top of the page and see if the featured image blog is unchecked. If so, that’s your culprit.
That is probably the culprit. It is not there?
‘Show on screen’ only has: Author, Genre, Reading Level, Rating
I now have the box back, checking whether it is now functional.
Ah, you must’ve changed themes then. Forgot about that (since it’s been so long since I worked with a theme that didn’t support featured images). Glad you got it working. 🙂
* The template for displaying all pages.
* This is the template that displays all pages by default.
* Please note that this is the wordpress construct of pages
* and that other ‘pages’ on your wordpress site will use a
* different template.
<?php get_header(); ?>
<h1 class=”page-title”><?php the_title(); ?></h1>
<!–Start Page Content –>
<div class=”grid_16 alpha”>
<?php if (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php wp_link_pages(array(‘before’ => ‘<div class=”page-link”><span>’ . __(‘Pages:’, ‘black-bird’) . ‘</span>’, ‘after’ => ‘</div>’)); ?>
<?php endif; ?>
<!–Start Comment box–>
<?php comments_template(); ?>
<!–End Comment box–>
<div class=”grid_8 omega”>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
where should I make changes ?
@daxstec What are you trying to do? What you are showing me looks like a page template. The default template used to display book reviews would be the post template. Please explain your problem so I know what I’m looking at.
I got the same problem.
I use a very old theme which has no featured image support. And I add the php code as tjonkman1978 said. After that, in edit page, I can set the book cover, but in post view page, it still missing.
I can not find post template in theme’s scripts. Would you please point a way for me? Thanks!
Your post template would either be
single.php(if you’re displaying a single post) or
index.php(for all posts). Alternately, you can create your own template file just for book reviews by copying the
index.phpand then making changes to it in a new file named
archive-book-review.php. Then you’ll probably also want to create a unique template file for single reviews, which would be
Needless to say, you should be doing all of this in a child theme or else your modifications will be lost when you update the theme.
Or you could just switch to a theme that supports featured images.
Hi. I am having a problem with the size of the book covers as they appear on my home page. The first two are the same size and quite large. The third for some reason in a tiny thumb nail size. I have checked everywhere and can’t find the reason
@literaw1 This is an unrelated issue. Please next time you post an issue, start a new thread.
That’s a weird problem. What I suggest is install Regenerate Thumbnails, install that on your site and run it, then see if the issue persists. The images in the widget are supposed to be 35px by 35px and it’s not using the custom image size for those last two images for you. Maybe the top review was created with the plugin and the other two came originally from somewhere else (using images that had already been uploaded previously)?
- The topic ‘[Resolved] Book covers not working’ is closed to new replies.