slider in post

Asked on February 22, 2016 in Customization.


I need to add a slider to a post. I have followed:

I then wanted to add a hook as decsribed to
but I cannot find:

<article <?php layers_center_column_class(); ?>> in the file. Am I getting this all wrong?
Thank you
Chantal Layers User
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on March 7, 2016.

    Hi there,

    If you just want to add sliders to posts, use Layers Bootstrap Shortcodes extension or ShortCodes Ultimate or Master Slider or any other slider plugin that comes with a shortcode.
    If you want to enable an actual widget zone in single posts, you are going to have a major challenge, as you must instantiate the widget area for each post individually for it to load a special widget for each post. I am not able to assist with code examples for that endeavor, but perhaps someone else who figures it out will be willing to share here. If you want the same widget on all posts, then you need a child theme with a registered widget area that you then output using a hook like layers_before_single_post