Title: Generating Shortcodes, display
Last modified: September 22, 2016

---

# Generating Shortcodes, display

 *  Resolved [jfantasybooks](https://wordpress.org/support/users/jfantasybooks/)
 * (@jfantasybooks)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/generating-shortcodes-display/)
 * **Details:**
 * Name: JFantasyBooks
    Site: Fantasy-Updates Site Url: [https://fantasy-updates.live](https://fantasy-updates.live)
   WordPress Version: 4.6.1 WP RSS Aggregator Plugin Version: 4.9.1
 * **Necessary Information:**
 * Hello,
 * So, following the site’s advice, I bought the views plugin which interacted well
   with WP RSS Aggregator. The only reasons why I need the views plugin is because
   it’s able to generate shortcodes that spit out the results i’m looking for. For
   example, the feed output just shows the authors for each recent feed.
 * Or… just shows the unique titles, and not the entire wp-rss-aggregator dipslay
 * ex.[wpv-post-field name=’wprss_item_author’] displays the results (example names):
 * Author 1 (from feed x)
    Author 2 (from feed y) Author 3 (from feed x) and so 
   forth.
 * Same thing you would have gotten if you used the [wp-rss-aggregator] shortcode,
   but with just the authors. No structured display.
 * But it’s not just those I use, but:
 * [wpv-post-field name=’wprss_feed_id’]
    [wpv-post-field name=’wprss_unique_titles’][
   wpv-post-field name=’wprss_item_permalink’]
 * ….
 * But where is the problem, you may ask?
 * **Problem:**
 * Views plugin slows my site 3-4x. It’s so slow to upload that it deters visitors.
   And I’ve heard of some complaints.
 * And the display of the shortcode is not something that I need. I need each element
   separately. Only for the plugin to show unique titles, or only show the authors.
 * **Possible solution:**
 * The view I want is quite possible for me to design easily. Only things I need
   are those shortcodes. I’ve looked into the code provided by the plugin, but i’m
   not sure where the output for the wp rss display is generated. ex. just the output
   of the authors for a particular feed.
 * I know for sure that ‘wprss_feed_id’, ‘wprss_unique_titles’ is actually a part
   of the plugin code. So, views plugin is not just making up the names. The output
   is somewhere in the plugin code.
 * I just need help finding it. So I can make the shortcode. Or if you can help 
   me make the shortcodes, I would be extremely grateful.
 * Thank You.
    -  This topic was modified 9 years, 7 months ago by [jfantasybooks](https://wordpress.org/support/users/jfantasybooks/).

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

 *  [Eric Gunawan](https://wordpress.org/support/users/erricgunawan/)
 * (@erricgunawan)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/generating-shortcodes-display/#post-8208704)
 * Hi [@jfantasybooks](https://wordpress.org/support/users/jfantasybooks/),
 * If you’d like to know which post meta used by the Feed Items or how do the Post
   Meta displayed in general, you can look at the `wprss_render_feed_item()` function
   on `includes/feed-display.php` file.
 * You’ll find the `wprss_item_permalink` on line 72, for example.
 * Hope this helps.
 *  Thread Starter [jfantasybooks](https://wordpress.org/support/users/jfantasybooks/)
 * (@jfantasybooks)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/generating-shortcodes-display/#post-8208880)
 * Thanks for getting back to me!
 * I have found that earlier. Problem is when I try to summon the data with a shorcode.
   Doesn’t appear to work. Any suggestions?
 * I know this may be asking a bit much. I’m not adept in coding.
 * Can you give me an example on how you would generate a shortcode for summoning
   the values of that meta to generate a list for all the feeds for let’s say wprss_item_permalink,
   for example. If so, I would be able to figure out the rest.
 * It would look something like
 * Permalink 1
    Permalink 2 Pemralink 3
 * And so forth from the imorted feeds instead of the entire display. An example
   for either the author, feed title, permalink. Any would do would give me a step
   forward in solving this problem.
 * Thanks.
 *  [Eric Gunawan](https://wordpress.org/support/users/erricgunawan/)
 * (@erricgunawan)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/generating-shortcodes-display/#post-8212586)
 * Hi [@jfantasybooks](https://wordpress.org/support/users/jfantasybooks/),
 * Unfortunately, since the sample code you ask will be a little bit complex (at
   least require more than 2-3 lines of code), we couldn’t help you with that.
 * That being said, we can at least give you as a bit guidance. First, you should
   create a loop for all your feed items. Then you can use `get_post_meta()` to 
   call each post meta from each feed items. Last, you can wrap them all as a [shortcode](https://codex.wordpress.org/Shortcode_API)
   using the `add_shortcode()` function.
 * We couldn’t help you from scratch, but if you have already a base code which 
   half way to do that and would like us to review your code, we would be glad to
   do it.

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

The topic ‘Generating Shortcodes, display’ is closed to new replies.

 * ![](https://ps.w.org/wp-rss-aggregator/assets/icon-256x256.gif?rev=3157090)
 * [RSS Aggregator - RSS Import, News Feeds, Feed to Post, and Autoblogging](https://wordpress.org/plugins/wp-rss-aggregator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rss-aggregator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rss-aggregator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rss-aggregator/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Eric Gunawan](https://wordpress.org/support/users/erricgunawan/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/generating-shortcodes-display/#post-8212586)
 * Status: resolved