• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RESOLVED Wordpress page structure upside down

thomasroy

New member
Messages
3
Likes
0
Points
1
#1
Hi,

Thanks a lot for this wonderful plugin! :)
But I have a little problem with it.

The PHP code I inject is this single line:
PHP:
include("{$_SERVER['DOCUMENT_ROOT']}/projection/".rand(1,23).".html");
But then, the structure of the page is turned upside down, as you can see here: Entraînez-vous à projeter des vecteurs – La Physique en PCSI
And I don't know why...

Could you help me?

( You can see the .html files here :
https://physique-pcsi.prepa-balzac.fr/projection/1.html
https://physique-pcsi.prepa-balzac.fr/projection/2.html
https://physique-pcsi.prepa-balzac.fr/projection/3.html
etc.They are all the same. )
 

Temyk

Developer & Support
Messages
1,129
Likes
42
Points
48
#2
Hello.

It's not woody's fault. You don't have the correct layout in HTML files. See how it's done on other pages
 

thomasroy

New member
Messages
3
Likes
0
Points
1
#3
Yes, I guess it's not the plugin's fault: it's mine.
But I really don't see where the mistake is. Could someone help me?

I tried to replace <p> balises to <div>, but still the same problem. :cry:
 
Last edited:

Temyk

Developer & Support
Messages
1,129
Likes
42
Points
48
#4
You have an extra closing DIV.
Use the IDE to write code and HTML. It immediately suggests such errors
1602568605092.png