kalian

Два жизненноважных вопроса!

1. Как сделать выбранную рубрику постоянной на главной странице ?
2. Добавил я рубрику "Главная" (хочу сделать ее постоянной на главной странице сайта) но она стоит не на первом месте в списке рубрик. Как поставить ее на первое место? Тоесть поменять значение ID на 1 ?

tinymce – в чем проблемы?

Установил папку tinymce в которой еще были папки docs, examples, jscripts в wp-includes/js/tinymce/plugins/ – (папку docs не заливал), потом залил advanced-wysiwyg.php и активировал его, и пропали изображения в редакторе (одни теги отображаются).
Потом залил все плагины из папки plugins сюда wp-includes/js/tinymce/plugins/
прописал в advanced-wysiwyg.php такое:

<?php
/*
Plugin Name: Advanced WYSIWYG Editor
Plugin URI: http://www.labnotes.org/
Description: Adds more styling options to the WYSIWYG post editor.
Version: 0.2
Author: Assaf Arkin
Author URI: http://labnotes.org/
License: Creative Commons Attribution-ShareAlike
Tags: wordpress tinymce
*/

if (isset($wp_version)) {
    add_filter("mce_plugins", "extended_editor_mce_plugins", 0);
    add_filter("mce_buttons", "extended_editor_mce_buttons", 0);
    add_filter("mce_buttons_2", "extended_editor_mce_buttons_2", 0);
    add_filter("mce_buttons_3", "extended_editor_mce_buttons_3", 0);
}


function extended_editor_mce_plugins($plugins) {
    array_push($plugins, "table", "fullscreen", "_template", "advhr", "advimage", "advlink", "autosave", "cleanup",
"contextmenu", "directionality", "emotions", "flash", "fullpage", "fullscreen", "iespell", "inlinepopups", "insertdatetime",
"layer", "noneditable", "paste", "preview", "print", "save", "searchreplace", "style", "table", "zoom");
    return $plugins;
}


function extended_editor_mce_buttons($buttons) {
return array(
        "formatselect", "bold", "italic", "underline", "strikethrough", "separator",
        "bullist", "numlist", "indent", "outdent", "separator",
        "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator",
        "link", "unlink", "anchor", "image", "hr", "separator",
        "cut", "copy", "paste", "undo", "redo", "separator",
        "table", "sub", "sup", "forecolor", "backcolor", "charmap", "separator",
        "code", "fullscreen", "wordpress", "wphelp");
}

function extended_editor_mce_buttons_2($buttons) {
    // Add buttons on the second toolbar line
   // return $buttons;
return array(
    "formatselect", "fontselect", "fontsizeselect","separator", "bold", "italic", "underline", "strikethrough", 
    "separator","justifyleft", "justifycenter", "justifyright", "justifyfull", "separator", "bullist", "numlist", 
    "indent", "outdent", "separator", "table" , "separator", "insertdate");
}

function extended_editor_mce_buttons_3($buttons) {
    // Add buttons on the third toolbar line
return $buttons;
//return array(
//    "pasteword", "pastetext", "selectall", "flash");
}
?>

опять активировал advanced-wysiwyg.php но все по старому, в редакторе отображается только одна строка с тегами а эти что прописал

"table", "fullscreen", "_template", "advhr", "advimage", "advlink", "autosave", "cleanup",
"contextmenu", "directionality", "emotions", "flash", "fullpage", "fullscreen", "iespell", "inlinepopups", "insertdatetime",
"layer", "noneditable", "paste", "preview", "print", "save", "searchreplace", "style", "table", "zoom"

не отображаются. Помогите пжл разрулить эту траблу.

wp-plugins.net – где скачать такой плагин ?

На сайте wp-plugins.net есть главный раздел по выборе нужного вам плагина, называется Available Plugins.
Мне нужно что-то подобное, у меня будут программы на сайте и нужно много программ вписать в одну страницу, чтобы при нажатии на ее название открывалось описание на той самой странице. Ну вобщем думаю вы поняли что мне нужна похожая система выбора как на сайте wp-plugins.net.

Anonymous
Отправить
Ответ на: