Title: Customize shorten code
Last modified: August 21, 2016

---

# Customize shorten code

 *  Resolved [KareemAtif](https://wordpress.org/support/users/kareematif/)
 * (@kareematif)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/customize-shorten-code/)
 * Is it possible to customize options for shorten code to do the following:
    Show
   title and excerpt of the latest post only; and show only titles of other posts.
 * [http://wordpress.org/plugins/tpg-get-posts/](http://wordpress.org/plugins/tpg-get-posts/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Criss Swaim](https://wordpress.org/support/users/cswaim/)
 * (@cswaim)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/customize-shorten-code/#post-4103947)
 * Yes, but not in on short-code.
 *     ```
       [tpg_get_posts fields="title,content", show_excerpt="true" numberposts=1]
       [tpg_get_posts fields="title",offset=1]
       ```
   
 * I have not tested this, but the first shortcode show 1 post and the second will
   show titles for all the others. The offset is documented in the [codex](http://codex.wordpress.org/Class_Reference/WP_Query).
 * See if that works.

Viewing 1 replies (of 1 total)

The topic ‘Customize shorten code’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Criss Swaim](https://wordpress.org/support/users/cswaim/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/customize-shorten-code/#post-4103947)
 * Status: resolved