• it will be useful to have the possibility to show full content articles or just a part I did it in that way :

    in wp-config.php — > define('SHOW_CONTENT', 1);

    in the pages displaying content –>

    <?php
        if(SHOW_CONTENT == 1){
        echo '<div class="entry-content">';
        the_content();
        }
        else{
        echo '<div class="entry-summary">';
        the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'ymages' ) );
        }
        ?>
        </div>

    [Please post code snippets between backticks or use the code button.]

  • The topic ‘full articles list (no readmore or link title’ is closed to new replies.