WordPress.org

Ready to get started?Download WordPress

Forums

Frontier Post
Is it possible to use the plugin in a custom page? (3 posts)

  1. jmrezayi2
    Member
    Posted 5 months ago #

    Hello,

    First of all, thanks a lot for this awesome plugin.
    I am trying to make a custom page, meaning a page that I have wrote it myself. I am able to include my wordpress into it, such that I have access to content, etc.

    Well, I am trying to put all that is created by thi plug-in when you type the short code in the post somewhere in my custom page. I have tried "echo do_shortcode('[frontier-post]'); " but it gives fatal error.

    Is there a way to do this?

    Thank you a lot in advance.

    https://wordpress.org/plugins/frontier-post/

  2. finnj
    Member
    Plugin Author

    Posted 5 months ago #

    If it is with php code, try a call to the function directly : frontier_user_posts()

  3. jmrezayi2
    Member
    Posted 5 months ago #

    Thank you so much for your response. Yes it is a php file:
    "
    <?php
    // Include WordPress
    define('WP_USE_THEMES', false);
    require('./wp-load.php');
    ?>
    <html>
    <?php get_header(); ?>
    <body>

    <?php
    frontier_user_posts('none',0);
    ?>
    <?php get_footer(); ?>
    </body>
    </html>
    "

    But actually it does not do anything, and if I do not enter any input for the function, I get an error of not enough attributes.

    I would really appreciate it if you could help me with this.
    Thanks a lot for your awesome plugin.
    Jamshid

Reply

You must log in to post.

About this Plugin

About this Topic