Create custom page (2 posts)

  1. sagitta1793
    Posted 3 years ago #


    I'm currently working at a plugin.
    There is a widget, which displays different information and under some conditions it displays a link to a special page which combines all the informations.
    The widget is working, but I don't know how to create a custom page that I can show in the frontend.

    Basically, I want to use the site structure from my theme and just change the "content". It would by nice, if the page could be accessd by links like "mysite.de/?overview".


  2. toocoolone
    Posted 3 years ago #

    You could use a shortcode to do this. I've done something similar myself. The URL might have to be a little longer than what you want, but make a page with nothing but the shortcode in it. Then create a function to handle the shortcode that returns whatever data you wish. You can read in the Codex about shortcodes.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.