All Questions
5 questions
0
votes
0
answers
60
views
Using a Page Template Not in Theme
My plugin creates (on demand via a 'create template' button) a page template that is stored in uploads/plugin-name folder (so it will survive a plugin update).
The plugin also creates (again on demand)...
0
votes
1
answer
36
views
Create page (not the post type) dynamically
I'm working on a custom plugin where the user/customer will be purchasing a ticket (it'll be a woo product) to take a quiz and win some prize...
So suppose the URL of a product/quiz would be like ...
4
votes
2
answers
25k
views
Calling a function from functions.php in custom page/ blog post
Is it possible to call a function from functions.php in custom page or blog post?
I put simple function in functions.php:
function testTest()
{
echo "Test";
}
And called it from the page:
<?...
2
votes
1
answer
5k
views
Create a custom page template inside my wordpress plugin
I'm developing a Wordpress plugin and I want to create a file to where I want to redirect the user to show some information.
I know that a perfect solution for this is using Wordpress custom pages. I'...
1
vote
1
answer
869
views
Is it possible for a plugin to register a page template file?
Is there a way for a plugin to house page template files and have them available after plugin activation?
E.g, I have a plugin that requires specific page page templates to be used, so I'd like ...