I’m sorry for asking such a n00b question, but I’m having a lot of trouble finding this while searching (I’m also not 100% sure what I should be searching for).
What I’m looking to do, is have a plugin where I can have a page setup where the content is generated purely by a php file. So still works with the template as normal, but all the output from that file is put into the content area.
So if for example I had a php file which was just
<?php print "this would be in the content area"; ?>
Then you would get a normal page with “this would be in the content area”.
I’m aware something like this could be done using wordpress files rather than creating my own custom files, but I’m interested in if it can be done in general, and if so how it’s done incase I want to do more complex things which might be easier to manage doing it this way.
I’m thinking this is probably something easy, but unfortunately I’m very new to word press plugins and have a client I do work for normally (not normally in wordpress) who is starting to ask for a few different things and I’m not sure where to start looking. As always with clients, they always let you know about a job when the deadline is right around the corner!
If anyone can point me in the right direction, it would be greatly appreciated!
Thank you in advance
- The topic ‘creating a custom code page for plugin’ is closed to new replies.