Categories
Maid Booking

Shortcode attributes for Maid booking slider

List of Maid booking slider shortcode attributes, you can set:

  • change button text color as [maid_slider color=#72777c]
  • change button background color as [maid_slider bg=#46b450]
  • set slider maximum width as [maid_slider width=600px]

You can of course combine all those shortcode attributes for example as [maid_slider bg=#4aa400 color=#fff width=400px] which will limit your slider width to 400px with nice green button with white text.

Comment with suggestions what else we can add to this slider shortcode attributes.

Categories
Maid Booking

Add Maid booking slider in theme template

To add slider to your theme Template, Post or Page you need to use shortcode.

A shortcode is a WordPress-specific code that lets you do nifty things with very little effort.

If you want to use a short-code from maid booking plugin from within a template file of your WordPress theme instead of with the content of a Post/Page, you can invoke it with a special function:

<?php echo do_shortcode(“[maid_slider]“); ?>