• I am trying to add the Super Hero Slider via the functions file.

    I found what I need to add and where. I am trying this:
    add_action( 'primer_after_header', 'super_hero_slider' );

    the error I get is ‘You haven’t specified a valid slider ID.’

    The slider ID is 307, but I don’t know the proper way to add in the function

    please advise.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gareth

    (@catapult_themes)

    You should be able to specify your slider by using the Slider metafield on the page.

    I will check this out and get back to you.

    Thread Starter bruceg

    (@bruceg)

    Keep in mind I am trying to replace the banner which is coded into the template with the slider. This isn’t something I can add via the WYSIWIG page editor.

    Plugin Author Gareth

    (@catapult_themes)

    Do you want the same slider to appear on every page?

    Thread Starter bruceg

    (@bruceg)

    I found an alternate solution, thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘adding hero slider via functions – need to add slider ID’ is closed to new replies.