WordPress

Witaj Gościu ( Zaloguj | Rejestruj )

Każdy temat założony w ewidentnie złym dziale będzie usuwany! Proszę czytać opisy działów i regulamin!

2 Stron V  < 1 2  
Reply to this topicStart new topic
> [problem] jak ciąć themy?
lataprl
post 04.11.2007 - 19:35
Post #16


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



CYTAT
napewno nie będzie działać poprawnie...

To już zauważyłem wink.gif
Proszę was o zwykłą, ludzką pomoc...
Jakoś nie przemawia do mnie angielska dokumentacja...
Jak już zapewne zauważyliście tworze laya pod WP pierwszy raz wink.gif

Może napisalibyście mi w skrócie co ja mam po kolei robić?
Bo już się pogubiłem, tak wiecie punkt pod punktem wink.gif

CYTAT
popatrz na nr 2 proponowanego ciecia a zobacz jakie jest wielgachne to u Ciebie,


Zauważ że dół tego bloku jest inny niż góra wink.gif
Go to the top of the page
 
+Quote Post
west28
post 05.11.2007 - 07:28
Post #17


aktywność:
*******

Grupa: Redakcja
Postów: 886

Nr: 309



Echhh Polecam kurs html lub zaprzyjaźnionego informatyka. I nie mówię tego złośliwie. Tutaj nikt tego nie zrobi za Ciebie.


--------------------
Go to the top of the page
 
+Quote Post
lataprl
post 05.11.2007 - 22:53
Post #18


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



ej no bez przesady, html znam w 100% ...

ale nie znam struktury WP i nikt mi nie chce pomóc, sorry ale odesłanie do kursu html to żadna pomoc...
Go to the top of the page
 
+Quote Post
oloo
post 05.11.2007 - 23:41
Post #19


aktywność:
***

Grupa: +Bloger
Postów: 58

Nr: 954



to ja Cie odsylam do kursu css-a i sobie spokojnie poradzisz z wp.
Go to the top of the page
 
+Quote Post
lataprl
post 06.11.2007 - 17:31
Post #20


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



CSS też znam krzywy.gif Na tabelkach robie dlatego że chce poznać strukturę*. Bo jak zauważyłeś napisany on jest w PHP a nie w samym HTMLu i CSS wiec mi tu głupot nie opowiadaj że ja sobie mam jakiś śmieszny kurs przeczytać ok? Jeżeli znacie się na WP to moglibyście po prostu dać odpowiedź na pytania które zadaje wink.gif

Jak zrobic żeby prawidlowo wyswietlilo newsy?

A to tak przy okazji... Jak robicie laya na divach to macie czystą grafikę (nie pociętą!) na nią nakładacie DIVy czy macie w częściach i składacie z divów?

struktura - chodzi mi o pętle, funkcje z PHP etc.
Go to the top of the page
 
+Quote Post
Kasia79
post 06.11.2007 - 19:25
Post #21


aktywność:
*******

Grupa: Redakcja
Postów: 868

Nr: 2 641



"Jak zrobic żeby prawidlowo wyswietlilo newsy?"
Tak jak podpowiedział Ci oloo bierzesz defaultowy theme i patrzysz, co siedzi w index.php. A tam taka piekna, klasyczna pętla :
CODE
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
Taki wielki problem samemu tam zajrzeć?

WordPress z definicji jest systemem dynamicznym; jesli nie potniesz grafiki i nie 'zamkniesz' jej w div'ach, to przy każdej zmianie zawartości strony coś będzie się waliło.

Kasia


--------------------
Curiosity killed the cat, but satisfaction brought her back.
Go to the top of the page
 
+Quote Post
lataprl
post 06.11.2007 - 21:18
Post #22


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



A jescze takie pytanko:
Jak zrobić żeby tło sie nie sypało?

Tylko że nie może być to powtarzający się pasek bo zobaczenie że na dole inaczej wygląda niż na górze wink.gif

obrazek: http://www.lata-prl.yoyo.pl/wp-content/the...ages/prl_03.gif

P.S. W jakim pliku znajduje się pętla, bo chcę zmienić żeby tylko 1 posta wyświetlało?

Zrobię to jednak na tych DIV'ach wink.gif

Ten post edytował lataprl 06.11.2007 - 21:21
Go to the top of the page
 
+Quote Post
Kasia79
post 06.11.2007 - 23:08
Post #23


aktywność:
*******

Grupa: Redakcja
Postów: 868

Nr: 2 641



"nie może być to powtarzający się pasek"
- jedyna możliwość, to powtarzający się pasek; a jesli chcesz by ten czerwony fragment był tylko na górze, to możesz 'dodać' go jak dół nagłówka

"W jakim pliku znajduje się pętla"
- przeczytaj DOKŁADNIE mój poprzedni post angry.gif

Kasia


--------------------
Curiosity killed the cat, but satisfaction brought her back.
Go to the top of the page
 
+Quote Post
lataprl
post 06.11.2007 - 23:18
Post #24


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



CYTAT
patrzysz, co siedzi w index.php


Ale ja wiem gdzie jest pętla tylko chodzi mi o źródło tej pentli.

Bo chcę aby tylko 1 news pobierał, a przy okazji zrobił tło pod tytułem newsa, ta ramkę taką wink.gif

www.lata-prl.yoyo.pl <= widać efekty DIVowania
Go to the top of the page
 
+Quote Post
Kasia79
post 07.11.2007 - 10:26
Post #25


aktywność:
*******

Grupa: Redakcja
Postów: 868

Nr: 2 641



Pytanie o pętle nie dotyczy tematu tego wątku [jak ciąc themy?]
Poszukaj dokładnie na forum, ponieważ temat ten był omówiony i rozwiązany kilka razy.

Kasia


--------------------
Curiosity killed the cat, but satisfaction brought her back.
Go to the top of the page
 
+Quote Post
lataprl
post 10.11.2007 - 17:28
Post #26


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



Wejdźcie (www.lata-prl.yoyo.pl) i mam problem na Mozilla nie pokazuje stopki a na IE pokazuje ale nie ma całego bloku wypełnionego tłem.
Go to the top of the page
 
+Quote Post
lataprl
post 17.11.2007 - 15:27
Post #27


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



Wejdźcie (www.lata-prl.yoyo.pl).

Mam problem ponieważ na Mozilla nie pokazuje stopki a na IE pokazuje ale nie wypełnia do końca bloku tłem.

Co tam jest źle??
Go to the top of the page
 
+Quote Post
west28
post 18.11.2007 - 17:15
Post #28


aktywność:
*******

Grupa: Redakcja
Postów: 886

Nr: 309



CYTAT
A to tak przy okazji... Jak robicie laya na divach to macie czystą grafikę (nie pociętą!) na nią nakładacie DIVy czy macie w częściach i składacie z divów?

nigdy nie robi się strony na pełnej grafice smile.gif Nakładasz pocięte elementy na:
header.php
index.php
sidebar.php
footer.php
to jest tylko przykład dowolność kombinacji jest ograniczona tylko przez wyobraźnię...


--------------------
Go to the top of the page
 
+Quote Post
lataprl
post 11.12.2007 - 20:03
Post #29


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



header.php
KOD
<div id="ogolna">
    <div id="header" align="center">
                <a href="<?php echo get_option('home'); ?>" style="display: block"><img src="http://www.lata-prl.yoyo.pl/wp-content/themes/new/images/prl_01.gif" alt="" /></a>
    </div>


index.php
CODE
<?php get_header(); ?>
<div id="menu_gorne" style="background-image: url('<?php bloginfo('stylesheet_directory'); ?>/images/prl_002.gif');"></div>
<div id="blok" style="background-image: url('<?php bloginfo('stylesheet_directory'); ?>/images/prl_003.gif'); background-repeat: repeat-y;">

<div id="tresc">

<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>" >
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
<div class="entry" style="font-color: red">
<?php the_content('Read the rest of this entry ?'); ?>
</div>
<p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments ?', '1 Comment ?', '% Comments ?'); ?></p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('? Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries ?') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>

</div>

</div>
<div id="menu_boczne" style="background-image: url('<?php bloginfo('stylesheet_directory'); ?>/images/prl_004.png'); background-repeat: repeat-y;"><?php get_sidebar(); ?></div>
<div id="stopka" style="background-image: url('<?php bloginfo('stylesheet_directory'); ?>/images/prl_005.gif');"><?php get_sidebar(); ?></div>

</div>


to są moje pliki smile.gif

Pod IE wywala tekst po za tło :/

Poradźcie coś bo ja nie mogę crybaby.gif

Ten post edytował b4it 11.12.2007 - 23:35
Go to the top of the page
 
+Quote Post

2 Stron V  < 1 2
Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



Wersja Lo-Fi Aktualny czas: 7 10 08 - 02:33
Polski Blogger | Forum Komputerowe | Spotkania blogerów