wcfm-santa

A deal you can't resist! Get upto 25% Off on this entire cyber week.

CLAIM OFFER
00Day 17Hr 16Min 48Sec
wcfm-santa

Store list page no background images

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate Store list page no background images

Tagged: , , ,

Viewing 4 reply threads
  • Author
    Posts
    • #131065
      paul-8288
      Participant

      Hi, on store list page there no background images, see the attached screenshot.

      Im using smush and spoke to them about it and they installed WCFM and said the following

      “Hi Paul,

      I had a closer look at the plugin you are using and it seems that the shortcode used by it has it’s own way of loading images and as stated in the Background option for CDN, in order for CDN for backgrounds to work it needs to use default wp_attachment functionality:
      https://developer.wordpress.org/reference/functions/wp_get_attachment_image/

      Could you get in touch with WCFM devs and see how the background images are exactly are loaded and if it uses the default WP attachment functionality?”

      Can you confirm if the image background is using the get attachment hook.

      Thanks

      Attachments:
      You must be logged in to view attached files.
    • #131288

      Hello,

      In “Store List Banner” option from vendor’s settings Our WCFM plugin default WP-media library(WP media popup) is being opened here, and the default all WP attachment hooks of media are being called.
      If you provide us the page url, then we can check the issue what you have facing.

      Thanks.

    • #131426
      paul-8288
      Participant
      This reply has been marked as private.
    • #131428

      Hello,

      Yes, The background image loaded via “wp_get_attachment_url” function.
      $attachment_url = wp_get_attachment_url( $attachment_id );

      It seems like “smush” plugin issue. Please contact with their support.

      You can provide them the file path : “\wp-content\plugins\wc-frontend-manager\helpers\wcfm-core-functions.php”
      function name : wcfm_get_attachment_url()

      Thanks.

    • #131446
      paul-8288
      Participant
      This reply has been marked as private.
Viewing 4 reply threads
  • You must be logged in to reply to this topic.