Skocz do zawartości
VenoxSkC

Witam problem WordPress Slaider

Polecane posty

Witam mam problem oto strona http://elektrowniefpa.pl / Problem juz widac na tej stronie http://elektrowniefpa.pl/dlaczego-oze/ BRAK zdjecia (szare tło) wie ktos gdzie w stylu znajde za to odpowiedzialny plik ?

 

Potrzebuje to zlikwidować ! http://scr.hu/4nl/iew9k

Quora.zip

Edytowano przez VenoxSkC (zobacz historię edycji)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Szary pasek poniżej menu to:

<header class="page-header">

Wystarczy przeszukać pliki i znaleźć gdzie znajduje się ten wpis, zakomentować i tyle.

 

 

 

 

Natomiast slider masz w tym:

<div id="wideslider" class="flexslider">

Nie znam tego konkretnego przypadku, ale nie ma przypadkiem ustawień slidera dla tematu w panelu? Często taka opcja występuje.

Jeśli nie, to będziesz musiał skopiować kod div-a do szablonu (pod)stron.

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Cała zawartosc pliku php .

/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package web2feel
* @since web2feel 1.0
*/
get_header(); ?>
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content .site-content -->
</div><!-- #primary .content-area -->
<?php get_footer(); ?>

<><><><><><><><><><><><><><><>
"po zmianie diva" na poniższy, nie ma efektu ( jak widać na stronie )
<div id="wideslider" class="flexslider">
<ul class="slides">
<?php $count = of_get_option('w2f_slide_number');
$slidecat =of_get_option('w2f_slide_categories');
$query = new WP_Query( array( 'cat' =>$slidecat,'posts_per_page' =>$count ) );
if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); ?>
<li>
<?php
$thumb = get_post_thumbnail_id();
$img_url = wp_get_attachment_url( $thumb,'full' ); //get full URL to image (use "large" or "medium" if the images too big)
$image = aq_resize( $img_url, 960, 400, true ); //resize & crop the image
?>
<?php if($image) : ?>
<a href="<?php the_permalink(); ?>"><img src="<?php echo $image ?>"/></a>
<?php endif; ?>
<div class="flex-caption">
<h2><?php the_title(); ?></h2>
</div>
<?php endwhile; endif; ?>
</li>
</ul>
</div>
Edytowano przez VenoxSkC (zobacz historię edycji)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Zaloguj się, aby skomentować

Będziesz mógł dodać komentarz po zalogowaniu się



Zaloguj się

×