Support » Fixing WordPress » How to attach slider to the header

  • Hi, I have an theme that uses the wp_get_attachment_image to draw image ftom the uploaded files and I want to attach there an slider wich is made from an plugin. Is there any way to make it real?

    • This topic was modified 7 months, 4 weeks ago by SonicxXx.
Viewing 1 replies (of 1 total)
  • @sonicxxx

    It could be done, but a cleaner approach will be to insert in the header.php of your child theme the code to display the slider.

    Below an example using the free version of Soliloquy:

    <?php if ( function_exists( 'soliloquy_slider' ) ) soliloquy_slider( 'XXX' ); ?>

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.