book-review-library
book-review-library copied to clipboard
Books listed by Genre page formatting
Hi! My books list page sorted by genre is formatting wonky. I can fix it, but it would help me to see which template or what-have-you is causing it to grab all the meta info and display it inline with the description of the book.
Screengrab attached.
Thanks!
Michelle
That's a weird issue I haven't seen before. Generally, what's happening is we're using the the_content
filter to insert the various bits of Book Review meta data (like reading level, genre, etc) at the bottom of the content. (Here's the filter: https://github.com/jazzsequence/book-review-library/blob/master/views/public.php#L46 and here's what it does: https://github.com/jazzsequence/book-review-library/blob/master/views/public.php#L119-L211) The times where I've seen weird stuff like that (not that issue specifically but similar-ish things) is when there's another plugin that's also filtering the_content
and the two things clash with each other.
If you look at the second link to the source code, you can see there's a lot of markup and ids/classes in there. Or there should be, at any rate. That's there so you can manipulate the appearance however you want with CSS. My suggestion would be to make sure (since I can't see the markup on your page) that those div
tags and elements are there, and have the right classes, and use CSS to fix up the appearance of your archive pages. This is as opposed to going through all your plugins (or your theme) to try to figure out what it is that's causing the issue (although you could do that, too). My guess is that in another theme, or with one of your plugins deactivated, it would look okay.
Hi! No joy on testing for a problem with another theme/plugin.
Also no span tags were inserted, so it's metadata that's getting inserted straight. I checked the plugins and the themes, but no luck. It's got to be in one of the excerpted styles because there's an ellipses at the end...
Thanks for checking and reporting the issue. I am currently trying to rewrite the entire plugin and also ultimately add unit tests, so I will get to it but it might take a while.