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

    (@aldolat)

    Hi,
    you can directly use the main function in your PHP files.
    This is an example:

    if ( function_exists( 'pis_posts_in_sidebar' ) ) {
    	$args = array(
    		'intro'    => 'Introduction text',
    		'number'   => 5,
    		'arrow'    => true,
    		'comments' => true,
    		// Your other options here...
    	);
    	pis_posts_in_sidebar( $args );
    }

    For the full list of options, take a look here.

    Let me know, please.

    Plugin Author Aldo Latino

    (@aldolat)

    Hi rockydude,
    may I consider this post as resolved? Do you need further help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘embed this in a php file’ is closed to new replies.