Wp-datum objave članka

Dakle, zanima me da li se i kako može izbrisati datum i vrijeme objave članka, znači da se to uopće ne prikazuje, isto tako isključila sam komentare, a sad se prikazuje komentari zatvoreni, a ja bi da to uopće ne piše.

Također, kad izaberem članak iz određene kategorije prvo piše archive for the … category, a ja bi da se to ne prikazuje ili da bar bude na hrvatskom jeziku…

ima li tko rješenje?

Trebas prilagoditi temu. Malo znanja php-a je neophodno. Najbolje da prvo izaberes temu koja ti je ok, te onda ovdje ili negdje drugdje zatrazis pomoc oko prilagodbe teme.

Ides na appearance - editor, single post, kopiraj nam sta imas tu, pa cemo ti mi reci sta da izbrises ;).

<?php get_header(); ?> <?php include (TEMPLATEPATH . '/sidebar_left.php'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<?php the_title(); ?>

Posted in <?php the_category(', ') ?> by <?php the_author() ?> on <?php the_time('F jS, Y') ?>
<?php if( get_post_meta($post->ID, "thumb", true) ): ?> <?php else: ?>
		<?php endif; ?>
					<div class="entry">
				<?php the_content(); ?>
			</div><div class="clear"></div>
			
			<div class="postinfo"><?php the_tags( '<p>Tags: ', ', ', '</p>'); ?></div> 
			</div>
			
			
			
			<?php comments_template(); ?>
			
			<?php endwhile; endif; ?>
<?php include (TEMPLATEPATH . '/sidebar_right.php'); ?> <?php get_footer(); ?>

halo, šta da brišem???

Polako :slight_smile: imamo mi posla i ovak.

Nego, back to the topic, iz ovog:

[php]Posted in <?php the_category(', ') ?> by <?php the_author() ?> on <?php the_time('F jS, Y') ?>[/php]

ukloni ovo:

[php] on <?php the_time('F jS, Y') ?>[/php]

i nek ti ostane samo ovo:

[php]Posted in <?php the_category(', ') ?> by <?php the_author() ?>[/php]

easy peasy japanesey

hvala, hvala, hvala :klanjamse

šta da brišem da nemam ono archive for the xxx category

ovo je editor. archives

<?php get_header(); ?> <?php include (TEMPLATEPATH . '/sidebar_left.php'); ?>
<?php if (have_posts()) : ?>
  <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
  <?php /* If this is a category archive */ if (is_category()) { ?>
	<h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>
  <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
	<h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title(); ?>’</h2>
  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
	<h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
  <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
	<h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2>
  <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
	<h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>
  <?php /* If this is an author archive */ } elseif (is_author()) { ?>
	<h2 class="pagetitle">Author Archive</h2>
  <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
	<h2 class="pagetitle">Blog Archives</h2>
  <?php } ?>
<?php while (have_posts()) : the_post(); ?>

<?php the_title(); ?>

		<?php if( get_post_meta($post->ID, "thumb", true) ): ?>	
<?php else: ?>
		<?php endif; ?>

					<div class="entry">
				<?php content('107'); ?>
			</div><div class="clear"></div>
			
			</div>
			<?php endwhile; ?>
			
			<div class="navigation">
		<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
		<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
		<div class="clear"></div>
	</div>
				<?php endif;?>
<?php include (TEMPLATEPATH . '/sidebar_right.php'); ?> <?php get_footer(); ?>

Copyright © 2020 WM Forum - AboutContact - Sponsored by: Mydataknox & Webmaster.Ninja