Problems with php c...
 
Notifications

Did we help you in something? If so, we would very much appreciate if you Share our website or forums link. Thank you!

Problems with php code in post with  

  RSS
Johannes de Sacrobosco
(@johannes-de-sacrobosco)
Eminent Member

@editor i have some problems posting php code using the <> function of the editor.

The formatting is gone and other problems also. Any ideas?

Quote
Posted : January 22, 2020 16:04
Editor liked
Topic Tags
Editor
(@editor)
Reputable Member Moderator
Posted by: @johannes-de-sacrobosco

@editor i have some problems posting php code using the <> function of the editor.

The formatting is gone and other problems also. Any ideas?

I see the problem with formatting and also i see some 403 (forbidden) when posting code inline.

It was working right, maybe Wordpress 5.3 update broke something with a plugin or the forums. I will get into it.

Thanks for let me know.

ReplyQuote
Posted : January 22, 2020 16:19
Editor
(@editor)
Reputable Member Moderator

Until i find the cause and possibly fix it, please do the following (not an easy way, still it works) :

1. Goto https://opinionatedgeek.com/Codecs/HtmlEncoder and encode your php code. Copy the code from the second window (do not check the encode all non-alpha characters).

2. Press the code <> in the editor toolbar and the select source code {;}, you will see the html code.

3. Paste the code between the PRE tags, select ok and add reply or topic.

4. View the post if it is ok

ReplyQuote
Posted : January 22, 2020 16:44
Johannes de Sacrobosco
(@johannes-de-sacrobosco)
Eminent Member

Actually there is no need for all that.

You press the Code <>, then you press Source Code {;} and paste the code inside the PRE tags. Ok and Post it.

This post was modified 1 month ago by Johannes de Sacrobosco
ReplyQuote
Posted : January 22, 2020 20:33
Share: