Wordpress categorie naam

Pagina: 1
Acties:
  • 134 views

Onderwerpen


Acties:
  • 0 Henk 'm!

  • gebruikershaes
  • Registratie: April 2007
  • Laatst online: 12:06
Hallo,

Ik ben bezig met een wordpress pagina waarvan ik de categorie titel niet zichtbaar wil hebben. Ik heb begrepen dat als ik de categoriepagina's wil wijzigen ik dat in category.php moet doen. Ik heb hier gekeken, maar heb echt geen flauw idee waar ik zoeken moet.

De home button is cat1 en de anderen zijn pagina's. Bij de pagina's heb ik het weg weten te krijgen, maar bij de categorie krijg ik het niet voorelkaar.

Kan iemand me helpen?

[ Voor 4% gewijzigd door gebruikershaes op 11-05-2010 13:34 ]


Acties:
  • 0 Henk 'm!

  • Roytoch
  • Registratie: November 2007
  • Laatst online: 12:41

Roytoch

Nietes

Volgens mij in je wp-content/templates/template-naam en dan archive.php, ik meende dat daar de categorieen staan zeg maar.

PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
      <?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 &#8216;<?php single_cat_title(); ?>&#8217; Category</h2>
      <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
        <h2 class="pagetitle">Posts Tagged &#8216;<?php single_tag_title(); ?>&#8217;</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 } ?>


Dit dus geloof ik. Tweede regel laat het zien meende ik, maar welk template bewerk je?

[ Voor 83% gewijzigd door Roytoch op 11-05-2010 13:06 ]

Welles


Acties:
  • 0 Henk 'm!

  • André
  • Registratie: Maart 2002
  • Laatst online: 12-09 14:32

André

Analytics dude

Heb je al in archive.php gekeken?

Acties:
  • 0 Henk 'm!

  • gebruikershaes
  • Registratie: April 2007
  • Laatst online: 12:06
Ah stond idd in de archive.php :S

<?php single_cat_title(); ?>

Tnx!

Acties:
  • 0 Henk 'm!

  • MueR
  • Registratie: Januari 2004
  • Nu online

MueR

Admin Tweakers Discord

is niet lief

Dit topic gaat op slot, ook al is er al een oplossing. Wederom is dit een Kan iemand even .. ?, waar je al een paar keer op gewezen bent. Lees nu de Quickstart eens door, plus Webdesign, Markup & Clientside Scripting Beleid.

Anyone who gets in between me and my morning coffee should be insecure.


Dit topic is gesloten.