Odpowiedź forum utworzona

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kropka77

    (@kropka77)

    Ok, już wiem. Trzeba było podać bardziej dokładny adres ftp.

    Thread Starter kropka77

    (@kropka77)

    85 /** Absolute path to the WordPress directory. */
    86 if ( !defined(’ABSPATH’) )
    87 define(’ABSPATH’, dirname(__FILE__) . '/’);
    88
    89 /** Sets up WordPress vars and included files. */
    90 require_once(ABSPATH . 'wp-settings.php’);
    91

    jakoś tak.nic tam niby nie ma ale gdy przejadę tam klawiszem backspace, błąd przechodzi na linie numer 90.

    Thread Starter kropka77

    (@kropka77)

    Działa! Bardzo dziękuje za pomoc.

    Thread Starter kropka77

    (@kropka77)

    Dziękuje za odpowiedź. Tak wygląda

    1.index.php

    <?php get_header(); ?>
    <?php get_sidebar(); ?>

    <div id=”maincolumn”>

    <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2>” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_title(); ?></h2>
    <div class=”entry”>

    <?php the_content(’Czytaj dalej…’); ?>

    <!– <?php trackback_rdf(); ?> –>

    </div>
    <div class=”postmetadata”>
    <div class=”posttextdata”><!–Kategoria: <?php the_category(’, ’) ?> –>
    <?php edit_post_link(’Edytuj wpis.’,”,”); ?>
    <?php the_tags(”, ’, ’, ”); ?></div>
    <div class=”commentdata”><?php comments_popup_link; ?></div>
    <img src=”wp-content/themes/Blossom/images/divider.jpg”></div>
    </div>

    <?php endwhile; ?>

    <?php include (TEMPLATEPATH . '/browse.php’); ?>

    <?php else : ?>

    <div class=”post”>
    <h2>Nie znaleziono</h2>
    <div class=”entry”>
    <p>Niestety, nie ma tutaj tego, co szukasz.</p>
    </div>
    </div>

    <?php endif; ?>

    </div>

    <?php include (TEMPLATEPATH . '/rightcolumn.php’); ?>
    <?php get_footer(); ?>

    2.single.php

    <?php get_header(); ?>
    <?php get_sidebar(); ?>

    <div id=”maincolumn”>

    <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

    <div class=”post”>
    <h2>” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_title(); ?></h2>
    <div class=”entry”>
    <?php the_content(’Czytaj dalej…’); ?>
    <?php link_pages('<p>Strony: ’, '</p>’, 'number’); ?>
    <!– <?php trackback_rdf(); ?> –>
    </div>
    <div class=”postmetadata”>

    <div style=”text-align:center”><?php comments_rss_link(’RSS 2.0′); ?> | <?php if ((’open’ == $post-> comment_status) && (’open’ == $post->ping_status)) {
    // Both Comments and Pings are open ?>
    ” rel=”trackback”>Trackback.

    <?php } elseif (!(’open’ == $post-> comment_status) && (’open’ == $post->ping_status)) { // Only Pings are Open ?>
    Komentarze są ale możesz wysłać sygnał ” rel=”trackback”>trackback ze swojego bloga.

    <?php } elseif ((’open’ == $post-> comment_status) && !(’open’ == $post->ping_status)) { // Comments are open, Pings are not ?>
    Przejdź na koniec strony, jeśli chcesz zostawić komentarz. Pingowanie jest wyłączone.

    <?php } elseif (!(’open’ == $post-> comment_status) && !(’open’ == $post->ping_status)) { // Neither Comments, nor Pings are open ?>
    Komentowanie i pingowanie zostały wyłączone.

    <?php } edit_post_link(’| Edytuj wpis.’,”,”); ?></div>

    </div>

    </div>

    <?php endwhile; ?>

    <?php include (TEMPLATEPATH . '/browse.php’); ?>

    <?php else : ?>

    <div class=”post”>
    <h2>Nie znaleziono</h2>
    <div class=”entry”>
    <p>Niestety, nie ma tutaj tego, co szukasz.</p>
    </div>
    </div>

    <?php endif; ?>

    </div>

    <?php get_footer(); ?>

    3.page.php

    <?php get_header(); ?>
    <?php get_sidebar(); ?>

    <div id=”maincolumn”>

    <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2>” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_title(); ?></h2>
    <div class=”entry”>
    <?php the_content(); ?>
    <?php link_pages('<p>Strony: ’, '</p>’, 'number’); ?>

    <?php edit_post_link(’Edytuj stronę.’,'<p>’,'</p>’); ?>

    <!– <?php trackback_rdf(); ?> –>

    </div>

    <
    </div>

    <?php endwhile; ?>

    <?php else : ?>

    <div class=”post”>
    <h2>Nie znaleziono</h2>
    <div class=”entry”>
    <p>Niestety, nie ma tutaj tego, co szukasz.</p>
    </div>
    </div>

    <?php endif; ?>

    </div>

    <?php include (TEMPLATEPATH . '/rightcolumn.php’); ?>
    <?php get_footer(); ?>

    4. style.css

    /*
    Theme Name: Spring Blossom
    Theme URI: http://lacy.obeyingthetruth.com/blog/theme-portfolio/blossom/
    Version: 1.1
    Description: Light green and blues with a Springy look and feeling.
    Author: A Godly Maiden
    Author URI: http://lacy.obeyingthetruth.com/blog
    Tags: green, blue, two-columns, left-sidebar, seasonal, tan, white

    */

    body, h1, h2, h3, h4, h5, h6, address, blockquote, dd, dl, hr, p, form{
    margin: 0;
    padding: 0;
    }

    body{
    font-family: Arial, Helvetica, Georgia, Sans-Serif;
    font-size: 12px;
    text-align: center;
    vertical-align: top;
    background:#e3e3e3;
    margin-top: 20px;
    margin-bottom: 20px;

    }
    .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    .alignleft {
    float: left;
    }

    .alignright {
    float: right;
    }
    .wp-caption {
    /*border: 1px solid #ddd;*/
    text-align: center;
    background-color: #ffffff;
    padding-top: 4px;
    margin: 101px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    }

    .wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
    }

    .wp-caption-dd {
    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
    }

    h1{
    padding: 10px;
    font-size: 24px;
    font-family: „Times New Roman”, Georgia, Sans-Serif;
    font-weight: normal;
    color: #bfa604;

    }

    #headerimg {
    background: url(images/header.jpg);
    height:258px;
    }
    .headertxt {
    padding: 10px;
    padding-top: 40px;
    margin-right: 15px;
    font-size: 40px;
    font-family: Georgia, Verdana, „Times New Roman”;
    font-weight: normal;
    color: #6e2707;
    text-align: left;
    }
    .headertxt a{
    color: #6e2707;
    text-decoration: none;
    font-weight: normal;
    }
    .headertxt a:hover{
    color: #b5420f;
    font-weight: normal;
    text-decoration: none;
    }

    h1 a{
    font-weight: normal;
    color: #bfa604;
    text-decoration: none;
    text-transform:uppercase;
    }

    h3{
    font-size: 14px;

    }

    a{
    text-decoration: none;
    color: #496db7;
    }

    a:hover{
    text-decoration: none;
    font-weight: bold;
    color:#60A020;
    }

    a img{border: 0;}

    address, dl, p{
    padding: 10px 0 0;
    }

    blockquote{
    margin: 10px 0 0 18px;
    background: #ededff;
    border-left: 3px solid #C0A0A0;
    /*border-right: 3px solid #74A647;*/
    }

    blockquote p{
    padding: 3px;
    padding-left: 10px;
    }

    blockquote blockquote{
    margin: 10px;
    background: #e9d6cb;
    }

    code{

    }

    dt{ font-weight: bold; }

    dd{ padding: 0 0 0 10px; }

    hr{
    clear: both;
    margin: 10px 10px 5px;
    border: 0;
    height: 1px;
    text-align: left;
    background: #fff;
    color: #9b9b9b;
    }

    input, textarea{
    font-family: Arial, Helvetica, Georgia, Sans-Serif;
    font-size: 12px;
    padding: 2px;
    }

    input#s, input#author, input#email, input#url, textarea#comment{
    padding: 3px;
    }

    input#author, input#email, input#url{
    margin: 0 5px 0 0;
    }

    pre{
    width: 90%;
    }

    small{
    font-size: 11px;
    }

    .topmenu{

    border-left: 0;
    text-align: left;
    border-right: 0;
    margin: 0px 0 10px 0;
    background: #ededed;
    color: #000000;
    height:30px;
    /*background: url(images/menu.jpg) repeat-x;*/
    }
    .topmenu_home {
    float: left;
    }

    .topmenu ul{
    margin: 0;
    padding: 10px;
    padding-top: 7px;
    list-style-type: none;
    color:#f8b4cb;
    }
    .topmenu ul a{
    font-weight: bold;
    font-size: 15px;
    color:#9B3618;

    }

    .topmenu ul a:hover{
    font-weight: bold;
    color:#633969;
    }

    .topmenu ul li{
    display: inline;
    margin: 20px 20px 0 0;
    padding-bottom: 0px;
    }

    #container{
    margin: 0 auto;
    width: 850px;
    text-align: left;
    vertical-align: top;
    background: #ffffff;
    color: #000000;

    }

    #page{
    padding: 0px;
    border: px solid #78897F;

    }

    #maincolumn{
    float: left;
    width: 845px;
    margin-left: 0px;
    margin-top: 0px;
    line-height: 22px;
    }

    .post{

    margin: 0 0 10px 0;
    padding: 0 0 0 0;

    }
    .post a{
    text-decoration: none;
    font-weight: bold;
    color: #6080C0;
    }
    .post a:hover{
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    color: #60A020;
    }

    .post h2{
    font-size: 30px;
    font-family: Helvetica,Arial,Georgia,Sans-Serif;
    padding: 5px 10px;
    }

    .post h2 a{
    color:#404040;
    font-size:30px;
    font-weight: bold;
    }
    .post h2 a:hover{
    color:#404040;
    font-weight: bold;
    text-transform: none;
    text-decoration: none;
    }
    .entry{
    padding: 0 10px 10px;
    }

    .entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6{
    border: 0;
    padding: 15px 0 0;
    font-family: Arial, Helvetica, Georgia, Sans-Serif;
    font-weight: bold;
    color: #000;
    }

    .entry h1{
    font-size: 30px;
    font-weight: normal;
    line-height: 36px;
    }

    .entry h2{
    font-size: 18px;
    }

    .entry h3{
    font-size: 16px;
    }

    .entry h4{ font-size: 14px; }

    .entry h5{ font-size: 12px; }

    .entry h6{ font-size: 11px; }

    .entry img{

    padding: 3px;
    border: 1px dotted #C0C0E0;
    /* optional rounded corners for browsers that support it */
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;

    }

    .entry img.wp-smiley{
    border: 0;
    padding: 0;
    background-color: transparent;
    }

    .entry img.alignleft{
    float: left;
    margin: 5px 10px 0 0;
    }

    .entry img.alignright{
    float: right;
    margin: 5px 0 0 10px;
    }

    .postmetadata{
    padding: 10px;
    padding-top: 25px;
    padding-bottom: 5%;

    }

    .postimedata{
    padding-top: 0px;
    margin-left: 15px;
    font-size: 11px;
    font-style: italic;

    }

    .browse{
    padding: 0 10px 10px;
    }

    /* wp-calendar */

    table#wp-calendar{
    width: 100%;
    font-family: Arial, Helvetica, Georgia, Sans-Serif;
    text-transform: none;
    line-height: 24px;
    color:#838383;
    background:#ffffff;
    text-transform:capitalize;
    font-weight:bold;

    }

    table#wp-calendar caption{
    padding: 10px 9px;
    text-align: left;
    font-family: Arial,’Lucida Grande’,Verdana,Sans-Serif;
    font-size: 15.6px;
    color:#000000;
    background:#ffffff;
    }

    table#wp-calendar th{
    padding: 0px;
    text-align: center;
    vertical-align: top;
    background:#ffffff;
    border-bottom: 1px dashed #C0C0A0;
    color:#60A060;
    }

    table#wp-calendar td{
    padding: 0px;
    text-align: right;
    padding-right: 9px;
    font-weight: normal;
    color: #000000;
    }

    table#wp-calendar tfoot td{
    text-align: center;
    }

    /* end calendar */

    #footer {
    clear: both;
    border-top: 0px solid #000;
    padding: 0px 0 0px 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 20px;
    background: #F1F2F6;
    color:#000;
    text-align: center;

    }

    #footer ol, #footer ul {
    margin: 0;
    padding: 0;
    color:#fff;

    }

    #footer ul {
    list-style-type: none;
    color:#fff;

    }

    #footer ul li {
    display: inline;
    margin: 0 0 10px 0;
    color:#fff;

    }
    #twitter_div {
    padding: 2px;
    }
    #twitter_update_list {
    padding: 2px;
    color: #0a73c4;
    }
    #twitter-link {
    padding-right: 3px;
    }
    .posttextdata {
    font-size: 11px;
    color: #535353;
    }
    .posttextdata a{
    text-decoration: none;
    font-weight: normal;
    color: #466A9C;
    }
    .posttextdata a:hover{
    text-decoration: none;
    font-weight: normal;
    text-transform: none;
    color: #598E26;
    }
    .search-head {
    font-size: 35px;
    font-family: „Times New Roman”, Georgia, Sans-Serif;
    color: #A41C1E;
    margin-bottom: 10%;
    font-style: italic;
    }
    .search-result_head {
    font-size: 25px;
    color: #333333;
    font-family: Georgia,Sans-Serif,Verdana
    }
    .search-result_head a{
    font-size: 25px;
    text-decoration: none;
    font-weight: bold;
    color: #333333;
    }
    .search-result_head a:hover{
    font-size: 25px;
    text-decoration: none;
    text-transform: none;
    font-weight: bold;
    color: #333333;
    }
    .search-data {
    font-size: 12px;
    color: #AAABAD;
    margin-bottom: 20px;
    }

    style_comments_popup.css

    body, h1, h2, h3, h4, h5, h6, blockquote{
    margin: 0;
    padding: 0;
    }

    body{
    margin: 10px;
    font-family: Arial, Helvetica, Georgia, sans-serif;
    font-size: 12px;
    text-align: left;
    vertical-align: top;
    background: #fff;
    color: #000;
    }

    h1{
    font-size: 24px;
    }

    h2, p{
    padding: 10px 0 0;
    }

    blockquote{
    margin: 10px;
    background: #eee;
    }

    blockquote p{
    padding: 10px;
    }

    ol#commentlist{
    margin: 0;
    padding: 0;
    list-style: none;
    }

    ol#commentlist li{
    padding: 15px 0 0;
    line-height: 18px;
    border-bottom: 1px solid #999;
    }

    Pliki związane z komentarzami (comments.php & comments-popup.php) po prostu wyczyściłem, są całkowicie puste.

    Mam nadzieje, że to wystarczy. Będę bardzo wdzięczny za pomoc.

Viewing 4 replies - 1 through 4 (of 4 total)