Wsparcie » Motywy » Wykasowanei zbędnego HTML z strony

  • Dobry!
    Chciałem wykasować zbędny HTML z strony z komentarzy (mówię o linkowaniu tego
    http://mojastrona.pl/kategoria/wpis-jego-tytul/#comment-34444

    ustaliłem, że znajduje się to w pliku comment-template.php (w plikach motywu nie występuje div opisujący wygląd)

    więc zamieniłem to:

    <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>">
    			<?php
    				/* translators: 1: date, 2: time */
    				printf( __('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'  ','' );
    			?>
    		</div>

    na to:

    <div class="comment-meta commentmetadata">
    			<?php
    				/* translators: 1: date, 2: time */
    				printf( __('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?> <?php edit_comment_link(__('(Edit)'),'  ','' );
    			?>
    		</div>

    , ale coś nie działa i nie wiem czy cache strony czy coś pokręciłem 🙂
    i to nie ten plik

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • Temat ‘Wykasowanei zbędnego HTML z strony’ jest zamknięty na nowe odpowiedzi.