Anonyk

Рейтинг
49
Регистрация
15.01.2014

Как мне вывести абсолютно все записи на одной странице? Не ссылки на записи а сами загаловки и сами тексты записи? Весь контент на одной странице

web2033:
Создать отдельный шаблон для этой страницы и использовать внутри него WP_Query

Можно по подробнее, не совсем понял, что мне необходимо сделать, мне нужны тупо столбиком в текстовом файле

загаловок записи

текст записи

загаловок записи №2

текст записи №2

Как я могу получить весь контент?

Мне что то надо заменять в этих кодах на своё?

Как мне вывести абсолютно все записи на одной странице? Не ссылки на записи а сами загаловки и сами тексты записи? Весь контент на одной странице

Помогите пожалуйста, ВСЁ обыскал нету ПРОСТО НЕТУ ни где:

Мне нужно удалить дату комментариев, дата и время комментариев:

Как я могу удалить тогда через PHPMyAdmin

comment_date

comment_date_gmt

Как их оба надо удалять? И как это сделать?

Вот код comments.php

<?php
/**
* The template for displaying Comments.
*
* The area of the page that contains both current comments
* and the comment form.
*
* @package A Piece Of Cake
* @since available since Release 1.0
*/

/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if ( post_password_required() ) {
return;
}
?>

<div id="comments" class="comments-area">

<?php // You can start editing here -- including this comment! ?>

<?php if ( have_comments() ) : ?>
<h2 class="comments-title">
<?php
printf( _nx( '', 'Комментарии:', get_comments_number(), 'comments title', 'apoc' ),
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
?>
</h2>

<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav id="comment-nav-above" class="comment-navigation" role="navigation">
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'apoc' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'apoc' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'apoc' ) ); ?></div>
</nav><!-- #comment-nav-above -->
<?php endif; // check for comment navigation ?>

<ol class="comment-list">
<?php
wp_list_comments( array(
'style' => 'ol',
'short_ping' => true,
) );
?>
</ol><!-- .comment-list -->

<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav id="comment-nav-below" class="comment-navigation" role="navigation">
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'apoc' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'apoc' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'apoc' ) ); ?></div>
</nav><!-- #comment-nav-below -->
<?php endif; // check for comment navigation ?>

<?php endif; // have_comments() ?>

<?php
// If comments are closed and there are comments, let's leave a little note, shall we?
if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
?>
<p class="no-comments"><?php _e( 'Comments are closed.', 'apoc' ); ?></p>
<?php endif; ?>

<?php comment_form(); ?>

</div><!-- #comments -->

А вот код functions.php

<?php
/**
* A Piece Of Cake functions and definitions
*
* @package A Piece Of Cake
* @since available since Release 1.0
*/

if ( ! function_exists( 'apoc_setup' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* Note that this function is hooked into the after_setup_theme hook, which
* runs before the init hook. The init hook is too late for some features, such
* as indicating support for post thumbnails.
*/
function apoc_setup() {

/*
* Make theme available for translation.
* Translations can be filed in the /languages/ directory.
* If you're building a theme based on A Piece Of Cake, use a find and replace
* to change 'apoc' to the name of your theme in all the template files
*/
load_theme_textdomain( 'apoc', get_template_directory() . '/languages' );

// Add default posts and comments RSS feed links to head.
add_theme_support( 'automatic-feed-links' );

/*
* Enable support for Post Thumbnails on posts and pages.
*
* @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
*/
//add_theme_support( 'post-thumbnails' );

// This theme uses wp_nav_menu() in one location.
register_nav_menus( array(
'primary' => __( 'Primary Menu', 'apoc' ),
) );

// Enable support for Post Formats.
add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link' ) );

// Setup the WordPress core custom background feature.
add_theme_support( 'custom-background', apply_filters( 'apoc_custom_background_args', array(
'default-color' => 'ffffff',
'default-image' => '',
) ) );

// Enable support for HTML5 markup.
add_theme_support( 'html5', array(
'comment-list',
'search-form',
'comment-form',
) );

add_theme_support( 'post-thumbnails' );

// * Add Custom Featured Image size
if ( function_exists( 'add_image_size' ) ) {
add_image_size( 'apoc-thumbnail', 940, 400, true );
}

/**
* Set the content width based on the theme's design and stylesheet.
*/
if ( ! isset( $content_width ) ) {
global $content_width;

$content_width = 640; /* pixels */
}
}
endif; // apoc_setup

add_action( 'after_setup_theme', 'apoc_setup' );

/**
* Register widgetized area and update sidebar with default widgets.
*/
function apoc_widgets_init() {
register_sidebar( array(
'name' => __( 'Sidebar', 'apoc' ),
'id' => 'apoc-main-sidebar',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h1 class="widget-title">',
'after_title' => '</h1>',
) );

/**
* Social Widget
*/
require get_template_directory() . '/inc/apoc-social-widget.php';

register_widget( 'Apoc_Social_Widget' );
}

add_action( 'widgets_init', 'apoc_widgets_init' );

/**
* Enqueue scripts and styles.
*/
function apoc_scripts() {
// Use minified libraries if SCRIPT_DEBUG is turned off
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';

wp_enqueue_style( 'apoc-style', get_template_directory_uri( __FILE__ ) . '/css/style.css' );

wp_enqueue_style( 'apoc-font-awesome', get_template_directory_uri( __FILE__ ) . '/css/font-awesome' . $suffix . '.css' );

wp_enqueue_script( 'apoc-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120206', true );

wp_enqueue_script( 'apoc-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true );

if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
}

add_action( 'wp_enqueue_scripts', 'apoc_scripts' );

/**
* Enqueue Google Fonts
*/
function apoc_google_fonts() {
if ( ! is_admin() ) {
$protocol = is_ssl() ? 'https' : 'http';

wp_register_style( 'apoc-comfortaa', $protocol .'://fonts.googleapis.com/css?family=Comfortaa&subset=latin,cyrillic-ext', array(), false, 'all' );

wp_enqueue_style( 'apoc-comfortaa' );
}
}

add_action( 'wp_enqueue_scripts', 'apoc_google_fonts' );

/**
* Add Editor Styles
*/
function apoc_add_editor_styles() {
add_editor_style( 'custom-editor-style.css' );
}

add_action( 'init', 'apoc_add_editor_styles' );

/**
* Add Responsive Menu scripts
*/
function apoc_responsive_menu() {
wp_enqueue_script(
'apoc_responsive_menu',
get_stylesheet_directory_uri() . '/js/responsive-menu.js',
array( 'jquery' )
);
}

add_action( 'wp_enqueue_scripts', 'apoc_responsive_menu' );

/**
* Implement the Custom Header feature.
*/
require get_template_directory() . '/inc/custom-header.php';

/**
* Custom template tags for this theme.
*/
require get_template_directory() . '/inc/template-tags.php';

/**
* Custom functions that act independently of the theme templates.
*/
require get_template_directory() . '/inc/extras.php';

/**
* Customizer additions.
*/
require get_template_directory() . '/inc/customizer.php';

/**
* Load Jetpack compatibility file.
*/
require get_template_directory() . '/inc/jetpack.php';

На сайте больше 1000 записей, как я могу быстро получить список 1000 урл адресов, столбиком?

Чем отличается склееный и подклееный тиц? Каким методом склееный делается, а каким подклееный?

Если можно как для чайника разжуйте, гуглил но так и не разобрался.

А я могу как нибудь сам сделать такую вещь:

Заходишь сюда http://www.domen.ru/ видишь один сайт.

Заходишь сюда httpS://www.domen.ru/ видишь совсем другой сайт.

исправить я исправил, мне принцип интересен, как так чужой человек смог провернуть с моим доменом?

Импорт из WordPress.

Привет! Загрузите файл расширенного RSS WordPress (WXR), и мы импортируем записи, страницы, комментарии, произвольные поля, рубрики и метки на этот сайт.

Выберите WXR файл (с расширением XML), и нажмите кноку Загрузить.

Выберите файл на своём компьютере: (Размер: не более 100 MB)

---------------------------------

Размер: не более 100 MB

---------------------------

Что делать если рамер более 100 mb , файл .xml больше чем 100 mb. Как тогда его загрузить?

отвечаю на вопросы

1 скрин прилепил так как использую 3... Последняя версия, и чтобы мне не обзясняли по поводу последний обновленной версии, там совсем все по другому дизайн

2 использую про версию официальну, не обновлясь из принципов, так как не очу заного все изучать, так как все что мне надо было знать и делать с этой программой мне ватало и на 3 версии.

3 спросить на. Оф форуме в данный момент не могу так как на работе и ьуду толбко в час ночи по московскому. Времени, а когда я домой прийду я лягу спать, а ответ придется здать еще долго, только завтра я смогу спросить на форуме, если найду паролб от зенно? Так как им не пользовался узе оченб долго.

4 буду очень признателен если кто нить ответит на мой самый главный вопрос, спасибо

5 грамматические ошибки изза того что пишу на телефоне с помошбь клавиатуры, простите

Всего: 72