Помогите с single.php, пожалуйста)
-
У меня тема от artisteer, по этому просто сменит что то в каком либо шаблоне на раз два не получается, а как и где что либо изменить, кроме как только в на странице шаблона я не знаю. Помогите пожалуйста.
Мне нужно место ссылки на автора, вставить нужную мне ссылку, а именно<?php the_author_posts_link(); ?>
(чтобы плагин Author Exposed работал).Код шаблона single.php:
<?php /** * * single.php * * The single post template. Used when a single post is queried. * */ get_header(); ?> <div class="art-layout-wrapper"> <div class="art-content-layout"> <div class="art-content-layout-row"> <div class="art-layout-cell art-sidebar1"> <?php get_sidebar('default'); ?> <div class="cleared"></div> </div><table width="830" border="0" align="center"> <tr> <td> <div class="art-layout-cell art-content"> <?php get_sidebar('top'); ?> <?php if (have_posts()){ /* Display navigation to next/previous posts when applicable */ if (theme_get_option('theme_top_single_navigation')) { theme_page_navigation( array( 'next_link' => theme_get_previous_post_link('« %link'), 'prev_link' => theme_get_next_post_link('%link »') ) ); } while (have_posts()) { the_post(); get_template_part('content', 'single'); get_sidebar('bottom'); /* Display comments */ if ( theme_get_option('theme_allow_comments')) { comments_template(); } } /* Display navigation to next/previous posts when applicable */ if (theme_get_option('theme_bottom_single_navigation')) { theme_page_navigation( array( 'next_link' => theme_get_previous_post_link('« %link'), 'prev_link' => theme_get_next_post_link('%link »') ) ); } } else { theme_404_content(); } ?> <div class="cleared"></div> </div></td> </tr> </table> </div> </div> </div> <div class="cleared"></div> <?php get_footer(); ?>
Просмотр 2 ответов — с 1 по 2 (всего 2)
Просмотр 2 ответов — с 1 по 2 (всего 2)
- Тема «Помогите с single.php, пожалуйста)» закрыта для новых ответов.