Support » Theme: Preference Lite » Inserting a Slider in the Showcase

  • Resolved AimToChorus


    Hi! First off, your theme is awesome.

    I’ve been helping a friend completely redesign her photography website. I’d like to add a slider into the header showcase area, my images are currently 1200×400 pixels. I downloaded this cool plugin called Meta Slider and the Advanced Text widget you recommended. I made a couple of slides as a test and added the php code in the advanced text widget in the showcase bar widget area. Unfortunately the slider does not show up.

    I’ve been doing some research and Meta Slider says I may need to enter the slider php code directly into the editor. Do you know exactly which line I should put it? Or do you think there might be another issue?

    I know the very basics of code, but I don’t want to insert it and completely screw everything up.

    Any help is much appreciated. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author Styled Themes


    Greetings! I’m just about to call it a night (1am now) but thought I would follow up here first.

    Thank you for your awesome comment, by the way.
    As for your issue at hand, what was the code you put into the widget? It looks like they have shortcode to insert into a page, post, or text widget. Their documentation example is:

    [metaslider id=123]

    Their documentation is here:

    Check out their info and see if the above works…but the shortcode should be ok for you.

    Here’s the code I put in the widget:
    <?php echo do_shortcode(“[metaslider id=349]”); ?>

    I tried putting the short code in as well with the same results.

    I’m about to call it a night as well (also 1am) but I will do some digging tomorrow and see what I can find. I do have another unrelated question about the galleries that I’ll post in a second forum for easy labeling.

    Theme Author Styled Themes


    I will try this slider out tomorrow morning and see what happens for me. Try the shortcode in a standard text widget instead of the advanced text widget and see what happens.

    Theme Author Styled Themes


    This morning I installed the meta slider and was able to get this to load in the Showcase widget area. I setup just 3 slides and added the shortcode it gives you (in the lower right settings of it) into a text widget.

    Interesting slider…I may do some custom styling for it on my next theme.

    Works now. Thanks!

    Theme Author Styled Themes


    You’re very welcome 🙂

    Actually quick question. Do you know how to only get the showcase to show on just the front page? Mine is showing on all the pages. Thanks!

    Theme Author Styled Themes


    With the Advanced Text widget you can set it to the Front Page, otherwise the other plugin I use to manage where widgets are shown is called Dynamic Widgets.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Inserting a Slider in the Showcase’ is closed to new replies.