WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] Add a slider above circles (11 posts)

  1. gspiliog
    Member
    Posted 11 months ago #

    How can I add a slider above circles. The slider is RoyalSlider and it uses shortcodes or the php line: <?php echo do_shortcode('[new_royalslider id="1"]'); ?>

    Using child.

  2. Andrew
    Forum Moderator
    Posted 11 months ago #

    The circles of the Home page?

  3. gspiliog
    Member
    Posted 11 months ago #

    Yes Andrew.

  4. Andrew
    Forum Moderator
    Posted 11 months ago #

    First create a Child Theme using these instructions: http://codex.wordpress.org/Child_Themes

  5. Andrew
    Forum Moderator
    Posted 11 months ago #

    Edited
    Then copy 'index.php' from the Spun theme and paste it into the Child Theme directory.

  6. gspiliog
    Member
    Posted 11 months ago #

    ok

  7. Andrew
    Forum Moderator
    Posted 11 months ago #

    In 'index.php' of your Child Theme enter your shortcode after this bit:

    <div id="primary" class="content-area">
      <div id="content" class="site-content" role="main">
       <?php if ( is_home() && ! is_paged() ) : ?>
        <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
       <?php endif; ?>

    Put your shortcode.

    For example:

    <div id="primary" class="content-area">
      <div id="content" class="site-content" role="main">
       <?php if ( is_home() && ! is_paged() ) : ?>
        <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
       <?php endif; ?>
       <?php echo do_shortcode('[new_royalslider id="1"]'); ?>
  8. gspiliog
    Member
    Posted 11 months ago #

    Thanks a lot for your superfast reply

  9. Dykarna
    Member
    Posted 11 months ago #

    There is no Child Theme for download?

  10. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

    No, you need to create one - see the link posted above.

  11. esmi
    Forum Moderator
    Posted 11 months ago #

    As per the Forum Welcome, please post your own topic.
    http://wordpress.org/support/theme/spun

    But you should be aware that most theme developers do not offer pre-made child themes. The general idea is that you can create a child theme yourself.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.