Ответы в темах

Просмотр 7 ответов — с 1 по 7 (всего 7)
  • теперь вставил ровно перед <?php posts_nav_link(' — ', __('« Newer Pos...... и получилось:
    <h5><?php if(function_exists('wp_page_numbers')) : wp_page_numbers(); endif; ?><?php posts_nav_link(' — ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?></h5>
    сайт открылся но ничего не изменилось

    я вставил между
    …Newer Posts’)и , __(‘Older Posts…
    т.е.
    <?php posts_nav_link(' — ', __('&laquo; Newer Posts')<?php if(function_exists('wp_page_numbers')) : wp_page_numbers(); endif; ?>, __('Older Posts &raquo;')); ?>
    ———————————————
    сайт не открывается(белая страница)

    а именно где?
    т.е. между какими символами?

    <?php get_header(); ?>
    <div id=»content»>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <h2>«><?php the_title(); ?></h2>
    <?php the_content(‘Read more…’); ?>
    <p>» rel=»bookmark» title=»Permanent Link to <?php the_title_attribute(); ?>»>Permalink | <?php the_tags(‘Tags: ‘, ‘, ‘, »); ?> | Posted in <?php the_category(‘, ‘) ?> | <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
    <?php endwhile; ?>
    <?php if(function_exists(‘wp_page_numbers’)) : wp_page_numbers(); endif; ?>
    <?php else : ?>
    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn’t here.

    <?php endif; ?>
    <h5><?php posts_nav_link(‘ — ‘, __(‘« Newer Posts’), __(‘Older Posts »’)); ?></h5>
    </div>
    <?php get_sidebar(); ?>
    <div id=»clearfooter»></div>
    </div>
    <?php get_footer(); ?>

    всё.
    я всё прочитал.

    == Installation ==

    1. Upload the FOLDER ‘wp-page-numbers’ to the /wp-content/plugins/—ок
    2. Activate the plugin ‘WP Page Numbers’ through the ‘Plugins’ menu in admin—ок
    3. Go to ‘Options’ or ‘Settings’ and then ‘WP Page Numbers’ to change the options—проблемка
    ——————————————
    Instructions — Code to add to your theme
    Add the code where you find previous_post() and next_post() functions. If you can’t find these tags, place the code between endwhile; and endif; in the_loop.

    Code to add in your theme
    <?php if(function_exists(‘wp_page_numbers’)) : wp_page_numbers(); endif; ?>

    Advanced (optional) settings

    Syntax: wp_page_numbers($start, $end); Example: wp_page_numbers(«<div class=’start’>», «</div>»);
    ————————————я не понимаю куда надо вставлять и какой код…
    там на писано»… where you find previous_post() and next_post() functions…» — где это искать?
    в админке в папке ../wp-content/plugins/wp-page-numbers
    в коде файла wp-page-numbers.php часто встречается слово function
    function wp_page_numbers_stylesheet()…function wp_page_numbers_check_num($num)…function wp_page_numbers_prevpage($paged, $max_page, $prevpage)….И Т. Д. но там нету «previous_post() and next_post() functions»
    я что-то не понимаю, не могли бы вы подробнее объяснить, а главное как можно проще!
    ps всё таки как мне сделать что бы у меня не было огромной главной страницы со всеми статьями и как вывести распр на рубрики на бок панель? спасибо

    наверное footer
    а можете объяснить что такое single.php, а тоя полазил в инете но так и не понял:(

    RSS записей
    RSS комментариев
    что это?, просто после того как нажать на эту ссылку( или на rss feed внизу страницы ) открывается огромный текст, заполняющий всю страницу без абзацев и какого либо разделение…
    так должно быть?

Просмотр 7 ответов — с 1 по 7 (всего 7)