WordPress.org

Ready to get started?Download WordPress

Forums

Create WP page in php (3 posts)

  1. wp_joost
    Member
    Posted 1 year ago #

    Hello fellow WP users,

    I'm making a sidebar widget which is working fine for the most part now. The widget eventuallly uses header('location : etc') to open a pre-made page with a shortcode on it.

    The problem is that when i want to install the widget/plugin on another WP theme i need to make that page manually again.

    Is there a WP function to make a page? if not does someone have a SQL-query laying around that does this?

    wp_joost

  2. edpittol
    Member
    Posted 1 year ago #

  3. wp_joost
    Member
    Posted 1 year ago #

    Thank you edpittol!

Topic Closed

This topic has been closed to new replies.

About this Topic