Risposte nei forum create
-
AutorePost
-
mobiletechPartecipante
ora sଠche ho capito: parlando di menu mi avevi confuso.
ma la risposta è la stessa: usa wp_list_categories(). Ovviamente non puoi copiarlo nel testo di una pagina ma, come puoi leggere nella pagina che descrive tutte le funzioni e la sintassi del tag, va inserito nel codice creando un template di pagina ad hoc. Per i template vedi qui (c’è anche l’esempio specifico di quello che chiedi tu, ma bisogna sostituire wp_list_cats() che è una funzione deprecata con wp_list_categories() ).
ciao grazie per la risposta. c ho provato ma niente non ci riesco. questa è la mia struttura di pagina…dove lo inserisco wp list categories e come? riesci a farmi un esempio pratico per favore? ti ringrazio
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post_<?php the_ID(); ?>">
<span class="breadcrumbs">/">Home » <?php the_title(); ?></span>
<h2 class="title"><?php the_title(); ?></h2>
<div class="entry clearfloat">
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
<?php wp_link_pages(array('before' => '<p>Pages: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
</div>
<div id="comments">
<?php comments_template(); ?>
</div>
<?php endwhile; endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
mobiletechPartecipanteok guarda il mio blog che t ho segnalato prima.in alto nel menu dove cè home archivio e info contatti. ok io vorrei creare un altra voce chiamata ‘ tutte le categorie’ dove cliccandoci sopra si apra la pagina con tutte le categorie presenti. Voglio una cosa simile a quello che gia uso per l’archivio delle notizie. qui ho usato un plugin ma non so se esiste anche per le categorie. Non voglio lasciarle nella sidebar come menu a discesa capito?
mobiletechPartecipanteNon ho capito. la pagina archivio la voglio lasciare. ne voglio creare un’altra simile per le categorie. ho provato a creare una pagina nuova e scrivere wp_list_categories() ma non funge.
mobiletechPartecipanteSenza plugin fantasiosi usando google analytics, aprendo il proprio account; oppure il plugin wordpress.com stats.
Più chiaro di cosà¬!
O usi google senza alcun plugin in wp ma, ovvio, inserendo il codice di analytics; oppure il plugin wordpresscom stats, che tra tutti credo sia il più.. veritiero.
scusa la mia ignoranza ma come faccio per escluderli?
mobiletechPartecipanteCi sono plugin che contano oltre l’admin (e chi loggato con privilegi di amministratore) anche le mosche che volano vicino al server..
Senza plugin fantasiosi usando google analytics, aprendo il proprio account; oppure il plugin wordpress.com stats.
ti ringrazio per la risposta. cè un modo quindi per escludere dal contatore visite e letture i bot e ‘mosche’ varie?
-
AutorePost