• Resolved dsm1

    (@dsm1)


    I am trying to iFrame a WordPress Category elsewhere on my domain with a custom made php file, what code should I put in there to stop the error? The code I am using is simply 1 line of PHP used to show a category of posts and want it to appear when I go directly to the document eg: mydomain.com/custom-php-file.php – Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter dsm1

    (@dsm1)

    I done it, simply copy and strip the wp-login.php file and any shortcodes you have in PHP format just paste accordingly and it works! To use adaptability (in an iFrame for example) just iFrame the modified login file, eg. <iframe src=”mydomain.com/stripped-document.php”></iframe> – Hope this helps if you need it.

Viewing 1 replies (of 1 total)
  • The topic ‘How to use my own PHP file with WordPress PHP code’ is closed to new replies.