EVERYTHING LATEST

Tech News and Articles

A as irregular to noting phase and to and raising rewritten film if been his took question. Decelerate upon positives on need peacefully.
Ghost Themes

How to Show Featured Posts in Ghost Theme

We use ghost blog for our blogging. When we want to show our posts as featured, normally we mark it from story settings. We use stories > settings. like this: This will show your post as featured. But when we want to show our featured posts in a specific place, we have to follow the following codes.

  •  
  1. First make sure that your plublic API is activated
  2. Use the following code.

Here feature will automatically loop the post as like as foreach

  • For featured posts showing as condition {{#if posts}}{{/if}}
  • For featured post title {{title}}
  • For featured post image {{feature_image}}
  • For Featured post excerpt {{excerpt}}
  • For post url {{url}}

You can see the featured post example in our Writter Ghost Theme.
You can see all of our themes on ElectronThemes.

ElectronThemes

× Shopping Cart

Your cart is empty.