Risposte nei forum create
-
AutorePost
-
morfinaPartecipante
Grazie SteveAgl per la risposta tempestiva. tu mi consigli di ragionarci sopra ed hai qualche consiglio da darmi? oppure mi consigli di lasciar perdere?
morfinaPartecipanterisolto:
php query_posts($query_string . ‘&posts_per_page=12’);
morfinaPartecipantepermessi ripristinati. se questa operazione avrebbe dovuto permettermi di uplodare il file .htaccess senza problemi non ha funzionato.
morfinaPartecipantesono su server linux di aruba, mi è permesso l’uso di .htaccess.
Non c’è nulla da fare, uplodando il file .htaccess viene visualizzato 500 Internal Server Error.
hhhaaaarrrggggghhhhhhhhh!!!!
morfinaPartecipanteho controllato, il codice sembra scritto correttamente. a riprova di ciò ho uplodato il file .htaccess vuoto, senza alcun codice: anche in questo caso mi da Internal Server Error. sono scoraggiato.
morfinaPartecipantetrovato. posto la soluzione, magari tornerà utile…
ul.menu li {
display: inline;
margin: 0;
}
ul class=”megnu”<?php wp_list_pages(‘title_li=’); ?> /ul
morfinaPartecipantema se associo una classe specifica non risulterebbe una cosa del genere:
miaclasse li <?php wp_list_pages(‘title_li=’); ?> li miaclasse
in cui ci sarebbe sempre la formattazione della lista. oppure ho capito?
morfinaPartecipantegrazie ondapi, al link da te indicato ho trovato ciò che dovrebbe permettermi di stampare i link senza intestazione e senza i tag ul li.
Il codice è il seguente: <?php wp_list_pages(‘title_li=’); ?> (praticamente setti il parametro in una stringa vuota).
Il problema è che non funziona, wp continua ad associare ai link la formattazione lista. (nella pagina wiki c’è anche un errore: si assicura di notare che dopo = non ci debbano essere spazi, quando invece nell’esempio di codice lo spazio c’è!)
morfinaPartecipantePer chi fosse interessato all’argomento, ho trovato il codice funzionante:
<li id="login">
<?php
global $user_ID, $user_identity;
get_currentuserinfo();
if (!$user_ID):
?>
<h2><?php _e('Login'); ?></h2>
<form name="loginform" id="loginform" action="<?php echo get_settings('siteurl'); ?>/wp-login.php" method="post">
<div><label><?php _e('Login') ?>:
<input class="input" type="text" name="log" id="log" value="" size="20" tabindex="7" /></label><label><?php _e('Password') ?>:
<input class="input" type="password" name="pwd" id="pwd" value="" size="20" tabindex="8" /></label><label><input type="checkbox" name="rememberme" value="forever" tabindex="9" /> <?php _e("Remember me"); ?></label>
<input type="submit" class="button" name="submit" value="<?php _e('Login'); ?> »" tabindex="10" />
<?php wp_register('', ''); ?>
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER; ?>"/></div>
</form>
<?php
else:
?>
<h2><?php echo $user_identity; ?></h2>
-
<?php wp_register(); ?>
- "><?php _e('Logout'); ?>
<?php
endif;
?>
morfinaPartecipantePerfetto, il cformII è un plugin spettacolare. L’unica cosa che non riesco a fare, non so se sia possibile, è poter gestire i files una volta caricati nella directory
/web/htdocs/www.campivisivi.net/home/blog_cv/wp-content/plugins/cforms/attachments
Ad esempio inserire un file nel testo di un articolo. E' possibile questa operazione?
-
AutorePost