Помощник
|
Вопрос по WordPress |
Antiment
|
Сообщение
#1
|
||
|
|
||
|
|||
mmkulikov |
25.9.2015, 14:48;
Ответить: mmkulikov
Сообщение
#2
|
|
Antiment, Если не заморачиваться - тогда так:
Код <div class="slider-inner">
<?php while ( $query->have_posts() ) : $query->the_post(); ?> <div class="slide"> <a href="<?php the_permalink(); ?>"> <?php if ( has_post_thumbnail() ) : ?> <?php the_post_thumbnail( 'oria-carousel' ); ?> <?php else : ?> <?php echo '<img src="' . get_stylesheet_directory_uri() . '/images/placeholder.png"/>'; ?> <?php endif; ?> </a> <?php the_title( sprintf( '<h3 class="slide-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h3>' ); ?> </div> <?php endwhile; ?> </div> -------------------- VPS от 5€ |
|
|
sergsg |
6.10.2015, 22:31;
Ответить: sergsg
Сообщение
#3
|
|
Товарищи, даже не уверен, что можно так делать, но пока не могу создавать свои темы.
У меня тоже вопрос по WP. Как правильно сделать главную страницу статической? Подскажите нубу. -------------------- |
|
|
Ortero |
6.10.2015, 22:46;
Ответить: Ortero
Сообщение
#4
|
|
sergsg, http://joxi.ru/1A5QopJCexgqAE
-------------------- |
|
|
Antiment
|
Сообщение
#5
|
|
Еще вопрос по css, нужно уменьшить это всплывающее окно примерно на 15-20 пикселей.
Заранее спасибо. Код /* Reset */
.dc-contact-content .slick-form, .dc-contact-content .slick-form fieldset, .dc-contact-content ol, .dc-contact-content li, .dc-contact-content .slick-form .text-input, .dc-contact-content .slick-form .text-area, .dc-contact-content .slick-form button {margin: 0; padding: 0; list-style: none; border: none;} /* Form */ .dc-contact-content .slick-form {padding: 15px;} .dc-contact-float .dc-contact-content .slick-form {padding: 0 15px;} .dc-contact-content .slick-form li {display: block; margin: 0 0 5px 0; position: relative;} .dc-contact-content .slick-form li.input-row, .dc-contact-content .slick-form li.text-row {padding: 0 0 0 7px; background: url(images/bg_input.png) no-repeat 0 0;} .dc-contact-content .slick-form li.input-row {height: 32px;} .dc-contact-content .slick-form li.text-row {height: 136px; background-position: 0 -96px;} .dc-contact-content .slick-form li.button-row {text-align: right; padding: 3px 0;} .dc-contact-content .slick-form li.comment-row {font-size: 12px; line-height: 16px; padding: 3px 0;} /* Anti-spam row - hide row from users */ .dc-contact-content .slick-form li.nocomment {display: none;} .dc-contact-content .slick-form .text-input, .dc-contact-content .slick-form .text-area {background: none; color: #000; font: normal 12px Arial, sans-serif; background: url(images/bg_input.png) no-repeat 100% 0; width: 100%!important;} .dc-contact-content .slick-form .text-input {padding: 0; height: 32px;} .dc-contact-content .slick-form .text-area {padding: 7px 0; height: 136px; background-position: 100% -96px;} /* Form Validation */ .dc-contact-content span.error {font-size: 11px; font-weight: bold; display: none; background: url(images/bg_input.png) no-repeat 0 -548px; padding: 7px 12px 8px 20px; line-height: 11px; height: 11px; position: absolute; top: 4px; color: #fff; text-shadow: 1px 1px 1px #000;} .dc-contact-content span.focus.error {background-position: 0 -578px;} .dc-contact-slick.left .dc-contact-content span.error, .align-left .dc-contact-content span.error {right: 0;} .dc-contact-slick.right .dc-contact-content span.error, .align-right .dc-contact-content span.error {background-position: 100% -548px; padding: 7px 20px 8px 12px; left: 0;} .dc-contact-content .slick-form li.error, .dc-contact-content .slick-form li.error .text-input, .dc-contact-content .slick-form li.error .text-area {color: #ae0000;} .dc-contact-content .slick-form li.input-row.error {background-position: 0 -64px;} .dc-contact-content .slick-form li.text-row.error {background-position: 0 -396px;} .dc-contact-content .slick-form li.error .text-input {background-position: 100% -64px;} .dc-contact-content .slick-form li.error .text-area {background-position: 100% -396px;} /* On Focus */ .dc-contact-content .slick-form li.input-row.focus {background-position: 0 -32px;} .dc-contact-content .slick-form li.text-row.focus {background-position: 0 -246px;} .dc-contact-content .slick-form li.focus .text-input {background-position: 100% -32px;} .dc-contact-content .slick-form li.focus .text-area {background-position: 100% -246px;} .dc-contact-content li.focus span.error, .dc-contact-content li.focus span.error {background-position: 0 -578px;} .right .dc-contact-content li.focus span.error, .align-right .dc-contact-content li.focus span.error {background-position: 100% -578px;} /* Response */ .dc-contact-content .slick-response {display: none; text-align: center;}
Прикрепленные файлы
-------------------- |
|
|
santis |
7.10.2015, 14:03;
Ответить: santis
Сообщение
#6
|
|
Ты скинул левый CSS тут нет "slider-inner"
-------------------- |
|
|
Antiment
|
Сообщение
#7
|
|
santis, Да, прошу прощения, вот файл тот, что надо.
Прикрепленные файлы
-------------------- |
|
|
santis |
7.10.2015, 15:09;
Ответить: santis
Сообщение
#8
|
|
Antiment, скинь в личку проект(ссылку на него) ) ты даешь не тефайлы что нужны
-------------------- |
|
|
Antiment
|
Сообщение
#9
|
|
Вопрос так и не решен...кто может подсказать ?
-------------------- |
|
|
Элантрис |
13.10.2015, 15:15;
Ответить: Элантрис
Сообщение
#10
|
|
Вопрос так и не решен...кто может подсказать Ссылку на сайт в ЛС скиньте. -------------------- Контакты для связи: elantris.g{собачка}gmail.com Отвечаю в будни c 9:00 по 23:00, в выходные дни недоступен. |
|
|
|
Похожие темы
Тема | Ответов | Автор | Просмотров | Последний ответ | |
---|---|---|---|---|---|
Нужен кодер, чтобы пофиксить ошибку Wordpress после переноса сайта | 0 | Alex-777 | 842 | 7.4.2024, 18:05 автор: Alex-777 |
|
Продам базу сайтов Wordpress в 16 миллионов доменов! Свежая сборка. | 17 | Boymaster | 10912 | 17.3.2024, 2:53 автор: Boymaster |
|
Перенос сайта на CMS Wordpress | 8 | freeax | 4955 | 10.3.2024, 14:58 автор: freeax |
|
Как настроить в WordPress для SEO оптимизации | 8 | rownong27 | 2474 | 2.3.2024, 12:59 автор: toplinks |
|
Восстановление сайтов из Вебархива на Wordpress. | 39 | freeax | 32735 | 14.2.2024, 14:32 автор: freeax |
Текстовая версия | Сейчас: 19.4.2024, 7:00 |