Eliminare navigazione fra articoli
-
-
Ciao. Non so se hai risolto, ma sono riuscito a controllare il template che usi ora.
Per eliminare i link all'articolo precedente e successivo devi aprire il file content-post.php ed eliminare questo codice
<?php
woo_post_after();
$comm = $woo_options[ 'woo_comments' ];
if ( ( $comm == 'post' || $comm == 'both' ) && is_single() ) { comments_template(); }
?>Che trovi in fondo.
Ciao
-
-
Prova a postare sempre tra i tag code il contenuto del file che dice jhar

-
-
Ciao Lucolo,
passando ho visto il tuo post e mi "infilo" visto che sei online

Dovresti fare esattamente quello che hai fatto prima per il file single.php, copiandolo qui sul forum, ma questa volta con il file content-post.php (come indicato da jhar)
-
content-post.php, eccola qua.
<?php /** * Post Content Template * * This template is the default page content template. It is used to display the content of the * `single.php` template file, contextually, as well as in archive lists or search results. * * @package WooFramework * @subpackage Template */ /** * Settings for this template file. * * This is where the specify the HTML tags for the title. * These options can be filtered via a child theme. * * @link codex.wordpress.org/Plugin_API#Filters */ global $woo_options; $title_before = '<h1 class="title">'; $title_after = '</h1>'; if ( ! is_single() ) { $title_before = '<h2 class="title">'; $title_after = '</h2>'; $title_before = $title_before . '<a href="' . get_permalink( get_the_ID() ) . '" rel="bookmark" title="' . the_title_attribute( array( 'echo' => 0 ) ) . '">'; $title_after = '</a>' . $title_after; } $page_link_args = apply_filters( 'woothemes_pagelinks_args', array( 'before' => '<div class="page-link">' . __( 'Pages:', 'woothemes' ), 'after' => '</div>' ) ); woo_post_before(); ?> <div <?php post_class(); ?>> <?php woo_post_inside_before(); if ( $woo_options['woo_post_content'] != 'content' AND !is_singular() ) woo_image( 'width='.$woo_options['woo_thumb_w'].'&height='.$woo_options['woo_thumb_h'].'&class=thumbnail '.$woo_options['woo_thumb_align'] ); the_title( $title_before, $title_after ); woo_post_meta(); ?> <div class="entry"> <?php if ( $woo_options['woo_post_content'] == 'content' || is_single() ) { the_content(__('Continue Reading →', 'woothemes') ); } else { the_excerpt(); } if ( $woo_options['woo_post_content'] == 'content' || is_singular() ) wp_link_pages( $page_link_args ); ?> </div><!-- /.entry --> <div class="fix"></div> <?php woo_post_inside_after(); ?> </div><!-- /.post --> <?php woo_post_after(); $comm = $woo_options[ 'woo_comments' ]; if ( ( $comm == 'post' || $comm == 'both' ) && is_single() ) { comments_template(); } ?> -
Ho smanettato un po' cercando nel tema.
CREDO che tu debba accedere via FTP, entrare nella cartella "includes", aprire il file theme-actions.php e eliminare la riga:
add_action('woo_post_after','woo_postnav',10);// Single post navigation
Aspettiamo comunque pareri più autorevoli

-
-
Ottimo!
Felice che tu abbia risolto il tuo problema

Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi
