• andreasyeah

    (@andreasyeah)


    Hi everyone,

    I’m trying to enable the Featured Image box in the backend of my Listings. The feature itself is active in the database, as I was able to add featured images in my previous theme, and I can still see these thumbnails when I search some listings.
    https://www.carrozzieri-italiani.com/?s=Maserati+ghibli

    However, on the listing edit page in the backend, I no longer see the option or the box to add or update a featured image.

    Could anyone advise on how to make the Featured Image box visible again for Listings in the backend?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • ranjeetkaur

    (@ranjeetkaur)

    Hi @andreasyeah ,

    As you are using “Auto Listings” plugin and in this – Update featured image to the first image in the gallery. https://prnt.sc/Re_MwlWdbfz5

    Moderator bcworkz

    (@bcworkz)

    The built-in featured image box for custom posts is enabled when the post type is registered. We add “thumbnail” to the “supports” arg when registering the post type. Ideally the registration code should be altered to do so. It might be possible to manipulate the global $wp_post_types array if you’re unable to directly alter the registration code (unverified).

    It’s possible a theme or plugin has implemented a featured image method apart from the built-in WP method. In such a case you either need the original module responsible, or forensically examine the DB to discern how the related data is stored and reverse engineer a custom solution based on your findings.

    Thread Starter andreasyeah

    (@andreasyeah)

    Hi @ranjeetkaur
    thats not entirely true, when i take a look at the database you can clearly see that in the collumn “Image Featured”, some listings has the image link, those are the one created when i had the old theme (and where i added them in the backend), lets take as an example the Abarth 850 Scorpion:
    https://snipboard.io/RNJBsf.jpg

    By searching the listing on the search bar, in the search results you will actually see the image:
    https://www.carrozzieri-italiani.com/?s=Abarth+850+Scorpion
    while the other listing i have created in this theme don’t have any, as it is in the Image Featured collumn in the DB.

    So, the theme supports the Image Featured (because you can see them in the search results) but i cannot modify or add them. Is there is a way to enable the Image Featured box in the single listing backend?

    Moderator bcworkz

    (@bcworkz)

    The default WP featured image functionality does not use a “Image Featured” column in the DB. Such a column has apparently been implemented by your old theme. Thus it’s most likely a functionality that’s unique to that theme and support by other themes should not be expected. TBH, it’s rather surprising that the scheme even partially works on some content.

    To regain full functionality, I think you’d need to revert back to the old theme, or reverse engineer a custom solution as I suggested earlier. It sounds like you may only need the old theme to edit featured images. You can then switch back to your newer, preferred theme until you need to edit featured images again. A kludge to be sure, but a relatively simple solution.

    It’d be preferable if your site relied exclusively on the default WP featured image scheme. In theory it’d be possible to migrate from what you have now to the default scheme, but it’d involve some custom coding and data manipulation. Not an undertaking to be taken lightly, but a possibility none the less.

    It sounds like the Featured Image box might be hidden in the screen options of your listing edit page. To check and enable it again, follow these steps:

    1. Go to your listing edit page in the backend.
    2. Look for the ‘Screen Options’ button at the top right corner of the screen.
    3. Click on ‘Screen Options’, and a dropdown menu will appear with various checkboxes.
    4. Find the checkbox for ‘Featured Image’ and make sure it is checked.
    5. Once checked, the Featured Image box should reappear on the edit screen.

    If the ‘Featured Image’ option isn’t listed under Screen Options, it could be a theme or plugin conflict preventing it from displaying. Try disabling plugins one by one to identify if any are causing the issue, or switch briefly to a default WordPress theme to rule out a theme conflict. I also solve this problem with my website, you can see live here for further clarification.

    Hope that helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.