• Resolved enterprising

    (@enterprising)


    Hi, the old shortcode on a site I have taken on to upgrade and maintain was simply [featured_products_slider autoplay_speed=’6000′ speed=’6000′] however it also apparently had quite a lot of formatting applied to it (see below)

    I have now updated the plugin on the site to the latest version and received a “deprecated” message on the front end for that shortcode.

    So I have changed to the following shortcode instead:

    [wcpscwc_pdt_slider slide_to_scroll=’4′ autoplay=’true’ autoplay_speed=’6000′ speed=’6000′ loop=’true’ slide_to_show=’4′]

    but I am still missing LOTS of formatting from the previous slider, which included:
    – a background image
    – more padding
    – smaller slider images
    – did not try to force all product images to be the same size or shape but retained their original proportions

    Please could you let me know where to find and change the settings (and/or code) to replicate what was there before? It’s really important that it looks the same!

    Many thanks in advance for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Thanks for reaching here…

    Please try our below shortcode.
    [wcpscwc_pdt_slider slide_to_scroll="4" autoplay="true" autoplay_speed="6000" speed="6000" loop="true" slide_to_show="4"]

    Note:- Please do not copy and paste the shortcode parameter because it causes the quote(“) issue. Please write manually.

    You are possible to share your website page link and please explain with a screenshot your requirement so we will check and solve.

    Thanks,

    Thread Starter enterprising

    (@enterprising)

    Hi thank you for the response, but I think that IS actually the shortcode I’m using (the only difference being quote types, but as I’m generating the shortcode through a PHP echo I reckon that’s taken care of). The background image, for example, was in the previous version of the plugin stored in a plugin folder and referred to in the plugin’s CSS. It doesn’t appear to be in the later versions, and I can’t see anywhere to define it. Similarly I can’t see a way of defining how the images are to display in the shortcode – whether to display the full image with a consistent width, for example? Nor to scale them within the slider (displaying 4 per page is fine but on the old slider they were much smaller, which is a look I’m keen to replicate). Is there, for example, a way to specify padding? Kind regards, Martin.

    Plugin Contributor Riddhi Shukla

    (@ridhimashukla)

    Hi @enterprising ,

    Thank you for your response…

    No worry about shortcode double quotes if you are managing in PHP code.

    I am not getting your background image related query. Are you adding image in content of slider?

    Can you explain with screenshot or share your website link?

    Let me know if anything.
    Thank You!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Migrating to new shortcode loses formatting’ is closed to new replies.