Wuu Posted August 23, 2009 Report Share Posted August 23, 2009 Nespēju ievietot php kodu iekš wordpress! Wordpress automātiski pārtaisa pēdiņas saliek visādus html čarus un displejo html! Mēgīnāju pluginu ,mēgīnāju [pre] <pre> utt bez rezultāta! Nu kur tāds mēsls var būt.. Vēlētos lai attēlojas tāpat ka te forumā kad ieliec code tāgos. Quote Link to comment Share on other sites More sharing options...
marcis Posted August 23, 2009 Report Share Posted August 23, 2009 Populārākie plugin'i: WP-Syntax SyntaxHighlighter Abos gadījumos neaizmirsti izlasīt dokumentāciju. Quote Link to comment Share on other sites More sharing options...
Wuu Posted August 23, 2009 Author Report Share Posted August 23, 2009 (edited) Uzliku WP-Syntax ,palika labāk, bet tik un tā piemēram $news = ''; tiek pārveidots $news = ''''; ar veco themu izskatās vispār šādi! $news = ''''''; edit: Tas pats ar otru arī :( Edited August 23, 2009 by Wuu Quote Link to comment Share on other sites More sharing options...
kechums Posted August 23, 2009 Report Share Posted August 23, 2009 Atslēdz vizuālo editoru un izslēdz WP automātisko koda sintakses labotāju, kur tas ir nevalīds. Quote Link to comment Share on other sites More sharing options...
Wuu Posted August 25, 2009 Author Report Share Posted August 25, 2009 (edited) Pievienojam .htaccess failam divas rindas php_value magic_quotes_gpc 0 php_flag magic_quotes_runtime 0 Viss būs bumbās, neaizmirstam norādīt read only! Savādāk wordpress nomainīs uz oriģinālo! Edited August 25, 2009 by Wuu Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.