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 27.10.2007 - 00:47
Post #1


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



zrobilem sobie theme: http://www.konradkolasa.yoyo.pl/prace/prl.jpg

Ale nie umiem go pociąć...

Pomożecie?
Go to the top of the page
 
+Quote Post
oloo
post 27.10.2007 - 06:46
Post #2


aktywność:
***

Grupa: +Bloger
Postów: 57

Nr: 954



Ja bym zrobic to tak jak na obrazku zalaczonym nizej
1. to by byl top, tam mialbyc w stylach top1 dla cytatow i top2 dla menu, (lepiej zrobic menu przy wykozystaniu czcionki nie napisu graficznego)
2. to oczywiscie pasek szerokosci strony, w stylach go sobie powtarzasz w pionie, problemem jest ten X czerwony (przy powtarzaniu)
3. foot - stopka
4. to pasek graficzny mozna go wrzucic np w znacznik h1 i zastosowac dla kazdego tematu.

tak cos na szybkiego napisalem



Ten post edytował oloo 28.10.2007 - 23:00
Go to the top of the page
 
+Quote Post
lataprl
post 27.10.2007 - 10:57
Post #3


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



Nie widać obrazka, jest blad.

X po srodku tez niew bedzie, top tylko zabezpieczenie wink.gif


wrzuc obrazek i wystumacz mi bardzej

1. to by byl top, tam mialbyc w stylach top1 dla cytatow i top2 dla menu, (lepiej zrobic menu przy wykozystaniu czcionki nie napisu graficznego)
2. to oczywiscie pasek szerokosci strony, w stylach go sobie powtarzasz w pionie, problemem jest ten X czerwony (przy powtarzaniu)

przypominam, jestem zielony w zabawie WordPress'em wink.gif
Go to the top of the page
 
+Quote Post
oloo
post 27.10.2007 - 17:34
Post #4


aktywność:
***

Grupa: +Bloger
Postów: 57

Nr: 954



nie widzisz zalaczonego pliku przeze mnie ?
tutaj nie ma praktycznie nic zabawy z wordpressa a raczej z css-a
Go to the top of the page
 
+Quote Post
b4it
post 28.10.2007 - 19:14
Post #5


aktywność:
*****

Grupa: Redakcja
Postów: 287

Nr: 60




Oloo, podałeś zły adres obrazka.


--------------------
b4it's log

4Avatars v0.2
Nie jestem darmowym, prywatnym pomocnikiem!
Go to the top of the page
 
+Quote Post
oloo
post 28.10.2007 - 23:01
Post #6


aktywność:
***

Grupa: +Bloger
Postów: 57

Nr: 954



sorki juz zedytowalem link
Go to the top of the page
 
+Quote Post
lataprl
post 02.11.2007 - 13:15
Post #7


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



wejdźcie na lata-prl.yoyo.pl , i nie wiem czemu nie wyświetla mi treści newsów i podstron??
Go to the top of the page
 
+Quote Post
oloo
post 02.11.2007 - 18:40
Post #8


aktywność:
***

Grupa: +Bloger
Postów: 57

Nr: 954



zapodaj kod strony
Go to the top of the page
 
+Quote Post
b4it
post 02.11.2007 - 20:23
Post #9


aktywność:
*****

Grupa: Redakcja
Postów: 287

Nr: 60



Zapewne brak the_content().


--------------------
b4it's log

4Avatars v0.2
Nie jestem darmowym, prywatnym pomocnikiem!
Go to the top of the page
 
+Quote Post
lataprl
post 02.11.2007 - 22:32
Post #10


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



CODE
<html>
<head>
<title>lay</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (lay.psd) -->
<table id="Table_01" width="780" height="850" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="780" height="188" colspan="2">
<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"></a></td>
</tr>
<tr>
<td background="<?php bloginfo('stylesheet_directory'); ?>/images/prl_02.gif" width="780" height="30" colspan="2">tutaj na zasadzie klikania w przezroczysty div, menu;)
</td>
</tr>
<tr>
<td background="<?php bloginfo('stylesheet_directory'); ?>/images/prl_03.gif" width="512" height="613">
<div class="post" id="post-<?php the_ID(); ?>">
<h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> ? <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
<div><?php the_content('Read the rest of this entry ?'); ?></div>
</td>
<td background="<?php bloginfo('stylesheet_directory'); ?>/images/prl_04.png" width="268" height="613"><div id=sidebar><?php wp_list_pages('title_li=' ); ?></div>
</td>
</tr>
<tr>
<td background="<?php bloginfo('stylesheet_directory'); ?>/images/prl_05.gif" width="780" height="19" colspan="2">
</td>
</tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>



pliki które mam w folderze thema:

- /images/
- index.php
- style.css

Ten post edytował Kasia79 03.11.2007 - 10:20
Powód edycji: dodanie codebox
Go to the top of the page
 
+Quote Post
Kasia79
post 03.11.2007 - 10:33
Post #11


aktywność:
*******

Grupa: Redakcja
Postów: 829

Nr: 2 641



Widzę, że poszedłeś na 'minimalne minimum'. Tylko index.php i style.css. Będziesz z tym miał mnóstwo kłopotów; zrób oddzielnie header.php, sidebar.php i footer.php. A jesli 'planujesz' dodawanie komentarzy to również comments.php i coments-popup.php. Tu znajdziesz świetne wprowadzenie (in English).

A treści nie ma i nie będzie dopóki nie wstawisz pętli!!! Najczęściej wygląda to mniej więcej tak: if (have_posts()) : while (have_posts()) : the_post();
O pętli szczegółowo będzie m.in. tutaj.

Przyczepię się, ale używanie tabelek w skórce WordPressa to profanacja. Po coś w końcu jest ten plik style.css.

To nie lata PRL-u i wszechobecna prowizorka! wink.gif

Kasia


--------------------
Curiosity killed the cat, but satisfaction brought her back.
Go to the top of the page
 
+Quote Post
oloo
post 03.11.2007 - 11:19
Post #12


aktywność:
***

Grupa: +Bloger
Postów: 57

Nr: 954



najlepiej wykorzystac domyslny theme w wp i przerob sobie go na wlasne potrzeby
Go to the top of the page
 
+Quote Post
lataprl
post 03.11.2007 - 23:08
Post #13


aktywność:
*

Grupa: Bloger
Postów: 19

Nr: 3 198



Troszkę udało mi się zrobić...

Ale zobaczcie sami: www.lata-prl.yoyo.pl

Na razie nie ma seansu zmieniać tabelek...

Nie wiem jak zrobić żeby tło się nie powtarzało, bo nie mogę zrobić tylko paska, ponieważ na dole mam inny wzór niż u góry.

Coś mi się źle newsy wyświetlają...

Kod:
CODE
<?php get_header(); ?>
<tr>
<td background="<?php bloginfo('stylesheet_directory'); ?>/images/prl_02.gif" width="780" height="30" colspan="2">tutaj na zasadzie klikania w przezroczysty div, menu;)
</td>
</tr>
<tr>
<td background="<?php bloginfo('stylesheet_directory'); ?>/images/prl_03.gif" width="512" height="613">
<?
if (have_posts()) :
while (have_posts()) :
?>
<div class="post" id="post-<?php the_ID(); ?>">
<h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
<div><?php the_content('Read the rest of this entry »'); ?></div>
<?
the_post();
the_content();
endwhile;
endif;?>
</td>
<td background="<?php bloginfo('stylesheet_directory'); ?>/images/prl_04.png" width="268" height="613"><?php get_sidebar(); ?>
</td>
</tr>
<tr>
<td background="<?php bloginfo('stylesheet_directory'); ?>/images/prl_05.gif" width="780" height="19" colspan="2">
</td>
</tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>


Ten post edytował Kasia79 04.11.2007 - 15:49
Powód edycji: wstawienie codebox
Go to the top of the page
 
+Quote Post
oloo
post 04.11.2007 - 11:20
Post #14


aktywność:
***

Grupa: +Bloger
Postów: 57

Nr: 954



widac ze nie sluchasz co sie proponuje tutaj smile.gif
popatrz na nr 2 proponowanego ciecia a zobacz jakie jest wielgachne to u Ciebie,

powtarzanie masz repeat-x lub y a nie powtarzac no-repeat.

tebelki to przeszlosc, wiec zacznij pracowac na stylach.
Go to the top of the page
 
+Quote Post
Kasia79
post 04.11.2007 - 15:46
Post #15


aktywność:
*******

Grupa: Redakcja
Postów: 829

Nr: 2 641



A posty źle ci się wyświetlają, bo czegoś nie doczytałeś... Konstrukcja
KOD
<? if (have_posts()) : while (have_posts()) : ?>
---ble-ble-ble---
<?php the_content('Read the rest of this entry »'); ?></div>
<? the_post();
the_content();
endwhile;
endif;?>
napewno nie będzie działać poprawnie...

Kasia


--------------------
Curiosity killed the cat, but satisfaction brought her back.
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: 21 08 08 - 06:44
Polski Blogger | Forum Komputerowe | Spotkania blogerów