Üdvözlök mindenkit
Egy gondal szeretnék hozzátok fordulni,és remélem itt segitséget kapok.
Készitettem egy wordpress oldalt egy ingyenes sablonal.Csak 2 kategoriára volt szükségem.
A kategoriákat beilesztettem a menüsorba,és ha külön a Képek kategoriára kattintok,nem jeleniti meg a képeket csak a téma cimét.
Mitöl lehet ez? Mert a föoldalon megjelenek a képek a posztokban,de ha külön kategoriaként akarom nézni öket akkor nem jelenek meg.
Valaki tudna erre választ és megoldást mondani?
Nagyon szépen köszönöm.
Üdv.Csaba
A kategóriában nem the_exceprt-el hívja meg a tartalmat, míg a kezdőlapont the_content -el?
juj,nekem ez egy kicsit magas kezdö vagyok még.Hol nézhetem meg,meik fájlban ezt a meghivást?
A wp-content/themes/sablonodneve/archives.php -ban.
Én nem találok ilyen bejegyzést az archives.php - ban
Itt van a php ban levö összes leirás,talán megkapja valaki a hibát :
Archive for the ‘’ Category
Posts Tagged ‘’
Archive for
Archive for
Archive for
Author Archive
Blog Archives
<div >
<h2 class="title" id="post-"><a href="" rel="bookmark" title="Permanent Link to ">
<img src="/images/date.png" /> <img src="/images/user.png" /> ID)) { ?> <img src="/images/edit.png" />
"alignleft post_thumbnail")); } ?>
<img src="/images/folder.png" /> Posted in <img src="/images/tag.png" /> <img src="/images/comments.png" />
<a class="readmore" href="" rel="bookmark" title="Permanent Link to ">Read More »
<?php else :
if ( is_category() ) { // If this is a category archive
printf("
Sorry, but there aren't any posts in the %s category yet.
", single_cat_title('',false));} else if ( is_date() ) { // If this is a date archive
echo("
Sorry, but there aren't any posts with this date.
");} else if ( is_author() ) { // If this is a category archive
$userdata = get_userdatabylogin(get_query_var('author_name'));
printf("
Sorry, but there aren't any posts by %s yet.
", $userdata->display_name);} else {
echo("
No posts found.
");}
get_search_form();
endif;
?>
Elöre is köszönöm szépen a segitséget!
Archive for the ‘’ Category
Posts Tagged ‘’
Archive for
Archive for
Archive for
Author Archive
Blog Archives
<div >
<h2 class="title" id="post-"><a href="" rel="bookmark" title="Permanent Link to ">
<img src="/images/date.png" /> <img src="/images/user.png" /> ID)) { ?> <img src="/images/edit.png" />
"alignleft post_thumbnail")); } ?>
<img src="/images/folder.png" /> Posted in <img src="/images/tag.png" /> <img src="/images/comments.png" />
<a class="readmore" href="" rel="bookmark" title="Permanent Link to ">Read More »
<?php else :
if ( is_category() ) { // If this is a category archive
printf("Sorry, but there aren't any posts in the %s category yet.
", single_cat_title('',false));
} else if ( is_date() ) { // If this is a date archive
echo("Sorry, but there aren't any posts with this date.
");
} else if ( is_author() ) { // If this is a category archive
$userdata = get_userdatabylogin(get_query_var('author_name'));
printf("Sorry, but there aren't any posts by %s yet.
", $userdata->display_name);
} else {
echo("No posts found.
");
}
get_search_form();
endif;
?>
Elöre is köszönöm szépen a segitséget!
Nem tudom, mit néztél, de ott van, ahogyan Dyska írta:
Blog Archives
<div >
<h2 class="title" id="post-"><a href="" rel="bookmark" title="Permanent Link to ">
<img src="/images/date.png" /> <img src="/images/user.png" /> ID)) { ?> <img src="/images/edit.png" />
"alignleft post_thumbnail")); } ?>
A záró div tag előtti sor.
Blog Archives
<div >
<h2 class="title" id="post-"><a href="" rel="bookmark" title="Permanent Link to ">
<img src="/images/date.png" /> <img src="/images/user.png" /> ID)) { ?> <img src="/images/edit.png" />
"alignleft post_thumbnail")); } ?>
A záró div tag előtti sor.
Jaj ctr+f kerestem és nem the_excerpt et hanem the_experpt et kerestem.
De must müködik minden,kicseréltem azt.Nagyon de nagyon szépen köszönöm a segitséget és remélem hogy ez a megoldás még sok másnak fog segiteni ezen a forumon!
Üdv.Csaba