Здравствуйте. Возможно ли гостевую книгу mbook v3.1 (скрипт которой я разместил у себя на сайте ) интегрировать в WordPress ( используют одну базу данных). Или это в принципе невозможно?
Интеграция mbook v3.1 в WordPress
Здравствуйте. Возможно ли гостевую книгу mbook v3.1 (скрипт которой я разместил у себя на сайте ) интегрировать в WordPress ( используют одну базу данных). Или это в принципе невозможно?
Помогите получить id категории в которой находишься… Забыл какой запрос… Проблема в том что нужно получить id категории в которой находишься, а не ID рубрик постов которых выводишь…
код <?php the_category_ID(); ?> не покатит… потому что используется более 1 рубрики для записи…
накопилось много изображений и вставлять в запись не очень удобно приходится долго искать(т.к. несколько страниц и названия не помнишь ) есть ли такой плагин который выводил бы картинки на одной странице(для быстрого поиска по минеатюре) а не на нескольких как есть сейчас?
установил эту тему на денвере. http://www.theme-junkie.com/2011/01/30/channelpro-theme-released/ но у меня почему то все показывает в серых тонах. В меню темы выбирал красный, синий все равно ничего не меняется. И не показываются фотки на главной вместо них кружечек крутится. Вообще кто нибудь имел дело с шаблоном ChannelPro ????
вот такая картинка на денвере
помогите разобраться с верхним меню
Theme Name: Etod
http://orel.dp.ua/yoni
не могу никак разобраться где меняется размер и цвет шрифта в шапке в меню! я так понимаю этот отрезок отвечает за размеры и цвет, но я тут уже все меняла и меняется действительно все, кроме цвета и размера в верхнем меню))
помогите плиз!
/* TYPOGRAPHY */
html { font-size:100.01%;}
body {text-shadow:0 1px 0 #000;font-size:100%; color:#dabdc5; background:#36010f; font-family:georgia;}
h1,h2,h3,h4,h5,h6 {font-weight:400; color:#c24e6d;text-shadow:0 1px 0 #000; font-family:Impact!important;font-size:22px;}
h1 {font-size:2.8em; line-height:1; margin-bottom:0.5em;text-shadow:0 1px 0 #000;}
.logo h1 {margin:0; padding:0;}
h2 {font-size:2em; margin-bottom:0.2em;text-shadow:0 1px 0 #000;}
h2.slide {padding:0; margin:0;text-shadow:0 1px 0 #000;}
h3 {font-size:1.6em; line-height:1; margin-bottom:1em;text-shadow:0 1px 0 #000; }
h4 {font-size:1.4em; line-height:1.25; margin-bottom:1em; text-shadow:0 1px 0 #000;}
h5 {font-size:1em; font-weight:bold; margin-bottom:1em; text-shadow:0 1px 0 #000;}
h6 {font-size:1em; font-weight:bold; margin-bottom:1em;text-shadow:0 1px 0 #000;}
Редактирование произвольных полей
Всем привет, не подскажите, как изменить значение произвольного поля записи из записи на сайте
предисловие: есть один не плохой плагин для вп интернет магазина, так вот хочу сделать упрощенную админку для него, что бы просматривать можно было весь товар в табличном виде и хочу добавить маленькую функцию по редактированию количества товара и цены на него, они забиты в custom fields
Добрый день!
Помогите объяснением, советом!
Ситуация следующая –
На сайт http://silaosoznania.ru/ на вордпресс 3.1.2. – на страницы установила <script src="http://odnaknopka.ru/ok2.js" type="text/javascript"></script>
одна кнопка.
Обменяться ссылками с друзьями, добавить в свои социальные закладки: и эту строчку ввела.
Во – первых сайт при загрузке "виснет" (долго грузится), у меня на компьютере выглядит обычно.
А знакомые звонят и рассказывают, что сайт весь сбился уже как несколько дней и очень долго грузится и полностью не загружается.
Перед этим установила кнопки апорт и другие (каталоги).
Но когда долго грузится, в левом нижнем углу отображается – ожидание связи с "одна кнопка".
Или я что – то не так сделала или они не совместимы.
Может и другая проблема?
Теперь уже бы и убрала, но и убрать не получается.
Удалила со страниц. Но все равно показывает связь с "одной кнопкой" – odnaknopka.ru
Подскажите!
Как все исправить?
Откатить WordPress до предыдущей версии, когда все это еще не установила? Новичок – не разу не делала!
Или есть еще варианты?
С благодарностью и уважением,
Наталья.
Здравствуйте хочу установить TDO Mini Forms,но что то побаиваюсь не смогут ли хулиганы внедрить плохой код или скрипт через эту форму?
Всем доброго времени суток!
Возникла вот такая проблема – http://evakuator-moskva.su/news/
Новости сортируются в неправильном порядке. Надо, чтобы сначала шли новые новости, а затем старые.
Искал целый в гугле, прочитал насчет функции wp_list_pages, плагин My Category Order и многое другое, но не нашел ответа.
Подскажите, пож-та, как мне отсортировать новости по дате по убыванию (вроде это так называется)
Заранее большое спасибо. Отблагодарю копейкой.
В общем ситуация такая, установил вордпрес (3.1.3) к себе на комп.(денвер), работает вроде все нормально, в админке во вкладке плагины отображается 59 плагинов, так я думаю и должно быть, но вопрос не в том,- Точно также я установил и денвер и вордресс на ноутбук, Вот только плагинов там почему- то только 3, а остальные не пойму где, уже весь интернет перерыл, не найду причины! Почему на компе 59, а на ноуте 3!!!???
Добрый день у меня такая проблема.
Делал сайт на WP
http://www.montearte.com/
но заказчик требует растянуть шапку на всю ширину страницы, уже несколько дней копаюсь на форумах нигде не могу найти ответ
вот style.css
/*
Theme Name: Coraline
Theme URI: http://wordpress.org/extend/themes/coraline/
Description: A squeaky-clean theme featuring a custom menu, header, background, and layout. Coraline supports 7 widget areas (up to 3 in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes styles for print and the Visual Editor, special styles for posts in "Asides" and "Gallery" categories, and has an optional full-width page template that removes the sidebar.
Author: Automattic
Author URI: http://automattic.com/
Version: 1.0.2
Tags: black, white, dark, light, one-column, two-columns, three-columns, left-sidebar, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, microformats, rtl-language-support, translation-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you’ve learned with others.
*/
/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
————————————————————– */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, caption, table, tbody, tfoot, thead, tr, th, td {
border: 0;
font-family: inherit;
font-style: inherit;
font-weight: inherit;
margin: 0;
outline: 0;
padding: 0;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
background: #fff;
color: #333;
line-height: 1;
}
ol, ul {
list-style: none;
}
/* tables still need ‘cellspacing="0"’ in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
font-weight: normal;
text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
a img {
border: 0;
}
/* =Structure
———————————————– */
body {
padding: 0 3.8%;
}
#header {
float: left;
width: 100%;
}
#container {
clear: both;
margin: 0 ;
}
#content-container {
width: 100%;
}
#main-sidebars {
max-width: 450px;
width: 45.5%;
}
#feature {
width: 100%;
}
#primary,
#secondary {
overflow: hidden;
}
#footer {
clear: both;
width: 100%;
}
/* 2-column layouts */
.two-column #container {
max-width: 100%;
}
.two-column #content {
width: 68%;
}
.two-column #primary,
.two-column #secondary {
float: right;
width: 30%;
}
/* 3-column layouts */
.three-column #container {
max-width: 1024px;
}
.three-column #content {
width: 50.5%;
}
.three-column #primary {
width: 50.15%;
}
.three-column #secondary {
width: 39.89%;
}
/* Content-Sidebar layouts */
.content-sidebar #content-container {
float: left;
margin: 0 -30.4% 0 0;
}
.content-sidebar #content {
margin: 0 35.1% 0 0;
}
.content-sidebar #primary,
.content-sidebar #secondary {
float: right;
}
.content-sidebar #secondary {
clear: right;
}
/* Sidebar-Content layouts */
.sidebar-content #content-container {
float: right;
margin: 0 0 0 -30.4%;
}
.sidebar-content #content {
margin: 0 0 0 35.1%;
}
.sidebar-content #primary,
.sidebar-content #secondary {
float: left;
}
.sidebar-content #secondary {
clear: left;
}
/* Content-Sidebar-Sidebar layouts */
.content-sidebar-sidebar #content-container {
float: left;
margin: 0 -45.5% 0 0;
}
.content-sidebar-sidebar #content {
margin: 0 49.5% 0 0;
}
.content-sidebar-sidebar #main-sidebars {
float: right;
}
.content-sidebar-sidebar #feature,
.content-sidebar-sidebar #primary,
.content-sidebar-sidebar #secondary {
float: left;
}
.content-sidebar-sidebar #secondary {
margin: 0 0 0 9.88%;
}
/* Sidebar-Sidebar-Content layouts */
.sidebar-sidebar-content #content-container {
float: right;
margin: 0 0 0 -45.5%;
}
.sidebar-sidebar-content #content {
margin: 0 0 0 49.5%;
}
.sidebar-sidebar-content #feature,
.sidebar-sidebar-content #primary,
.sidebar-sidebar-content #secondary {
float: left;
}
.sidebar-sidebar-content #secondary {
margin: 0 0 0 9.88%;
}
/* Sidebar-Content-Sidebar layouts */
.sidebar-content-sidebar #content-container {
float: left;
}
.sidebar-content-sidebar #content {
margin: 0 24.8%;
}
.sidebar-content-sidebar #primary,
.sidebar-content-sidebar #secondary {
width: 20.69%;
}
.sidebar-content-sidebar #primary {
float: left;
margin: 0 0 0 -100%;
}
.sidebar-content-sidebar #secondary {
float: right;
margin: 0 0 0 -20.7%;
}
/* Full width content with no sidebar; used for attachment pages */
.full-width #content,
.single-attachment #content {
margin: 0 auto;
width: 100%;
}
/* Alignment */
.alignleft {
display: inline;
float: left;
margin-right: 0px;
}
.alignright {
display: inline;
float: right;
margin-left: 0px;
}
.aligncenter {
clear: both;
display: block;
margin-left: 0px;
margin-right: 0px;
}
/* =Typography
———————————————– */
body, input, textarea {
color: #333;
font: 14px Georgia, "Bitstream Charter", serif;
line-height: 1.7;
}
/* Headings */
h1, h2, h3 {
color: #000;
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
font-weight: bold;
text-rendering: optimizelegibility;
}
h1 {
letter-spacing: -0.03em;
}
hr {
background-color: #ccc;
border: 0;
height: 1px;
margin-bottom: 1.7em;
}
/* Text elements */
p {
margin-bottom: 1.7em;
}
ul, ol {
margin: 0 0 1.7em 2.5em;
}
ul {
list-style: square;
}
ol {
list-style-type: decimal;
}
ol ol {
list-style: upper-alpha;
}
ol ol ol {
list-style: lower-roman;
}
ol ol ol ol {
list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
margin-bottom: 0;
}
dl {
margin: 0 1.7em;
}
dt {
font-weight: bold;
}
dd {
margin-bottom: 1.7em;
}
strong {
font-weight: bold;
}
cite, em, i {
font-style: italic;
}
blockquote {
font-style: italic;
margin: 0 30px 1.7em;
}
pre {
background: #f4f4f4;
font: 13px "Courier 10 Pitch",Courier,monospace;
line-height: 1.7;
margin-bottom: 1.7em;
padding: 0.85em 1.7em;
}
code {
font: 12px Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace;
}
abbr, acronym {
border-bottom: 1px dotted #666;
cursor: help;
}
ins {
background: #fff9c0;
text-decoration: none;
}
sup,
sub {
font-size: 10px;
height: 0;
line-height: 1;
position: relative;
vertical-align: baseline;
}
sup {
bottom: 1ex;
}
sub {
top: .5ex;
}
input[type=text],
textarea {
border: 1px solid #888;
}
textarea {
padding-left: 3px;
width: 98%;
}
input[type=text] {
padding: 3px;
}
/* Links */
a {
color: #0060ff;
}
a:visited {
color: #333;
}
a:active,
a:hover {
color: #df0000;
}
h1 a, h2 a, h3 a {
color: #000;
text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover {
color: #009900;
}
/* Text meant only for screen readers */
.screen-reader-text {
position: absolute;
left: -9000px;
}
/* =Header
———————————————– */
#header {
margin: 0 0 0px;
}
#masthead {
padding: 28px 0 0 0;
}
#site-title {
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
font-size: 36px;
letter-spacing: -0.03em;
line-height: 42px;
text-align: center;
}
#site-title a {
color: #5555;
font-weight: bold;
text-decoration: none;
}
#site-description {
color: #000;
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
font-size: 18px;
margin: 0 0 9px 0;
text-align: center;
}
#branding img {
border: 1px solid #000;
border-width: 3px 0 1px;
max-width: 100%;
width: auto;
height: auto;
}
/* =Menu
———————————————– */
#access {
border-top: 1px solid #ccc;
display: block;
float: left;
margin: 0 auto;
padding: 1px 0 0;
width: 100%;
}
#access ul {
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
font-size: 13px;
font-weight: bold;
list-style: none;
margin: 0;
padding-left: 0;
text-transform: uppercase;
}
#access li {
float: left;
position: relative;
}
#access a {
color: #000;
display: block;
line-height: 2em;
margin: 0 1px 0 0;
padding: 0.25em 1em 0;
text-decoration: none;
}
#access ul ul {
-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
box-shadow: 0 3px 3px rgba(0,0,0,0.2);
display: none;
float: left;
font-weight: normal;
position: absolute;
top: 29px;
left: 0;
text-transform: none;
z-index: 99999;
width: 180px;
}
#access ul ul ul {
left: 100%;
top: 0;
}
#access ul ul a {
background: #000;
color: #eee;
line-height: 1em;
margin: 0;
padding: .66em .5em .5em 1em;
min-width: 180px;
height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
background: #000;
color: #fff;
}
#access ul ul a:hover {
background: #222;
}
#access ul li:hover > ul {
display: block;
}
#access .current_page_item a {
background: #000;
color: #fff;
}
/* =Content
———————————————– */
.page-title {
border-bottom: 1px solid #ccc;
border-top: 3px solid #000;
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
font-size: 13px;
font-weight: bold;
letter-spacing: 0.025em;
margin: 0 0 0 0;
padding: 2px;
text-transform: uppercase;
}
.hentry {
margin: 0 0 3.4em;
}
.single .hentry {
margin: 0 0 1.7em;
}
.sticky {
background: #fff9c0;
border-top: 3px solid #d9d4a3;
border-bottom: 1px solid #D9D4A3;
padding: 1.7em;
}
.sticky .entry-meta {
display: none;
}
.entry-title {
font-size: 20px;
letter-spacing: 0;
line-height: 24px;
padding: 0 0 8px;
}
.entry-title a {
color: #000;
}
.entry-meta {
color: #888;
font: 12px "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
.entry-meta a {
color: #888;
}
.entry-meta a:hover {
color: #df0000;
}
.byline {
display: block;
position: absolute;
left: -9000px;
}
.entry-content,
.entry-summary {
margin: 0.85em 0 0 0;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
margin-bottom: 0.425em;
}
.entry-content h1,
.entry-content h2 {
font-size: 28px;
line-height: 34px;
}
.entry-content h1 {
border-bottom: 1px solid #ccc;
padding-bottom: 0.425em;
}
.entry-content h3 {
letter-spacing: 0.025em;
text-transform: uppercase;
}
.entry-content h4 {
color: #888;
font-size: 17px;
font-style: italic;
}
.entry-content h5,
.entry-content h6 {
font-weight: bold;
}
.entry-content h5 {
font-size: 12px;
}
.entry-content h6 {
font-size: 10px;
}
.entry-content table {
border: 1px solid #ccc;
margin: 0 -1px 24px 0;
text-align: left;
}
.entry-content tr th,
.entry-content thead th {
font: 12px "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
font-weight: bold;
line-height: 18px;
padding: 9px 12px;
}
.entry-content tr td {
border-top: 1px solid #ccc;
padding: 6px 12px;
}
.entry-content tr.odd td {
background: #f2f7fc;
}
.entry-content table dl {
margin: 0;
}
.entry-content .gallery {
margin: 0 auto 1.7em;
}
#content .gallery .gallery-item {
float: left;
margin-top: 0;
text-align: center;
width: 33.333%;
}
#content .gallery .gallery-caption {
color: #888;
font-size: 12px;
margin: 0 0 0.7em 0;
}
#content .gallery dl {
margin: 0;
}
#content .gallery img {
padding: 4px;
}
#content .gallery br+br {
display: none;
}
#content .attachment img { /* single attachment images should be centered */
display: block;
margin: 0 auto;
}
.page-link {
font-weight: bold;
margin: 0 0 1.7em;
word-spacing: 0.25em;
}
.page-link a {
font-weight: normal;
}
.entry-info {
clear: both;
color: #888;
font-size: 13px;
position: relative;
}
.entry-info a {
color: #888;
}
.entry-info a:hover {
color: #df0000;
}
.entry-info p {
margin: 0;
}
.entry-info .comments-link a {
color: #333;
display: block;
float: right;
font-weight: bold;
margin: -2px 1px 0 5px;
padding: 2px 10px;
text-decoration: none;
}
.entry-info .comments-link a:hover {
background: #222;
background-image: -moz-linear-gradient(100% 100% 90deg, #111, #333);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#333), to(#111));
-moz-border-radius: 14px;
border-radius: 14px;
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
color: #fff;
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
}
.entry-info .edit-link {
clear: both;
}
/* =Attachments
———————————————– */
.image-attachment div.entry-meta {
float: left;
}
.image-attachment #image-navigation {
float: right;
margin: -1px 0 0.85em 0;
}
.image-attachment .entry-content {
clear: both;
}
.image-attachment .entry-content .entry-attachment {
background: #eee;
margin: 0 0 1.7em;
padding: 0.85em;
text-align: center;
}
.image-attachment .entry-content .attachment {
display: block;
margin: 0 auto;
text-align: center;
}
.image-attachment .entry-content .entry-caption p {
margin: 0;
padding: 0.85em 0 0;
}
/* =Images
———————————————– */
#content img.size-auto,
#content img.size-large,
#content img.size-full,
#content img.size-medium,
#content img.size-thumbnail,
.attachment img {
max-width: 100%;
width: auto;
height: auto;
}
#content img.wp-smiley {
margin: 0;
}
img.alignleft,
img.alignright,
img.aligncenter {
margin-bottom: 2px;
}
.wp-caption {
background: #eee;
font: 12px "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
margin-bottom: 1.7em;
padding: 5px 3px 10px;
text-align: center;
max-width: 96%;
}
.wp-caption img,
#content .wp-caption img {
margin: 2px 0 0 0;
max-width: 98.5%;
width: auto;
height: auto;
}
.wp-caption .wp-caption-text {
margin: .5em 0 0 0;
}
#content object,
#content embed {
max-width: 100%;
}
/* =Asides
————————————————————– */
.home #content .aside {
border-left: 1px solid #ccc;
font-size: 13px;
margin: 0;
padding: 0 0 0 0.85em;
}
/* =Gallery listing
————————————————————– */
.category-gallery .size-thumbnail img {
border: 10px solid #eee;
margin-bottom: 0;
}
.category-gallery .gallery-thumb {
float: left;
margin-right: 0.85em;
}
.home #content .category-gallery .entry-info {
}
/* =Navigation
————————————————————– */
.navigation {
margin: 0 0 1.7em 0;
overflow: hidden;
}
.navigation a:visited {
color: #0060ff;
}
.navigation a:visited:hover,
.navigation a:active,
.navigation a:hover {
color: #df0000;
}
.nav-previous {
float: left;
width: 50%;
}
.nav-next {
float: right;
text-align: right;
width: 50%;
}
#nav-above {
}
#nav-above,
.single #nav-below {
display: none;
}
.paged #nav-above,
.single #nav-above {
display: block;
}
/* =Widgets
———————————————– */
.widget-area {
overflow: hidden;
}
.widget-area,
.widget-area input {
font-size: 12px;
line-height: 18px;
}
.widget-area ul ul a {
text-decoration: none;
}
.widget-area ul ul a:hover {
text-decoration: underline;
}
.widget-area ul {
list-style: none;
margin: 0;
}
.widget-area ul ul {
list-style: square;
margin: 0 0 1.5em 1.5em;
}
.widget-area ul ul ul {
margin-bottom: 0;
}
.widget-area ul ul li {
padding: 4px 0;
}
.widget-title {
border-bottom: 1px solid #ccc;
border-top: 3px solid #000;
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
font-size: 13px;
font-weight: bold;
letter-spacing: 0.025em;
margin: 0 0 8px 0;
padding: 2px;
text-transform: uppercase;
}
.widget-container {
margin: 0 0 1.5em 0;
}
/* Search Widget */
#s {
width: 60%;
}
/* Calendar Widget */
#wp-calendar {
width: 100%;
}
#wp-calendar caption {
font: 13px "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
font-weight: bold;
text-align: left;
padding: 0 2px 6px;
}
#wp-calendar th {
color: #888;
font-size: 11px;
text-align: center;
}
#wp-calendar tbody td {
text-align: center;
}
#wp-calendar tfoot td {
padding-top: .2em;
}
#wp-calendar tfoot #next {
text-align: right;
}
#wp-calendar tbody a {
text-decoration: underline;
}
#wp-calendar a:visited {
color: #0060ff;
}
#wp-calendar a:visited:hover {
color: #df0000;
}
/* Flickr Widget (WP.com) */
#flickr_badge_wrapper {
background-color: transparent !important;
border: none !important;
}
/* Cloud Widgets */
.wp_widget_tag_cloud div,
.widget_tag_cloud div {
line-height: 1.7em;
padding: 0.2em 0;
}
/* =Comments
———————————————– */
#comments {
word-wrap: break-word;
}
#comments h3 {
border-bottom: 1px solid #ccc;
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
font-size: 13px;
font-weight: bold;
letter-spacing: 0.025em;
margin: 0 0 8px 0;
padding: 2px;
text-transform: uppercase;
}
#comments ol {
list-style: none;
margin-left: 0;
}
#comments ul {
list-style: none;
margin-left: 0.425em;
}
#comments li {
position: relative;
}
#comments li.pingback {
background: #eee;
margin: 0 0 1.7em;
padding: 0.85em;
}
#comments li.pingback + li.pingback {
margin-top: -1.65em;
}
#comments li.pingback p {
font: 12px "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
margin: 0;
}
#comments ul li {
border-left: 1px solid #ccc;
border-bottom: none;
padding: 0 0 0 0.85em;
}
#comments .comment-author {
margin: 0 66px 0.85em 0;
}
#comments .comment-author cite {
font-size: 16px;
font-style: normal;
font-weight: bold;
}
#comments .comment-meta,
#comments .comment-meta a {
color: #888;
font: 12px "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
#comments .comment-meta a:hover {
color: #df0000;
}
#comments .avatar {
border: 1px solid #ccc;
padding: 3px;
position: absolute;
top: 0;
right: 0;
}
#comments .comment-body {
margin-right: 66px;
}
#respond input[type=text] {
float: left;
margin: 0 10px 0 0;
}
#respond .comment-form-comment {
margin: 0;
}
#respond .comment-form-comment label {
display: none;
}
#respond .form-allowed-tags {
color: #888;
font-size: 12px;
}
#respond .form-allowed-tags code {
font-size: 11px;
}
.bypostauthor {
}
/* =Footer
———————————————– */
#footer {
padding: 0 0 1.7em;
}
#footer .widget-area {
float: left;
margin: 0 4.04% 0 0;
width: 21.9699%;
}
.two-column #footer .widget-area {
margin: 0 5.19% 0 0;
width: 47.4%;
}
.two-column #footer #second,
#footer #fourth {
margin: 0;
}
#colophon {
border-top: 1px solid #ccc;
clear: both;
color: #888;
font-size: 12px;
font-style: italic;
line-height: 16px;
padding: 1.6em 0 0;
text-align: center;
}
#colophon a {
color: #888;
text-decoration: none;
}
#colophon a:hover {
color: #df0000;
}
#colophon .generator-link {
background: url("images/wordpress.png") no-repeat left center;
display: inline-block;
margin: 0 0 0 3px;
padding-left: 20px;
}
#footer img#wpstats {
display: block;
margin: 0 auto 10px;
}
/* =Print Style
————————————————————– */
@media print {
body,
pre,
ins {
background: none !important;
}
body, input, textarea {
font: 12pt Georgia, "Bitstream Charter", serif;
line-height: 1.5;
}
#container {
clear: both !important;
display: block !important;
float: none !important;
position: relative !important;
}
#content {
width: 100% !important;
}
#header {
border-bottom: 1pt solid #000;
padding-bottom: 18pt;
}
#colophon {
border-top: 1pt solid #000;
}
#site-title,
#site-description {
float: none;
line-height: 1.4em;
margin: 0;
padding: 0;
text-align: left;
}
#site-title {
font-size: 13pt;
}
#site-description {
font-size: 10pt;
}
.entry-content {
font-size: 10pt;
line-height: 1.5em;
padding-top: 15pt;
}
.entry-title {
font-size: 16pt;
padding-top: 36pt;
}
#access,
#header img,
#respond,
.comment-edit-link,
.edit-link,
.navigation,
.page-link,
.widget-area,
.sharing,
#wpl-likebox {
display: none !important;
}
.sidebar-content #content-container {
float: none;
margin: 0 0 0 -35.4%;
}
.sidebar-content-sidebar #content-container {
float: none;
margin: 0 0 0 -24.8%;
}
.sidebar-sidebar-content #content-container {
float: none;
margin: 0px 0px 0px -49.5%;
}
#content-container,
#header,
#footer {
margin: 0;
width: 100%;
}
#content,
.full-width #content {
margin: 24pt 0 0;
width: 100%;
}
.wp-caption p {
font-size: 11pt;
}
#site-info,
#site-generator {
float: none;
width: auto;
}
#colophon {
width: auto;
}
#comments {
font-size: 10pt;
line-height: 1.5em;
}
img#wpstats {
display: none;
}
#site-generator a {
margin: 0;
padding: 0;
}
.generator-link {
background: url("images/wordpress.png");
}
#entry-author-info {
border: 1px solid #e7e7e7;
}
#content-box {
display: inline;
}
.home .sticky {
border: none;
background: transparent;
}
}
/* =IE6
————————————————————– */
#ie6 .two-column #container {
overflow: hidden;
width: 770px;
}
#ie6 .three-column #container {
width: 990px;
}
#ie6 #content {
overflow: hidden;
}
#ie6 #main-sidebars {
max-width: 450px;
width: 45.2%;
}
#ie6 .content-sidebar-sidebar #secondary,
#ie6 .sidebar-sidebar-content #secondary {
margin: 0 0 0 4%;
}
#ie6 .sidebar-content-sidebar #primary {
margin: 0 0 0 -100%;
}
Feedburner – подписка на ленту RSS и Email.
Сам с нуля занимаюсь созданием своего блога на WordPress , медленно но уверенно . Когда встал вопрос о подписке и рассылке сообщений на RSS и Email возникло несколько вопрослв , которые не могу решить уже неделю. В общем организовал RSS и Email рассылку подписчикам , но сообщения на Email приходят не он лайн как в Subscribe to comments , а произвольные промежутки времени суток, хотя в настройках я выставляю нужные мне промежутки времени доставки сообщений подписчикам.
Вопрос к знатокам: Возможно ли в Feedburner отправлять он лайн сообшения подписчикам? Или хотя бы подскажите как разобраться с установкой промежутков времени для их отправки ?
внедрение системы биллинга на WordPress
сабж собственно, кто сталкивался, кто в курсе, подозреваю что готовых решений нет_)
помогите разобраться с плагином
установил плагин russocialknopki-23 который устанавливает соц.кнопки в конец статьи,а как можно что бы установить эти кнопки в другом месте например на главной станице не в статье?
вот какой код там
<?php
/*
Plugin Name:RusSocialKnopki 23
Plugin URI: http://vsyoprosto.ru/plagin-russocialknopki-23-versiya-2-20032011.html
Description: Плагин вывода кнопок русских социальных сетей после постов. Всего 23 кнопки кнопки закладок и социальных сервисов. А также кнопка вывода на печать.
Author: Sergey Dolshenko
Version: 2.2.12042011
Author URI: http://vsyoprosto.ru
*/
function scz_knopki_23($content){
if( !is_home()) {
$content.= "<link rel=\"stylesheet\" type=\"text/css\" href=\"/wp-content/plugins/russocialknopki-23/stules/stules.css\">
<div class=\"buttons\">
Если статья Вам понравилась и оказалась для вас полезной, то поделитесь ей с другими:<br /><br />
<script type=\"text/javascript\" src=\"/wp-content/plugins/russocialknopki-23/js/buttons.js\"></script>
<script type=\"text/javascript\">buttons('/wp-content/plugins/russocialknopki-23/js/')</script>
<p style=\"text-align: right;\"><a href=\"http://vsyoprosto.ru/plagin-russocialknopki-23-versiya-2-20032011.html\" target=\"_blank\" title=\"Как поставить себе такие кнопки социальных сетей и закладок\">Хочу себе плагин с такими кнопками</a></p>
</div>";
}
return $content;
}
add_filter ('the_content', 'scz_knopki_23');
?>
помогите кто разбирается!!!
Помогите вставить блок в верх index
Добрый день! Помогите настроить внешний вид главной страницы:
В начале главной страницы, ниже шапки, нужно вывести 3 блоки новостей (рубрика, фото, заглавие, краткое описание).
Тестируете сайт на localhost. Тема ChannelPro 1.0.2.
Буду рад советам! Спасибо!
Подскажите плиз можно ли как-нибудь создать пустые страницы в админке wordpress, чтобы потом можно было бы создать точно с такими же id на другом wordpress?
Желательно не руками, а сгенерировать скриптом.
Здравствуйте.
Думаю, кто-нибудь стыкался уже с такой проблемой и сможет мне помочь.
Так как Гугл не помог, пишу вам, дорогие знатоки.
tanzaku 1.1.1 от TRIPLESHIPS Inc.
Cellar Heat Light от Evan Eckard
Одну из этих тем думаю использовать (еще не определился точно, но думаю это не столь важно).
Проблема состоит в том, чтобы по нажатию на ссылку допустим «случайные посты», посты в случайном порядке выводились на главную. Подождите, не материтесь, я еще не закончил вопрос.
Не в сайдбаре, не только заголовки списком, и не сразу после загрузке главной страницы, а в том же самом виде как они расположены на главной странице только случайно, после нажатия на ссылку. Также как они выводятся при нажатии на теги, в виде миниатюр.
Не плохой совет встречал по написанию кода в самой странице, в режиме html редактирования, после установки плагина PHP Execution.
<?php query_posts('orderby=rand&showposts=10');
if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php endwhile; endif; ?>
Но все равно не то. На странице они выглядят несколько иначе, чем бы хотелось.
Сайта как такого еще нет, только начал делать.
Встретить такие ссылки можно на том же bash.org.ru или demotivators.ru
Возможно ли такое реализовать в WordPress?
Есть блог на WP и есть другой сайт
Базы находятся в одной схеме MySQL
Мне надо для каждого поста выставлять свою категорию, а сами категории вычитывать из другой базы другого сайта
Я хочу добавить поле на странице создания статьи, в котором можно было бы выбирать значения заполнены из другой базы
Но вот не знаю как это реализовать
Я понимаю что можно сделать что то типа – add_meta_box и заполнить его значениями из запроса типа – SELECT `name` FROM DB2.Categories
Но это в теории, но как на практике реализовать такой плагин?
Хочу именно плагин, что бы при обновлении WP ни чего не пострадало
Подскажите пожалуйста!
Заранее, большое спасибо!
Здравствуйте хочу сделать на сайте "Акции сайта "
Какой плагин для этого нужен или как это сделать.
Заранее спасибо всем
Подскажите пожалуйста, какой плагин подойдёт для вывода самых посещаемых блогов. И ещё для вывода самых последних созданных блогов.