Instalacja TinyMCE na nowej stronie
-
Witam, mam problem z instalacja TinyMCE
tzn kiedy próbuje zrobić to na osobnej stronie działa bez problemu
Link: mniamKod:
<html> <head> <!-- Place inside the <head> of your HTML --> <script type="text/javascript" src="tinymce/tinymce.min.js"></script> <script type="text/javascript"> tinymce.init({ selector: "textarea", language : "pl" }); </script> </head> <body> <h1>DSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS</h1> <!-- Place this in the body of the page content --> <form method="post"> <textarea></textarea> </form> <h2>Jakies tekstyyyyyyyyyyyyyyyyyyyyyyyy</h2> </body> </html>Ale kiedy usiłuję połączyć go z wordpressem w ogóle nie reaguje, wyświetla się tylko samo „textarea”
Link: mniamKod w nowy-wpis.php:
<?php /* Template Name: Nowy wpis */ ?> <?php get_header(); ?> <!-- Place this in the body of the page content --> <form method="post"> <textarea></textarea> </form> <?php get_footer(); ?>Kod w header.php:(początek pliku tylko)
<?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id="main"> * * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <!-- Place inside the <head> of your HTML --> <script type="text/javascript" src="tinymce/tinymce.min.js"></script> <script type="text/javascript"> tinymce.init({ selector: "textarea", language : "pl" }); </script> <title><?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; ...Pomoże mi ktoś rozwiązać problem ?? Z góry dzięki
Zobacz 1 odpowiedź (z 1 wszystkich)
Zobacz 1 odpowiedź (z 1 wszystkich)
Temat ‘Instalacja TinyMCE na nowej stronie’ jest zamknięty na nowe odpowiedzi.