Support » Plugin: Frontier Post » Is it possible to use the plugin in a custom page?

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author finnj

    (@finnj)

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

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to use the plugin in a custom page?’ is closed to new replies.