Title: Change Default Template
Last modified: August 21, 2016

---

# Change Default Template

 *  Resolved [waltwooden](https://wordpress.org/support/users/waltwooden/)
 * (@waltwooden)
 * [13 years ago](https://wordpress.org/support/topic/change-default-template/)
 * I purchased the pro Nimble Portfolio today (saved my life – thank you)
    I added
   it to my template with the code below:
 *     ```
       <?php
       /* Suppotred from 1.2.1 - it will return portfolio content */
       if (function_exists('nimble_portfolio')) {
           echo nimble_portfolio();
       }
       ?>
       ```
   
 * Right now it defaults to the 3 col round. How do I change the template to the
   4colsquare?
    Thank you. My url to this page is [http://thedesignpub.com/wordpress/portfolio-4-column-grid/](http://thedesignpub.com/wordpress/portfolio-4-column-grid/)
 * [http://wordpress.org/extend/plugins/nimble-portfolio/](http://wordpress.org/extend/plugins/nimble-portfolio/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Nimble3](https://wordpress.org/support/users/nimble3/)
 * (@nimble3)
 * [13 years ago](https://wordpress.org/support/topic/change-default-template/#post-3673075)
 *     ```
       <?php
   
       if (function_exists('nimble_portfolio')) {
           $atts = array(); // array which holds the parameters
           $atts['template'] = '4colsquare'; // same parameter as for shortcode
           echo nimble_portfolio($atts);
       }
       ?>
       ```
   
 *  Thread Starter [waltwooden](https://wordpress.org/support/users/waltwooden/)
 * (@waltwooden)
 * [13 years ago](https://wordpress.org/support/topic/change-default-template/#post-3673088)
 * I tried the code you gave me but it didn’t work. I emptied my cache and even 
   tried another browser. Any other suggestions. Thanks.
 *  Plugin Author [Nimble3](https://wordpress.org/support/users/nimble3/)
 * (@nimble3)
 * [13 years ago](https://wordpress.org/support/topic/change-default-template/#post-3673115)
 * I can only see a blank page when browsing [http://thedesignpub.com/wordpress/portfolio-4-column-grid/](http://thedesignpub.com/wordpress/portfolio-4-column-grid/)
 *  Thread Starter [waltwooden](https://wordpress.org/support/users/waltwooden/)
 * (@waltwooden)
 * [13 years ago](https://wordpress.org/support/topic/change-default-template/#post-3673215)
 * I found the problem. I made a change to the nimble-portfolio.php file and it 
   broke the ability to get to the templates. I put a fresh nimble-portfolio.php
   file in and it works perfectly now. Thank you for the great plug-in and the great
   service!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Change Default Template’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nimble-portfolio_e1ebf4.svg)
 * [Wordpress Picture / Portfolio / Media Gallery](https://wordpress.org/plugins/nimble-portfolio/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nimble-portfolio/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nimble-portfolio/)
 * [Active Topics](https://wordpress.org/support/plugin/nimble-portfolio/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nimble-portfolio/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nimble-portfolio/reviews/)

## Tags

 * [templates](https://wordpress.org/support/topic-tag/templates/)

 * 4 replies
 * 2 participants
 * Last reply from: [waltwooden](https://wordpress.org/support/users/waltwooden/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/change-default-template/#post-3673215)
 * Status: resolved