• Resolved drumatic

    (@drumatic)


    Hi there

    I’m making a simple plugin where users can make entrys to a database.

    My problem is to display forms and stuff generated by my plugin without creating a page or a post, i don’t like to create page templates or shortcodes, links are display in the plugin’s own widget, so when you install it you only have to place the widget in the sidebar.

    at the moment, i pass a GET variable to my plugin i.e. action=overview and then add content with add_action(‘the_content’, ‘plugin_overview’)

    but now i get the posts on the frontpage too, how can i prevent that or is there an more elegant way to solve this ?

    thanks for help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter drumatic

    (@drumatic)

    i now dynamicly create pages on plugin activation and put a shortcode into content, people can then place pages whereever they like to.

    Can you please tell me how you did this. I would really like to do something like this for archive pages

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Output content without creating a page or post’ is closed to new replies.