Title: Custom Post from sql database?
Last modified: August 21, 2016

---

# Custom Post from sql database?

 *  [simos3laf](https://wordpress.org/support/users/simos3laf/)
 * (@simos3laf)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/custom-post-from-sql-database/)
 * Hello a really great plugin you made ! nice job
    but i am really having some 
   issues regarding the arguments in the array section does it only work with posts
   specific? i have a theme where i think the developer assigned the Project section
   as post couse i see they use post.php file and named post he has a class name:
   featured-projects i copy the array from his feature-project.php file and made
   it like that but still getting only the hello world post thats in the post section.
   He made a new section at the backend Projects and has it as list thats why i 
   need ur pluging to display it in grids of 2 or 4 rows if possible
 * This is how i modify it but doesnt work
 * <?php if (function_exists(‘fpg_show’)) {
    $args = array( ‘classname’ => ‘featured-
   projects’, ‘description’ => ‘Show latest featured projects’ );
 *  echo fpg_show($args);
    }?>
 * thanks a lot and keep the great Job!
 * [http://wordpress.org/plugins/featured-posts-grid/](http://wordpress.org/plugins/featured-posts-grid/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [simos3laf](https://wordpress.org/support/users/simos3laf/)
 * (@simos3laf)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/custom-post-from-sql-database/#post-4461948)
 * my website is [http://neveranergos.gr](http://neveranergos.gr) btw

Viewing 1 replies (of 1 total)

The topic ‘Custom Post from sql database?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/featured-posts-grid.svg)
 * [Featured Posts Grid](https://wordpress.org/plugins/featured-posts-grid/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-posts-grid/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-posts-grid/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-posts-grid/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-posts-grid/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-posts-grid/reviews/)

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * 1 reply
 * 1 participant
 * Last reply from: [simos3laf](https://wordpress.org/support/users/simos3laf/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/custom-post-from-sql-database/#post-4461948)
 * Status: not resolved