Support » Plugins » Hacks » Create custom page

  • Hello,

    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”.

    Greetings
    sagitta1793

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Create custom page’ is closed to new replies.