WordPress.org

Forums

WOW Slider
[resolved] how adding wowslider code to header (6 posts)

  1. flangar
    Member
    Posted 1 year ago #

    Hello, and sorry for my english,
    I have the problem, where i enter the wowslider code?
    this is my header.php

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php
    remove_action('wp_head', 'wp_generator');
    if (is_singular() && get_option('thread_comments')) {
    wp_enqueue_script('comment-reply');
    }
    wp_head();
    ?>
    </head>
    <body <?php body_class(); ?>>
    
    <div id="art-main">
    
    <?php if(theme_has_layout_part("header")) : ?>
    <header class="art-header<?php echo (theme_get_option('theme_header_clickable') ? ' clickable' : ''); ?>"><?php get_sidebar('header'); ?></header>
    <?php endif; ?>
    
    <div class="art-sheet clearfix">
    <div class="art-layout-wrapper">
    <div class="art-content-layout">
    <div class="art-content-layout-row">
    <?php get_sidebar(); ?>
    <div class="art-layout-cell art-content">

    my website. usatotrinauto.it

    Thank you for your help.

    http://wordpress.org/extend/plugins/wowslider/

  2. WOWSlider.com
    Member
    Plugin Author

    Posted 1 year ago #

    WOWSlider PHP code should be into the place where you want your slider to appear.

  3. flangar
    Member
    Posted 1 year ago #

    many thanks,
    i want it to appear in place of the header photo.

  4. WOWSlider.com
    Member
    Plugin Author

    Posted 1 year ago #

    Top part of your page (including menu and image) is generated by the following code:

    <?php if(theme_has_layout_part("header")) : ?>
    <header class="art-header<?php echo (theme_get_option('theme_header_clickable') ? ' clickable' : ''); ?>"><?php get_sidebar('header'); ?></header>
    <?php endif; ?>

    Image is added in your "style.css" file:
    http://usatotrinauto.it/wp-content/themes/Trinautosei/style.css

    by the following lines:

    .art-header
    {
       margin:0 auto;
       position:relative;
       height: 520px;
       background-image: url('images/header.png');
       background-position: center top;
       background-repeat: no-repeat;
    }

    So, you should edit "style.css" file too.

  5. flangar
    Member
    Posted 1 year ago #

    hello,
    i can not, before you purchase the license, can you tell me exactly where?

  6. WOWSlider.com
    Member
    Plugin Author

    Posted 1 year ago #

    Actually, we have replied already. We wrote you where header image is added in your code.
    If you need more detailed instruction, please contact with theme's developers and ask them what code adds a header image. Then replace this code on WOWSlider PHP code.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WOW Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.