SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast stevenukas's Avatar
    Join Date
    Jul 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to modify child theme header

    I am using twenty eleven child theme. Removed header like this:
    PHP Code:
    function wptips_remove_header_images() {
    unregister_default_headers( array('wheel','shore','trolley','pine-cone','chessboard','lanterns','willow','hanoi')
    );
    }
    add_action'after_setup_theme''wptips_remove_header_images'11 );

    ?> 
    Now the question is how do I add my own slider. I wanna use flex slider so the options are:
    Via a WordPress hook:
    do_action(‘insert_flex_slider’);
    Via a ShortCode:
    [flexslider]

    I am not able to call/place that slider into the header in this site.
    Code:
    http://www.supersolarpanels.co.uk/
    Thanks

  2. #2
    SitePoint Enthusiast stevenukas's Avatar
    Join Date
    Jul 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Solved by changing to a different slider plugin wow slider which generates php code

    Code:
    <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2> 
    <?php wowslider(2); ?>


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •