php - Roll out static folder as plugin and access via


I would like to roll out static content via a word press plugin. Lets say the folder rolled out is located at and I would like to access it via for example.

I have the following quesitons:

  1. How would you roll out this folder if you like to have it some kind of installable.
  2. How do we solve the access via the desired url?

Thank you for helping!




I am not sure what you are trying to achieve exactly, but here is a possible solution.

Create a custom page template in your (child) theme folder by making a file and include that will hook your custom template page to WP. (See this page for more information) On this page your can basically pull any WordPress functionality that your require.

<?php /* Template Name: Example Name */ ?>

Switch on Post Name option in your Permalinks settings for pretty permalinks and then create a new page in WP that will use your newly created template. On that URL you can access the code that you've supplied in the custom page template.

People are also looking for solutions to the problem: javascript - Filtering data with pagination


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.