WordPress.org

Forums

Preference Lite
[resolved] Inserting a Slider in the Showcase (9 posts)

  1. AimToChorus
    Member
    Posted 1 year ago #

    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 1200x400 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!

  2. StyledThemes
    Member
    Theme Author

    Posted 1 year ago #

    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: http://www.metaslider.com/documentation/

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

  3. AimToChorus
    Member
    Posted 1 year ago #

    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.

  4. StyledThemes
    Member
    Theme Author

    Posted 1 year ago #

    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.

  5. StyledThemes
    Member
    Theme Author

    Posted 1 year ago #

    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.

  6. AimToChorus
    Member
    Posted 1 year ago #

    Works now. Thanks!

  7. StyledThemes
    Member
    Theme Author

    Posted 1 year ago #

    You're very welcome :)

  8. AimToChorus
    Member
    Posted 1 year ago #

    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!

  9. StyledThemes
    Member
    Theme Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic