2ответ(ов) в теме
Добрый день. Возникла проблема при установке функционала групп. Сам разобраться не смог. Пишу вам . Группы установились нормально. Можно создавать , но вот почему-то публикации групп выходят на такой странице
Вы не можете просматривать опубликованные ссылки
, а в настройках меню вкладка "Публикации групп" описана как "архив типа записей" , а не "тип записей"
Вы не можете просматривать опубликованные ссылки
Всё делал по пунктам как у вас написано в руководстве. Несколько раз переустанавливал WP-recall . Как решить этот вопрос ? Файл taxonomy-groups создал из index. Wordpress 4.5.3 WP-recall 14.4.1
taxonomy-groups :
<?php get_header(); ?>
<div id="content" class="cf" <?php frontier_schema( 'content' ); ?>>
<?php do_action('frontier_before_content'); ?>
<?php if ( is_active_sidebar('widgets_before_content') ) : ?>
<div id="widgets-wrap-before-content" class="cf"><?php dynamic_sidebar('widgets_before_content'); ?></div>
<?php endif; ?>
<?php do_action('frontier_before_loop'); ?>
<?php if(function_exists('add_post_in_group')) add_post_in_group(); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php if ( !is_singular() ) : ?>
<?php get_template_part( 'loop', 'blog' ); ?>
<?php else : ?>
<?php get_template_part( 'loop', 'single' ); ?>
<?php endif; ?>
<?php endwhile; else: ?>
<?php endif; ?>
<?php do_action('frontier_after_loop'); ?>
<?php if ( !is_singular() ) : ?>
<div class="blog-nav cf">
<?php if ( function_exists('wp_pagenavi') ) : ?>
<?php wp_pagenavi(); ?>
<?php else : ?>
<?php
$post_nav_blog = '';
if ( !is_search() ) {
$post_nav_blog .= '<div class="link-prev">' . get_next_posts_link( __('← Older Posts', 'frontier') ) . '</div>';
$post_nav_blog .= '<div class="link-next">' . get_previous_posts_link( __('Newer Posts →', 'frontier') ) . '</div>';
}
else {
$post_nav_blog .= '<div class="link-next">' . get_next_posts_link( __('Next Page →', 'frontier') ) . '</div>';
$post_nav_blog .= '<div class="link-prev">' . get_previous_posts_link( __('← Previous Page', 'frontier') ) . '</div>';
}
echo apply_filters( 'frontier_post_nav_blog', $post_nav_blog );
?>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ( is_active_sidebar('widgets_after_content') ) : ?>
<div id="widgets-wrap-after-content" class="cf"><?php dynamic_sidebar('widgets_after_content'); ?></div>
<?php endif; ?>
<?php do_action('frontier_after_content'); ?>
</div>
<?php
switch ( frontier_option('column_layout', 'col-cs') ) {
case 'col-sc' :
get_sidebar('left');
break;
case 'col-cs' :
get_sidebar('right');
break;
case 'col-ssc' :
case 'col-scs' :
case 'col-css' :
get_sidebar('left');
get_sidebar('right');
break;
}
?>
<?php get_footer(); ?>
создан из index.php -
<?php get_header(); ?>
<div id="content" class="cf" <?php frontier_schema( 'content' ); ?>>
<?php do_action('frontier_before_content'); ?>
<?php if ( is_active_sidebar('widgets_before_content') ) : ?>
<div id="widgets-wrap-before-content" class="cf"><?php dynamic_sidebar('widgets_before_content'); ?></div>
<?php endif; ?>
<?php if ( is_archive() || is_search() ) : ?>
<div class="archive-info">
<?php
if ( is_search() ) {
echo '<h3 class="archive-title">' . sprintf( __('Search Results for – "<span>%s</span>"', 'frontier'), get_search_query() ) . '</h3>';
}
else {
the_archive_title( '<h3 class="archive-title">', '</h3>' );
the_archive_description( '<div class="archive-description">', '</div>' );
}
?>
</div>
<?php endif; ?>
<?php do_action('frontier_before_loop'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php if ( !is_singular() ) : ?>
<?php get_template_part( 'loop', 'blog' ); ?>
<?php else : ?>
<?php get_template_part( 'loop', 'single' ); ?>
<?php endif; ?>
<?php endwhile; else: ?>
<div class="form-404">
<?php
$frontier_nothing_found_content = '<h2>' . __('Nothing Found', 'frontier') . '</h2>';
$frontier_nothing_found_content .= '<p>' . __('Try a new keyword.', 'frontier') . '</p>';
$frontier_nothing_found_content .= get_search_form( false );
echo apply_filters( 'frontier_nothing_found_content', $frontier_nothing_found_content );
?>
</div>
<?php endif; ?>
<?php do_action('frontier_after_loop'); ?>
<?php if ( !is_singular() ) : ?>
<div class="blog-nav cf">
<?php if ( function_exists('wp_pagenavi') ) : ?>
<?php wp_pagenavi(); ?>
<?php else : ?>
<?php
$post_nav_blog = '';
if ( !is_search() ) {
$post_nav_blog .= '<div class="link-prev">' . get_next_posts_link( __('← Older Posts', 'frontier') ) . '</div>';
$post_nav_blog .= '<div class="link-next">' . get_previous_posts_link( __('Newer Posts →', 'frontier') ) . '</div>';
}
else {
$post_nav_blog .= '<div class="link-next">' . get_next_posts_link( __('Next Page →', 'frontier') ) . '</div>';
$post_nav_blog .= '<div class="link-prev">' . get_previous_posts_link( __('← Previous Page', 'frontier') ) . '</div>';
}
echo apply_filters( 'frontier_post_nav_blog', $post_nav_blog );
?>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ( is_active_sidebar('widgets_after_content') ) : ?>
<div id="widgets-wrap-after-content" class="cf"><?php dynamic_sidebar('widgets_after_content'); ?></div>
<?php endif; ?>
<?php do_action('frontier_after_content'); ?>
</div>
<?php
switch ( frontier_option('column_layout', 'col-cs') ) {
case 'col-sc' :
get_sidebar('left');
break;
case 'col-cs' :
get_sidebar('right');
break;
case 'col-ssc' :
case 'col-scs' :
case 'col-css' :
get_sidebar('left');
get_sidebar('right');
break;
}
?>
<?php get_footer(); ?>
Помогите разобраться, пожалуйста. Файлов category.php и arhive.php в теме нет.
Вы не можете просматривать опубликованные ссылки
Тема закрыта. Публикация новых сообщений запрещена.