Поддержка Проблемы и решения Вывод анонсов

  • Помогите решить следующую проблему:
    Мне необходимо настроить вывод анонсов, а точнее длину текста, знак прерывания текста и «читать далее». Попробовал плагин WP Limit Posts Automatically, но он не сработал. Сунулся в index.php, а там вот такой код с комментарием:

    <?php
    if (have_posts()) : while (have_posts()) : the_post();
    
    /**
    * The default post formatting from the post.php template file will be used.
    * If you want to customize the post formatting for your homepage:
    *
    *   - Create a new file: post-homepage.php
    *   - Copy/Paste the content of post.php to post-homepage.php
    *   - Edit and customize the post-homepage.php file for your needs.
    *
    * Learn more about the get_template_part() function: http://codex.wordpress.org/Function_Reference/get_template_part
    */
    
    get_template_part('post', 'homepage');
    endwhile;
    else :
    get_template_part('post', 'noresults');
    endif;
    get_template_part('navigation');
    ?>

    Что написано в общем то понятно, но в файле post.php отображение текста описано просто the_content(»). Помогите разобраться

  • Тема «Вывод анонсов» закрыта для новых ответов.