MetaSlider (above masthead)

Hello you wonderful SUPPORT TEAM at themeco …

so … after having way too many issues with the supplied plugins that come with x theme i.e. Layerslider, Soliquy and slider revolution … I have opted in for a more lightweight slider i.e. METASLIDER.

Sadly though, they do not add the ABOVE or BELOW masthead options in the posts, pages options.

Is there a simple code I can add to child theme functions.php that will add this (my homepage HERO banner) to above masthead please??

Home

Or any easier options?

Sorry but after 3 years of being a member with you I have only started having issues as of yesterday, so now need to get things sorted as clients wanting X theme and need my site to be tip top shape PRONTO.

I have searched the older forums, but the code supplied there no longer works (too many syntax errors) although tried everything, don’t want to break my theme.

please advise when you get a chance.

Many thanks
VP

Hi @colettedc7,

Thanks for writing in.

The link below is a great guide on how to achieve adding banner before the masthead.

Hope it helps.

Let us know how it goes.

Thanks.

Thank you Nico, but I am using x theme, not PRO

Hi @colettedc7

If you want to include the slider before anything else in your website, then that’s the code snippet you are looking for:

add_action('x_before_site_begin', 'header_banners', 10);

function header_banners () { 

	echo do_shortcode('[metaslider id="393"]');

} 

Just make sure to change the shortcode to your needs.

Thanks.

Thank you Alaa … will try this and update when I get the post formatting issue under control … wow, these latest upates have wasted me 3 days of work :frowning:

Hi @colettedc7,

There could be still more issues since it’s a 3rd party plugin. And we’ll be glad if we can get information about the issues you’re getting from layerslider, soluquy, and revolution slider :slight_smile: We could add them to our issue tracker.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.