WP Featured Content Slider – problem z wstawieniem kodu
-
Witajcie, jestem nowy na forum także od razu mówię przepraszam jakbym coś „zrobił” nie tak.
Zainstalowałem sobie plugin WP Content Slideshow dzięki czemu mogę wstawiać do każdego postu miniaturę oraz dodać do strony slider. Wstawiłem kod do pliku header na samym dole i wszystko ładnie wyglądało jednak slider nie przypadł mi do gustu. Poszukałem dalej i znalazłem drugi plugin tego samego autora o nazwie WP Featured Content Slider. Od razu zainstalowałem zamieniłem poprzedni kod z nowym i teraz slider na mojej stronie wygląda tak jakby wypchnał ją całą na prawą stronę. Wygląda to mniej więcej tak: http://s16.postimage.org/6g5z8qh11/Duke_The_Show.png
Link do instalacji slidera: http://wordpress.org/extend/plugins/wp-featured-content-slider/installation/
Zawartość pliku header.php wraz z kodem slidera (na końcu)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Archiwum bloga <?php } ?> <?php wp_title(); ?></title> <link href="<?php bloginfo('template_url'); ?>/css/reset.css" rel="stylesheet" type="text/css" /> <link href="<?php bloginfo('template_url'); ?>/css/typo.css" rel="stylesheet" type="text/css" /> <link href="<?php bloginfo('template_url'); ?>/css/forms.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/favicon.png" type="image/x-icon" /> <!--[if IE]> <link href="<?php bloginfo('template_url'); ?>/css/ie.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="wp-content/themes/jupiter/js/iepngfix_tilebg.js"></script> <style type="text/css"> img, div, input, a, h2, h3, ul, li { behavior: url("wp-content/themes/jupiter/js/iepngfix.htc") } </style> <script type="text/javascript"> /* <![CDATA[ */ startList = function() { if (document.all&&document.getElementById) { navRoot = document.getElementById("nav"); for (i=0; i<navRoot.childNodes.length; i++) { node = navRoot.childNodes[i]; if (node.nodeName=="LI") { node.onmouseover=function() { this.className+=" over"; } node.onmouseout=function() { this.className=this.className.replace(" over", ""); } } } } } window.onload=startList; /* ]]> */ </script> <![endif]--> <script type="text/javascript"> /* <![CDATA[ */ function inputcheck(obj,mode){ if(mode=="focus"){ obj.value='' } } /* ]]> */ </script> <?php wp_get_archives('type=monthly&format=link'); ?> <?php wp_head(); ?> </head> <body> <div id="wrap"> <div class="inner_wrap"> <div class="header"> <a href="<?php bloginfo('url'); ?>" class="logo"><?php bloginfo('name'); ?></a> <div class="description"><?php bloginfo('description'); ?></div> <form method="get" class="search" id="searchform" action="<?php bloginfo('url'); ?>/"> <input class="seach_input" type="text" value="Szukaj" name="s" id="s" onfocus="javascript:inputcheck(this,'focus')" onblur="javascript:inputcheck(this,'blur')"/><input class="seach_submit" type="submit" value=" " /> </form> <a href="<?php bloginfo('rss2_url'); ?>" class="rss">RSS</a> <ul class="menu" id="nav"> <?php wp_list_pages('hide_empty=0&title_li='); ?> </ul> </div> <?php include (ABSPATH . '/wp-content/plugins/wp-featured-content-slider/content-slider.php'); ?><br>Jak mogę wyrównać to wszystko abym pod header miał normalnie ten slider, a dalej normalnie posty?
Temat ‘WP Featured Content Slider – problem z wstawieniem kodu’ jest zamknięty na nowe odpowiedzi.