Book covers not working
-
I started with version 1.3.1, which still had the option to add book covers, but that was not working. Now I’ve upgraded to 1.4.1 but now the option to add book covers is gone.
-
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 found this:
http://www.hackingethics.com/blog/2010/09/04/how-to-enable-featured-image-in-wordpress/I now have the box back, checking whether it is now functional.
Yep, it works! Thanks for the help.
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. π
<?php
/**
* 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(); ?>
<div class=”page-heading”>
<h1 class=”page-title”><?php the_title(); ?></h1>
<div class=”clear”></div>
</div>
<!–Start Page Content –>
<div class=”page-content-container”>
<div class=”page-content”>
<div class=”grid_16 alpha”>
<div class=”content-bar”>
<?php if (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<div class=”clear”></div>
<?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>
</div>
<div class=”grid_8 omega”>
<!–Start Sidebar–>
<?php get_sidebar(); ?>
<!–End Sidebar–>
</div>
</div>
</div>
</div>
</div>
</div>
<?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!
@ biAji:
Your post template would either besingle.php
(if you’re displaying a single post) orindex.php
(for all posts). Alternately, you can create your own template file just for book reviews by copying theindex.php
and then making changes to it in a new file namedarchive-book-review.php
. Then you’ll probably also want to create a unique template file for single reviews, which would besingle-book-review.php
.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)?
Thank you…I will give it a try. And sorry for not starting a new thread. Will do in the future.
- The topic ‘Book covers not working’ is closed to new replies.