Тема-Конструктор для Wordpress (обновление)

Categories: WordPress

Wordpress Constructor Theme

Тема “Constructor” изначально создавалась для пользователей, которые хотят быстро и без проблем создать свой уникальной дизайн блога. И судя по статистке она таки нашла своего пользователя, и далее небольшой обзор функционала.

Подобный обзор своего творения я уже делал, но хотелось бы похвастаться прогрессом в разработке – как никак версия шагнула от 0.1.0 до 0.6.3

Темы

Тема “Конструктор” поддерживает свои темы (по умолчанию, в архиве идёт пять штук):

Темы

Кроме этих тем, были добавлены еще несколько:

UkraineNaruto

SunrisePinup

А еще есть тема “example” внутри которой лежит PSD файл, с помощью которого вы сможете легко создать свою тему (внутри уже нарезанная PSDшка – осталось найти необходимый клипарт и сохранить для web).

Кстати, что же из себя представляет “тема”? Тут всего три файла да картинки:

  1. style.css – описание стилей
  2. config.php – конфигурация системы
  3. screenshot.png – скриншот темы, размером 300х255

Файл style.css можно оставить пустым, добавив лишь обязательную шапку (такую же, как и для обычной wordpress темы):

/*
Theme Name: MY THEME
Theme URI: http://MY.THEME.COM/
Description: MY THEME DESCRIPTION
Version: 0.0.1
Author: MY NAME
Author URI: http://MY.SITE.COM/
*/

Файл config.php содержит все настройки темы, которые также можно изменить в админке:

<?php
return array(
            "sidebar"   => 'right',          // расположение сайдбара
            'layout'    =>  array(           // настройки макета
         	             'header'  => 140,   // высота шапки
                        'width'   => 1024,   // ширина контейнера
                        'sidebar' => 240,    // ширина сайдбара
                        'extra'   => 240,    // ширина дополнительного сайдбара
                        'home'    => 'default', // макет для главной страницы default/list/tile
                        'archive' => 'default', // ... для архивов
                        'search'  => 'default', // ... для поиска
                        'index'   => 'default',  // ... для остального
                                 ),
            "title"     => array(           // заголовок сайта
                        "pos" => 'left'     // - позиция
                        ),
            "content"   => array(        // контент
                        "author" => 0,   // - показывать ссылку на страницу автора
                        'thumb' =>  array ('auto'   => false), // - автогенерация превьюшек для картинок
                        'list'  =>  array (                    // настройки для макета list
                                           'filter' => false,  // - вырезать HTML теги
                                           'thumb'  => array ( 'pos' => 'left', 'noimage' => false, ), // - расположение превью и отображать ли картинку "No Image"
                                          ),
                        ),
            "footer"    => array(          //  текст в футере
                        "text" => null,
                        ),
            "fonts"     => array(          // шрифты (порядковый номер)
                        'header' => 0,     // - для заголовка
                        'body'   => 0,     // - для контента
                        ),
            "menu"     => array(          // настройки меню в шапке
                        "flag" => 1,      // - enable/disable
                        "home" => false,  // - ссылка на главную
                        "rss"  => false,  // - ссылка на RSS
                        "search" => true, // - форма поиска
                        "pages"      => array('depth'=>1), // - отображать страницы
                        "categories" => array('depth'=>1, 'group'=>1) // - отображать категории
                        ),
            "slideshow" => array(        // Настройка слайдшоу
                        "flag" => 0,         // - enable/disable
                        "layout" => 'in',    // - внутри контейнера с контентом или над
                        "showposts" => 10,   // - отображаемое количество слайдов
                        "metakey" => 'thumb-slideshow', // - имя дополнительного поля из поста
                        "id" => null,        // - ID слайдшоу для плагина NextGenGallery
                        "height" => 200,     // - высота в px
                        "onpage" => false,   // - отображать слайдшоу на страницах
                        "onsingle" => false  // - отображать слайдшоу на постах
                        ),
            "images"   => array(             // настройка фоновых картинок
                        "body" => array('src'=>'', 'pos'=>'left top', 'repeat'=>'repeat', 'fixed'=>false),
                        "wrap" => array('src'=>'themes/default/header.png', 'pos'=>'center top', 'repeat'=>'no-repeat', 'fixed'=>false),
                        "wrapper"  => array('src'=>'', 'pos'=>'left top', 'repeat'=>'no-repeat'),
                        "sidebar"  => array('src'=>'', 'pos'=>'right bottom', 'repeat'=>'no-repeat'),
                        "extrabar" => array('src'=>'', 'pos'=>'right bottom', 'repeat'=>'no-repeat'),
                        "footer"   => array('src'=>'themes/default/footer.png', 'pos'=>'right bottom', 'repeat'=>'no-repeat'),
                        ),
            "opacity"   => 'light',     // прозрачность
            "shadow"    => true,        // тень
            "color"     => array(       // цвета
                        "bg"      => '#fff',
                        "bg2"     => '#fff5c5',
                        "opacity" => '#fff',
                        "title"   => '#333',
                        "title2"  => '#555',
                        "text"    => '#333',
                        "text2"   => '#aaa',
                        "border"  => '#aaa',
                        "border2" => '#999',

                        "header1"   => '#ff6600',
                        "header2"   => '#ff7711',
                        "header3"   => '#ff9933',
                        )
            );

Не пугайтесь – настройте тему и сделайте “экспорт” – система сама создаст для вас этот файл.

Макет

Можно выбирать из 6-ти возможных вариантов расположения сайдбаров, добавилась возможность изменить ширину основного контейнера, и сайдбаров по отдельности:
Sidebar

Шапка сайта

В шапку сайта можно добавить выпадающее меню и изменить его содержимое (теперь можно использовать виджеты), отдельно изменяется расположение и цвет заголовка:
Header

Подвал сайта

В footer’e можно изменить лишь текст, пока более ничего не придумал:
Footer

Цвета

Есть несколько глобальных цветов, которые можно изменять – это цвет шрифта, фона, границ и т.д., и еще можно выбрать “прозрачность” объектов:
Colors

Шрифты

Со шрифтами особого разнообразия не получилось – есть набор пресетов, можно указать различные для заголовков и контента:
Fonts

CSS

Для продвинутых пользователей есть возможность изменять CSS конкретной темы (только права на доступ не забудьте изменить):
CSS

Ответы на многие вопросы по CSS доступны на странице F.A.Q.

Изображения

Данная опция – для изощренных – вы можете устанавливать фоновые изображения для элементов страницы, задавать положение и выбирать опции повторения:
Images

Слайдшоу

Если Вы используете плагин NextGen Gallery, то сможете с легкостью добавить слайд-шоу на главную страницу сайта, в новых версиях так же поддерживается построение слайдшоу из картинок указанных в дополнительных полях постов (по умолчанию используется thumb-slideshow):
Slideshow

Шаблоны страниц

Wordpress дает возможность пользователю задавать определенные шаблоны для страниц, в “Конструкторе” доступно пять дополнительных шаблонов:

Еще есть один дополнительный шаблон:

Мультиязычность

Благодаря возросшей популярности данной темы появилась поддержка нескольких языков:

  • Английский – по умолчанию
  • Русский
  • Украинский – спасибо Baziak за помощь
  • Польский – спасибо mummle
  • Датский – спасибо Georg S. Adamsen ()
  • Итальянский – спасибо gio gio
  • Французский – спасибо Nicolas Loeuillet

В скором времени еще добавиться перевод на немецкий. К сожалению, не все локализации обновлены до последней версии.

Планы на будущее

  • Добавить виджетов заточенных под тему
  • Постараться обновлять файлы локализаций
  • Создать кэш для css.php
  • Добавить возможность экспорта всей темы в одном zip архиве
  • Создать видео-презентацию темы

P.S. Для всех подписчиков на RSS ленту – используйте адрес http://anton.shevchuk.name/feed/ – по нему Вы всегда найдете мою ленту, так же можете меня найти и в twitter’e

This entry was posted on Tuesday, October 27th, 2009 at 07:37 and is filed under WordPress.
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Другие посты на эту тему

82 Responses to “Тема-Конструктор для Wordpress (обновление)”

  1. helpfully

    Hi there,
    you’ve made a really nice theme and i thought i could find some informations about the theme and about you on your site… but seems that it’s only for people who are able to read kyrillic letters…
    I’m not sure but have you updated the theme ? don’t know because not everyone can read kyrillic/russian/whatever…
    Ich kann ja auch auf Deutsch schreiben damit du genauso viel verstehen kannst… :P
    I think it would be good to have an “open-to-the-world” website linked in your themes instead of a “closed-source” and would help you to become more popular…
    nice theme….unreadable language on your site… oh.. and some smaller problems with the Opera browser…

  2. Привет. Хочу взять у тебя интервью о твоем блоге. Напишу пост с внешними ссылками. бесплатно

  3. Kirill

    а форум по проблемам есть?

    вопрос мучает такой, в Макете-> Поиск в режиме списка
    видео файлы flv проигрываются при помощи Flash Video Player Plugin for WordPress соответственно миниатюры правильно не генерятся, что делать?

  4. Hello, first congratulations for this great theme. I have a problem in a 0.6.4 version. The height footer it’s fixed and don’t decrease, see more virtuabox.com.br. The current footer image especifications is 1280×118 pixels. This problem don’t exists in a 0.6.2 version, see here virtuabox.com.br/blog. How I can fix this? Bye.

  5. Using the Orange theme, I’m finding the cascaded menus off the header menu bar don’t work right in IE. In Firefox they’re fine, but it IE they’re semi-transparent and where they overlap the content area, they flicker when I mouse-over.

  6. Oops, correction: the above behaviour only happens when using the IETab plugin for Firefox – pure IE works properly.

    Probably not a high priority, but maybe something to be aware of.

  7. Dan

    REALLY great job with everything! I love it and I’m using it right now on my website. No issues whatsoever!

    Keep up the good work!

  8. nick

    Hi,
    Since updating my constructor theme files to the latest release, I am no longer able to access the ‘customize’ section in wordpress admin. All that happens is the titles of each ‘customize’ wection loads but no options below.

  9. nick

    howdy,
    I’m running wp 2.8.6

  10. nick

    Hi, weird huh? I am using firefox currently (but same result in IE and chrome). I have had the same error occur on several different domains. I even attempted a fresh WP install on a brand new domain, then installed constructor and the same thing happens (tested with several laptops from two different IP addresses also).
    No javascript errors, I have uploaded a screenshot of error to this address:
    http://code.google.com/p/wp-constructor/issues/detail?id=24

    I am baffled as to what would cause this error. I really appreciate the help, your Constructor theme is by far the most superior wp theme I have ever used and I would hate to have change.

  11. Roman

    Здравствуйте, подскажите пожалуйста. Какую бы тему из встроенных не активировал, загружается только “шапка”. Исключение – только “украинская тема”. Она грузится как надо.
    P.S. WordPress 2.7.1

  12. vincent

    hey i’m using the constructor theme on godaddy wordpress. When i try and change the header image under >Customize and then >Images I upload my 1280 x 320 .png image to replace the default. I get nothing. There is no image shown on my site, when I preview the image it’s present but never publishes. I was hoping I could do this without messing with the CSS as I am not very educated in it to start messing with it. I really appreciate any help man thanks!!

  13. vincent

    I’m sorry my header image is actually 1024 x 320

  14. Офигенская штука, спасибо большое Антон!

  15. tata

    Antosha, How to reduce the space between my post and header? It is so big white empty spot I can not use. I tried averything. Also. How what is the best way to put adds in text widget? When I try to put them the text widget just desappears. I lost so many adds I had there. Most of the times when I click on text wid. in sidebar to edit it, widget will delited. I delited 20 banners this way! I wanted to put 250-250 banner and I edited it in the settings but it just does not fit the sidbar.! What settings I should have to be able stick my 250×250 banner??
    See my blog http://winter-boots-dealsblog.com
    Spasibo!

  16. Mac

    wp-content/themes/constructor/css.php
    Line 68: “base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAA…”
    Line 77: “base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAA…”
    Line 86: “base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAA…”
    Line 95: “base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAA…”
    Line 104: “base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAA…”
    Line 114: “base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAA…”

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

    • Вы наверное воспользовались каким-то “секурити” плагином :)

      Этот код необходим для генерации полупрозрачного фона в 6-ти вариантах для всех браузеров – собственно CSS.php – служит именно для генерации CSS файла.

  17. tata

    I fixed banner problem. :)

  18. Frans Schütt

    Hello Mr Shevchuk,

    I like your constructor theme very much. But i can’t get installed the list-variant on the homepage. When i choose for it it under Customise – Layout, it does not change on the homepage. Could you tell me what to do?

  19. Dear Anton,

    What a beautiful and useful theme.

    But there is one thing we could not figure out: how to get onlt the first few sentences, folloed by “…” on the front page. Other themes just du this. They show a short overview, and one klick takes you to the full article. We tried all settings in constructor but could not achieve it.

    Thank you for answering,

    Hanno Wupper

  20. Dan

    Hi–

    I’ve just installed Constructor on this website, and it’s a great theme. I do have one question, though. How can I change the name of the links section in the sidebar from “Blogroll” to “Links”?

    Thanks!

    Dan

    • Hi Dan,
      Default wordpress widget “Blogroll” don’t have options for change title :(

      But you can create category links with any title (like “Links”) and add it by “Blogroll” widget. (choose category what you need)

  21. Привет

    Есть проблема с Вашей темой.
    При показе одной статьи – слетает разметка страницы http://blog.kobr.od.ua/archives/148 – это на винде в firefox 3.5.6 opera 9.62, на opensolaris – firefox 3.1b3 -все ок

    Если честно – я не помню – было ли так в самом начале – или после каких то изменений в настройке темы

    • Привет
      Подозреваю, что баг вылез после автоматического апгрейда темы, попробуй заново распаковать и заменить файл single.php (именно он отвечает за вывод новостей)

      • Все исправил.
        В single.php не хватало закрытого дива после

        <!-- id='container' -->
        

        перед началом вывода
        .

        P.S. Обновление файла не помогло.

  22. Is it possible to remove the legos on the constructor theme?

  23. Hi there, I Looooooove Constructor, it’s stunning, and you have made it a dream to customize.

    Just one thing I can’t figure out — is there any way to switch the smallest font-size from 1.2em to 1.4em (or at least 1.3em) without breaking the layout?

    I’ve tried simply changing the 1.2em values in the style sheet every which way, but the layout always breaks.

    I’m guessing it’s something really obvious that I somehow missed (like eliminating ‘text transform: uppercase;’ to use lower and upper in the title — duh, took me forever)

    So please accept my apology in advance for troubling you with what is probably a silly question.

    It’s just that even with the strongest possible reading glasses, my eyes still strain with such small type.

    Thank you!

    • Hi,
      For change font size – use CSS tab and write follows code:

      #body {
          font-size:1.2em;
      }
      /* or for some part */
      .sidebar {
          font-size:1.4em !important;
      }
      

      For remove text-transform:

      #header .logo {
          text-transform:none !important;
      }
      
  24. Денис

    Здравствуйте Антон,

    есть проблемка с шаблоном Default и левым сайтбаром при просмотре в IE6. Разрывает меню. В птичке и опере все ок.
    Картинка -> http://img130.imageshack.us/img130/2397/blogie6.jpg

    Wordpres Version 2.9.1 Howdy
    Constructor 0.6.9

  25. brasscupcakes

    Did the trick perfectly — now I can read it! Many thanks for your help!

  26. Миша

    Антон, низкий поклон. Это самая замечательная тема для ВП что я встречал.
    Столкнулся с вот какой проблемой:
    если в посте или на странице есть возможность оставлять комментарии, то во всех браузерах (кроме FF, как обычно), содержимое боковой колонки “улетает” куда-то.
    Если отключить возможность оставлять комментарии, то все нормально.

    Wordpres 2.9.1
    Constructor 0.7.2

    Спасибо!

  27. Огромное спасибо, Антон,
    все работает.

    Как нибудь по возможности постараюсь, чтобы спасибо было более материальным :)

  28. Sensor

    Антон, спасибо большое за офигенную тему!

    Скажи, пожалуйста, как в шапку вытащить выборочный список страниц? Желательно без дополнительных виджетов, у меня их и так дофига уже. :)

    В настройках шапки такой возможности нет, может можно как-нибудь ещё исключить ненужные страницы?

    • На данный момент это возможно лишь при помощи виджетов, или вручную изменить код темы.

      • Sensor

        Ок. Спасибо. :)
        Можешь навскидку посоветовать подходящий виджет? Стандартный не подходит, так как он страницы выводит группой “Страницы”.

  29. Добрый день! подскажите каким образом пекрутить WP-PageNavi к конструктору? За ранее благодарен!

    • Для интеграции pagenavi вам необходимо открыть файл constructor/layouts/default.php (либо list/tile), найти div с классом navigation и вставить следующий код:

      <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
  30. Xargon

    Антон, здравствуйте. Вы возможно видели такой замечательный плагин к WP – Pods ? Так вот, в нем есть функция создания страниц, поддерживающих PHP (pod-pages), для того чтобы эти страницы заработали, нужно поместить файл pods.php в каталог с темой.
    В pods.php прописано:

    get_header();
    get_sidebar();
    get_footer();

    естественно, get_sidebar() работает, но не так как нужно. заменяю на get_constructor_sidebar(); – сайдбар не отображается.

    Понимаю что слегка сумбурно объяснил, но проблема вобщем такая. Как вызвать constructor_sidebar из произвольного php-файла, находящегося в каталоге с темой? Спасибо.

    • Собственно таким образом он и вызвается, другой вопрос – поднимает ли pods functions.php темы?
      Если нет – то это нужно сделать вручную:

      include_once('functions.php');
      get_constructor_sidebar();
      
  31. Ian

    Hey Anton,

    Thanks so much for the awesome theme.

    The thing I’m trying to figure out is how I can adjust the height of the text in the header. I’d like it to be centered in the middle of the header box instead of aligned to the top. I’ve tried various css edits, but can’t seem to get it. Any recommendations?

    Thanks!
    Ian

  32. Strikeforce

    Hello,

    First of All, Thank You for this Wonderful Theme. But, i have a problem with the theme. Just have a look at it. I reported this in your Google Code Project Site.

    URL: http://code.google.com/p/wp-constructor/issues/detail?id=55

    Thank You !

  33. Как безболезненно обновить Constructor 0.7.7 на 0.7.8? ато wordpress мне пишет “Доступна свежая версия Constructor. Посмотреть информацию о версии 0.7.8 автоматическое обновление этой темы невозможно.”

  34. Hi Anton,

    I’m still learning Wordpress, but am loving it so far, especially your clean, stylish theme. One thing I haven’t been able to figure out is how to put in a picture for the thumbnails of posts in a list. You can see what I mean here:http://karina.aptarium.com/?page_id=46

    How do I specify a picture to put instead of the question marks?

    Thanks Anton and in general I really appreciate how accessible you have made all of this!

  35. Thank you so much for the wonderful theme. I’m a newbie and have been able to make some changes via css and the theme control.

    I have 2 questions:
    1) How do I change the “a href” link color property? I’ve tried adding color:#00000; to the a property, but it’s having no effect.

    2) I’m having a problem getting rid of the dotted line under the post page title.

    I’ve struggled for the last couple of hours trying to make these changes.

    Thanks

  36. Есть ли возможность изменить стиль отображения коментов?

    • Используя CSS, в админке можно изменить лишь положение и размер аватара…

      Если есть конкретные пожелания – могу подсказать решение.

  37. Хотелось бы чтобы коменты отображались приблизительно так http://faqseo.net/wp-content/uploads/2009/09/twittar1.gif

  38. I downloaded Construtor theme yesterday using Wordpress 2.9.2. The customize theme comes up. The donate message is there and that is all except for 4 black x’s in one coluum. No error messages nothing but the x’s. I am new at this what could be wrong?

  39. Did you receive my email with the screenshot I sent yesterday ?

  40. Hey Anton, what type of image file is supported for the header image? Will the theme support .tff? I want to upload an image with transparency to lay over the body image i’ve uploaded (a 10×10 grid). Any thoughts?

    thanks…

    Great theme!

  41. tatiana

    Hello Anton I trid to activate wp plugin and here what I got
    Plugin could not be activated because it triggered a fatal error.
    Fatal error: Class ‘WP_Widget’ not found in /home/winterb/public_html/wp-content/plugins/wordspinner/wordspinner.php on line 149
    What is the solution?
    also, same question from above; can this theme be upgraded painfulnessly to new version or I will have to rebuild and insert my adds back again?
    Thanks for the plugin.

  42. tatiana

    Never mind. The problem was not in the theme but in upgrade wp. !
    the 2 question still open. Anton, why you don’t install translator here? for english speakers? :)

  43. MAXAOH

    Привет. Как рамки, в которых пишется название статьи сделать уже (по высоте) и добавить в фон??
    Спасибо.

    • Для изменения заголовка можно использовать CSS, в частности изменяя значение отступов:

      .hentry .title, .pagetitle {
        padding:10px 0 14px 12px !important;
      }
      
  44. Hi Anton,

    Thank you for a great design!

    I am a novice and trying to get the slideshow functioning along with pictures showing up in the tile mode (right now I get the question mark images and no text other than the post title). I tried adding the custom field values but nothing changes.

    I apologize for asking such simple questions but I need to know where to start . . .

    Many thanks for your great effort.

  45. Thank you so much for this wonderful theme and the incredible design! I have installed it for my website and it works beautifully.

    You have created a fantastic thing. I wanted to let you know that I have written a small thank you to you on my site so that people would know where to go to in the future if they would like a well designed site as well.

    Again, many thanks to you!

    ~JD

Leave a Reply

Copyright © 2007-2010, Anton Shevchuk. Powered by WordPress

MAXCACHE: 0.35MB/0.01866 sec