• Resolved guytimes

    (@guytimes)


    Hello, I’m using Ultimate FAQ and having two problems.

    1. When a user searches my site, they see all the posts, with their associated thumbnail featured image. But the FAQs that also show up in search results, have a giant blank photo icon. How can I make that giant icon go away, or set a featured image for each faq?

    2. When a user searches my site, sometimes the ultimate FAQ breaks a URL. To demonstrate this problem (and the one above), go here: https://awesomedoodle.com/?s=shipping and you will see that the URL for the image (with the puppy in the crate), is a post, not a FAQ. If you click the puppy, you will get a 404 error, because the FAQ has broken it’s URL. Now, go here: https://awesomedoodle.com/?s=pickup You will see the URL to the same exact post shows up correctly.

    Thanks for your help. I have not paid the premium for the product yet. I don’t want to use the product if these items cannot be fixed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Guy,

    1. We didn’t include thumbnails (featured images) when we registered the custom post type, as they aren’t necessary. That giant icon is probably just the default image your theme displays when a post has no featured image. The way the theme should actually be coded is to only display an image if there is one, but that isn’t something we have control over. You could make it so your theme’s search results don’t display the featured image at all (using CSS to hide it, for example).

    2. Again, it’s actually the featured image in the results that’s causing this issue. If you right click and inspect that result, you’ll see the “post-thumbnail” div is the one with the messed up link and that, for some reason, it has a huge size that overlaps all of the text. This makes it so that, no matter where you click in the result, it brings you to the bad link. Using the console (inspect element), I tested hiding that “post-thumbnail” div (as suggested in my answer to question 1), which you could do with the following CSS:

    .post-thumbnail {
    display: none;
    }
    

    (Important to note that you may need to use more specific/targeted CSS than this, as maybe this will also hide the featured images in places other than the search results.)

    After doing this, the link worked fine and didn’t redirect to our FAQs or show a 404 error.

    I have no clue what kind of weird querying is going on or why the thumbnails are being given link URLs that belong to other search results, but you can either contact your theme developer, fix the theme code yourself, or just use CSS to hide the featured images from the search results.

    Thread Starter guytimes

    (@guytimes)

    Thanks for the prompt response. It sounds like you’re saying there is a problem with the theme showing the generic picture when there is no featured image. I don’t know how to modify the theme and I don’t want to hide my thumbnails. I will send an email to the theme developer.

    In the meantime, I’ll turn my faq back into posts.

    Thanks again for your time.

    Hi Guy,

    That’s the gist of it. If the theme developer could just make it so that, when a search result has no associated featured image, it displays no image, instead of that default/placeholder image, then everything would be fine (it should be programmed like this anyway).

    Thread Starter guytimes

    (@guytimes)

    I found the option in the theme to turn off the placeholder image! It works now. Woo hoo! Thanks to you for pointing me in the right direction. I’m going to go ahead and pay for the software now. Other than this glitch (which is solved now) I’ve very pleased with the way it works.

    I have bought other plugins as well and I have to say thank you for responding so quickly. Other authors are not so responsive.

    Tom

    Hi Tom,

    It’s our pleasure. Glad to hear you have it working as you need now!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bad links and featured image problem’ is closed to new replies.