Pranešimas redaguotas 07:24 – 2010 02 03 1nf3rn0
Sveiki. Esu naujokas wordpress, pries tai dirbdavau su joomla. Esme tokia, as susikuriau sau templeita, gryn atskira, neimdamas jokiu kitu template gatavu ir perdarinedamas. Pas mane tokiu failu kaip sidebar.php header.php nera, viskas sukelta i index.php, o meniu importuojami iskart is duombazes.
Tad turiu tokia problema, man reikalinga foto galetija ir ivykiu kalendorius, tokius iskiepius radau, integravau, foto galerija dar dzin, susitaikiau, ismasciau kitaip, bet su ivykiu kalendorium esme tokia, kad nerodo kokie ivykiai bus ( http://wordpress.ancia.lt/?page_id=15 ), o ant kitu temu rodo. toks vaizdas kad su java kazkas blogai, bet patikrinau headeri, patikrinau pagal kitu temu kodus, viskas kaip ir gerai, viskas iskvieciama, paleidziama, bet neveikia :/.
Gal kas esate su tuom susidure? zinote ka daryt? prablaskiau googla pora dienu, bet visi tik themus redaguoja, niekas nauju nekuria
.
pakopinsiu savo index.php:
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
?>
<!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” <?php language_attributes(); ?>>
<head profile=”http://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>” />
<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<style type=”text/css” media=”screen”>
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<link rel=”pingback” href=”<?php bloginfo('pingback_url'); ?>” />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head>
<!–lenteliu stuktura–>
<body <?php body_class(); ?>>
<table width=”800″ height=”36″ border=”0″ align=”center” cellpadding=”0″ cellspacing=”0″>
<tr>
<td class=”header_up”><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”283″><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”15″> </td>
<td width=”60″><?php include 'laikrodis.php'; ?></td>
<td width=”20″> </td>
<td width=”188″><?php include 'diena.php'; ?></td>
</tr>
</table></td>
<td width=”517″><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”4%”> </td>
<td width=”54%”><?php include 'meniu_up_2.php'; ?></td>
<td width=”19%”> </td>
<td width=”23%”><?php include 'contact_meniu.php'; ?></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width=”800″ height=”212″ border=”0″ align=”center” cellpadding=”0″ cellspacing=”0″>
<tr valign=”top”>
<td class=”header”><table width=”100%” height=”195″ border=”0″ cellpadding=”0″ cellspacing=”0″>
<tr>
<td width=”283″> </td>
<td width=”284″> </td>
<td width=”233″><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”4%”> </td>
<td width=”94%”><?php include 'naujiena.php'; ?></td>
<td width=”2%”> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width=”800″ border=”0″ align=”center” cellpadding=”0″ cellspacing=”0″>
<tr valign=”top”>
<td width=”284″><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td class=”main_meniu_background”><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td><table width=”100%” height=”70″ border=”0″ cellpadding=”0″ cellspacing=”0″>
<tr valign=”top”>
<td class=”main_meniu_drawing”><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”7%”> </td>
<td width=”86%”><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td> </td>
</tr>
<tr>
<td><?php include 'meniu_kaire.php'; ?></td>
</tr>
</table>
</td>
<td width=”7%”> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width=”100%” height=”31″ border=”0″ cellpadding=”0″ cellspacing=”0″>
<tr>
<td class=”main_meniu_footer”> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td class=”main_meniu_background”><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td><table width=”100%” height=”70″ border=”0″ cellpadding=”0″ cellspacing=”0″>
<tr>
<td class=”main_meniu_drawing”><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”7%”> </td>
<td width=”86%”><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td> </td>
</tr>
<tr>
<td><?php include 'calendor.php'; ?></td>
</tr>
</table></td>
<td width=”7%”> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width=”100%” height=”31″ border=”0″ cellpadding=”0″ cellspacing=”0″>
<tr>
<td class=”main_meniu_footer”> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width=”100%” height=”83″ border=”0″ cellpadding=”0″ cellspacing=”0″>
<tr>
<td class=”copyright”> </td>
</tr>
</table></td>
</tr>
</table></td>
<td width=”516″><table width=”100%” height=”30″ border=”0″ cellpadding=”0″ cellspacing=”0″>
<tr>
<td><?php include 'meniu_up.php'; ?></td>
</tr>
</table>
<table width=”100%” height=”23″ border=”0″ cellpadding=”0″ cellspacing=”0″>
<tr>
<td class=”text_header”> </td>
</tr>
</table>
<table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”2%”> </td>
<td width=”96%”><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<h1><?php the_title(); ?></h1>
<h2>
<?php the_content('Read the rest of this entry »'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<?php endwhile; endif; ?>
<?php edit_post_link('<p class=”redagavimas”>Redaguoti straipsnį</p>'); ?>
<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
</h2>
</td>
<td width=”2%”> </td>
</tr>
</table>
<table width=”100%” height=”50″ border=”0″ cellpadding=”0″ cellspacing=”0″>
<tr>
<td class=”text_footer”><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”50%”> </td>
<td width=”49%”><table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td><?php include 'kontaktai.php'; ?></td>
</tr>
</table></td>
<td width=”1%”> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<?php wp_footer(); ?>
</body>
</html>
naudojamas pluginas http://www.kieranoshea.com/ Calendar