mupic
Ответы в темах
-
Форум: Плагины
Тема: Как убрать поля из профиля wofpress?Я спрашиваю вас. Я просто не хотел заново писать вопрос, к тому же вы прочитая все комментарии, сможете что либо дополнить или согласится с кем либо, тем самым помочь мне.
Форум: Плагины
Тема: Добавить в избранное. плагин или что либо другое.Это такая социальная инженерия для повышения посещаемости?
Нет. Это галерея, правильно? Ну я и подумал, что для подобных сайтов всегда нужна кнопка «добавить в избранное». Я не думал что вы не правильно поймете.
Форум: Плагины
Тема: Добавить в избранное. плагин или что либо другое.Спасибо, но методом тыка я уже раз 5 пытался что-нибудь найти, так и не получилось. Ну попробую еще раз, может искал коряво.
Форум: Темы и шаблоны
Тема: Помогите с single.php, пожалуйста)Это я знаю, но поменять я там не чего не смог.
Можете еще подсказать с этим: как сделать вывод этих функций из content-single.php? Чтобы контент, меки, рубрики, выводились с помощью этих функцийtheme_get_content(), theme_get_metadata_icons('category,tag', 'footer')
и тд. Просто вставка тега<?php
не помогает.content-single.php:
<?php /** * * content*.php * * The post format template. You can change the structure of your posts or add/remove post elements here. * * 'id' - post id * 'class' - post class * 'thumbnail' - post icon * 'title' - post title * 'before' - post header metadata * 'content' - post content * 'after' - post footer metadata * * To create a new custom post format template you must create a file "content-YourTemplateName.php" * Then copy the contents of the existing content.php into your file and edit it the way you want. * * Change an existing get_template_part() function as follows: * get_template_part('content', 'YourTemplateName'); * */ global $post; theme_post_wrapper( array( 'id' => theme_get_post_id(), 'class' => theme_get_post_class(), 'title' => theme_get_meta_option($post->ID, 'theme_show_post_title') ? get_the_title() : '', 'heading' => theme_get_option('theme_single_article_title_tag'), 'before' => theme_get_metadata_icons('date,author,edit', 'header'), 'content' => theme_get_content(), 'after' => theme_get_metadata_icons('category,tag', 'footer') ) ); ?>
Спасибо большое, как бы я без вас))
Proper Custom Avatars for 3.5Форум: Плагины
Тема: Плагин Auto more 3Mailfix01, попробуй здесь почитать, может что найдешь — http://n-wp.ru/564
mbstring? — нет, вряд ли.
Форум: Плагины
Тема: Плагин Auto more 3По большому счету, я что-нибудь из шаблона убрал… И ВСЕ! ВСЕ! Нету рабочего шаблона)))
Форум: Плагины
Тема: Плагин Auto more 3Спасибо большое, я думал что the_content() обязательная функция в шаблоне, и убрать ее не додумался)
Теперь навигация работает, но не отмечается на какой странице находишься.
Код шаблона:
<?php /* Template Name: fuuuuucccc */ ?> <?php 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> <div class="art-layout-cell art-content"> <?php get_sidebar('top'); ?> <?php if(have_posts()) { /* Display navigation to next/previous pages when applicable */ if ( theme_get_option('theme_' . (theme_is_home() ? 'home_' : '') . 'top_posts_navigation' ) ) { theme_page_navigation(); } /* Start the Loop */ $current_page = (get_query_var('paged')) ? get_query_var('paged') : 1; $numpost=10;//сколько записей на одной странице нам надо вывести if($paged>1) $offset=$numpost*($paged-1); else $offset=0;//чтобы знать, с какой статьи начать, если это не первая страница query_posts('cat=7&offset='.$offset.'&showposts='.$numpost); global $more; $more = 0; while (have_posts()) { the_post(); get_template_part('content', get_post_format()); } /* Display navigation to next/previous pages when applicable */ if (theme_get_option('theme_bottom_posts_navigation')) { theme_page_navigation(); } } else { theme_404_content(); } ?> <?php get_sidebar('bottom'); ?> <div class="cleared"></div> </div> <div class="art-layout-cell art-sidebar2"> <?php get_sidebar('secondary'); ?> <div class="cleared"></div> </div> </div> </div> </div> <div class="cleared"></div> <?php get_footer(); ?>
Да, я тоже об этом подумал и уже нашел новый хостинг.
Можете подсказать что можно сделать?