function etheme_portfolio_shortcode() { $a = shortcode_atts(array('title' => 'Recent Works', 'limit' => 12), $atts); return etheme_get_recent_portfolio($a['limit'], $a['title']); }
<?php } else { ?> <h3><?php _e('No pages were found!', ETHEME_DOMAIN); ?> </h3> <?php } ?> <div class="clear"></div> <?php if (etheme_get_option('recent_projects')) { echo etheme_get_recent_portfolio(8, __('Recent Works', ETHEME_DOMAIN), $post->ID); } if (etheme_get_option('portfolio_comments')) { comments_template('', true); } ?> </div> </div> </div> </div> <?php get_footer();