Getting Started
Newsportal is a minimalist ghost theme crafted for influencers, bloggers, authors, marketers, and entrepreneurs. With a focus on crisp typography and unique styling will highlight your content beautifully and communicate an authentic and high-quality brand to your readers.
Support
If you have any questions that are beyond the scope of this help file, please feel free to send your questions to our support email: electronthemes@gmail.com. Our support team will reply you within 6 hours.
Template Information
- Name: Newsportal
- Author: Electronthemes
- Platform: Ghost
- Demo: Newsportal
- Created: 27 July 2020
- Last Update: 17 Dec 2020 See Changelog
- Version: 1.1.3
Features
- Highly optimized for speed.
- Super Minimal Design.
- Full Koenig Editor Support.
- Pre packaged with SASS (SCSS), Prepos 6 config file included.
- Syntax Highlight and Boomkark cards see here.
- Constantly updated.
- Translation ready (English and Spanish Included).
- Minified and Optimized code.
- HTML5 & CSS3 ready.
- Ghost 3.x compatible.
- 4 Single post:
- Custom Membership page, see here.
- Custom Tag page, see here.
- Custom Author page, see here.
- Custom 404 Page see here.
- Paid post layout see here
- Blog Cover support.
- Tag Cover support.
- Search Widget.
- Koening Gallery Support
- Advertising sections.
- Disqus Support.
- Fully responsive.
- Video Support (Vimeo, Youtube, etc).
- Retina Display Ready.
- Font Awesome icons.
- Works on Android, Ipad and Iphone.
- Documentation included.
- Clean Design.
- Well Coded.
- Navigation Menu.
Pages
- Homepage
- Post page
- Tag page
- Author page
- Error
- Page
- Error-404
Custom Pages
- Custom Author list
- Custom Tag list
- Custom Contact
- Custom Account
- Custom Membership
- Custom Signin
- Custom Signup
- Custom Post Fullwidth
- Custom Post Left Sidebar
- Custom Post Right Sidebar
Theme Setup
Newsportal theme setup is very easy. If you have already installed a server for Ghost you can easily setup Newsportal theme. If you don’t have server suported with Ghost, you can set up reading Ghost Install. When you have the server, follow the instructions for setting up the theme.
Upload the theme
You can upload the theme file from ghost dashboard. to do this
- Log in into your Ghost admin panel.
- Go to settings (design section) and upload “newsportal.zip“
- Click Activate.

Uploading the theme via (FTP)
Follow the instructions
- Login to your FTP account.
- Unzip the newsportal.zip file and copy newsportal folder to your /ghost_installation/content/themes
- Restart your installation if necessary. You can ask for help from your hosting provider if you don’t know how to do this step.
- Login to your ghost admin panel.
- Go to settings (general) and select theme “Newsportal“
- Click Save.

General Setup
Publication Info
To change publication info, go to Dashboard > General > Publication Info. Here you can change the followings:
- Title
- Description
- Site Timezone
- Publication Language

Logo
We have used SVG Logo for the theme . You can change SVG Logo from Dashboard > General > Publication Identity

Favicon Icon
Ghost shows his ghost logo in your site by default. You can change Favicon Icon or Publication Icon from Dashboard > General > Publication Identity

Publication Cover
This is for showing site bookmark image. If you upload a cover image, it will in your site bookmark

Site Meta Settings
This is for Meta data. It will help to get on search using search engine. You can add also Twitter and Facebook card image, content here.
You can add/edit the content from Dashboard > General > Site Meta Settings

Social Accounts
Social account section is for showing Facebook, Twitter links of your site. Go to Dashboard > Settings > Social Accounts

Primary Navigation
Ghost only support two types of Navigation. Primary and Secondary Navigation Menu. On header, primary navigation is showing and On Footer secondary navigation is showing. Go to Dashboard > Design > Navigation

Secondary Navigation
Secondary Navigation is showing at footer. To add Secondary menu item, go to Dashboard > Design > Secondary Navigation

Create a Post
Ghost has a beautiful dashboard design. You can easily create a post. Go to Dashboard > Posts > New Post
- Post Title
- Post Contents
- Feature image
- Tags
- Authors

Create a page
As like as post, you can create a new page from Dashboard > Pages > New Page. You can add:
- Title
- Contents
- Tags
- Authors
- Feature Image
- Excerpt
- more…

Featured Post
Ghost has awesome featured posts option to show some of your chosen posts as featured for the visitors. To add a post as featured, go to Post > Settings and scroll down. Select the checkbox Feature this post

Create Tag
To create a new tag, go to Dashboard > Tags > New Tag

Create Author
You can create multiple author in your site from dashboard. Go to Dashboard > Stuff > Invite people

Click on Invite people and you will get a new popup. You have to add Email Address and select the staff Role. Lastly click on Send Invitation now button. An email notification will be sent to create an account on the specific Role.

Code Injection
Code injection is a great feature on Ghost. You can easily write styles and scripts for your site without editing the theme file. You can add various plugins code here like Google analytics
Here you will two text field for code injections. 1. Site Header and 2. Site Footer
Site Header
If you write scripts on site header, it will show in <head>
tag of header. It will load first in your site
Site Footer
If you write scripts on site footer, it will show at the closing of <body>
tag. It will load last in your site

Integrations and Custom Integrations
Integrations are another cool feature of Ghost. You can connect a lot of thirdparty plugins or API using integrations. To check the integrations, go to Dashboard > Integrations. You will get some inbuilt integrations and custom integrations options
Custom integrations
To create custom integrations, click on + Add custom integration at the bottom of the page and you will get a popup and add a name of the integration and Create. I have create here Search and Github Deploy integration

Labs
Labs is another very important and beta tester parts of Ghost. Here your will get some core features as follows: Go to Dashboard > Labs
- Membership
- Import Content
- Export your content
- Delete All Content
- Night shift
- Redirects
- Routes

Members
If you want to get subscriptions and paid customers, you can use Members option in this panel. When you click on this you will get in details
Migration Options
You will get some options here like Import content, export content and delete content options
Routes
Routes is another important part. When you want to use different path link or custom files for pages and different homepage, you can use routes.yaml
file to do that. Here is default .yaml for ghost.
routes:
collections:
/:
permalink: /{slug}/
template: index
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
Header

For header, we have used {{> header}}
partials in folder partials/ header.hbs. In this file you can change the followings:
- Header Top
- Logo
- Search
- Dark Light Icon
- Primary Navigation
Header Top
In header top, you can change the following parts from Header Top. Go to partials/header-top.hbs
. You can change the following elements:
- Social Profiles
- Date
- Secondary Menu
- Subscribe links
For subscribe links, you will get the code. If you want to remove or change, you can do
{{#if @labs.members}}
{{#if member}}
<li><a href="/account/">{{t "Account"}}</a></li>
<li><a href="#" data-members-signout>{{t "Signout"}}</a></li>
{{else}}
<li><a href="/signin/">{{t "Signin"}}</a></li>
<li><a href="/membership/">{{t "Subscribe"}}</a></li>
{{/if}}
{{/if}}
Logo
To change the logo markup or text, find this structure on header.hbs
file
<div class="logo py-15">
{{#if @site.logo}}
<a href="{{@site.url}}"><img src="{{@site.logo}}" alt="{{@site.title}}"></a>
{{else}}
<h2><a href="{{@site.url}}">{{@site.title}}</a></h2>
{{/if}}
</div>
Primary Navigation
For Primary navigation, go to Dashboard > Design > Primary Navigation
Footer

We used very minimal footer in our theme. You will get all footer code partials > footer.hbs file. Here are the following parts:
- About
- Recent News
- Tags
- Copyright text
Footer About
You can change the footer about text and logo from footer.hbs
file. You will get subscribe form here aslo.
Recent News
You can add footer recent news. We have showed 3 recent posts in the footer. If you want to change limit of posts, you can change at line number 50.
{{#get "posts" limit="3" include="authors,tags"}}
Recent Tags
At footer, we have showed 20 recent tags, If you want to change limit or remove the recent tags, you can do. Change limit
from line number 72 at footer.hbs file
{{#get "tags" limit="20" include="count.posts" order="count.posts desc"}}
Copyright text
You can change at footer.hbs
file line number 102
<p>{{t "© Copyright 2020 Newsportal. Published with "}}<a target="_blank" href="https://ghost.org/">{{t "Ghost"}}</a></p>
{{t ""}}
Homepage
In homepage, you will get some sections.
- Featured Slider
- Latest Posts
- Trending News
- Weekly Top News
- Fashion News
- Business News
- Design, Lifestyle and Creative News
- International News
- Hot News
Featured Posts Slider

We have showed a slider on homepage will the featured posts. If you set a post as featured, it will be added automatically in the slider. See this section how to add featured post
Featured slider post limit is 5. If you want to increase or decrease post limit, go to partials/featured-slider.hbs and edit limit="3"
.
{{#get "posts" filter="featured:true" limit="3" include="tags"}}
If you want to remove featured posts slider from homepage, remove the following line from index.hbs
{{!-- Featured posts slider --}}
{{#is "home"}}
{{> featured-posts}}
{{/is}}
Latest posts
You will get all latest posts at latest.hbs
file of partials folder
Posts on Tags
All posts are showing based on different tags. You can change tags on the following ways.
Trending News

Trending news comes from partials/tags/trending.hbs
You can change the tag name from filter="tag:trending"
{{#get "posts" limit="9" filter="tag:trending"}}
Weekly Top News

Weekly Top news comes from partials/tags/weekly-top.hbs
You can change the tag name from filter="tag:weekly-top"
{{#get "posts" limit="7" filter="tag:weekly-top"}}
Fashion News

Fashion News comes from partials/tags/fashion.hbs
If you want to change the tag name, go to the file and change the tag name from filter: filter="tag:fashion"
{{#get "posts" limit="5" filter="tag:fashion"}}
Business News

Fashion News comes from partials/tags/business.hbs
If you want to change the tag name, go to the file and change the tag name from filter: filter="tag:business"
{{#get "posts" limit="5" filter="tag:business"}}
Design, Lifestyle, Creative News

Design News come from partials/tags/design.hbs
. If you want to change the tag name, you can change from filter: filter="tag:design"
{{#get "posts" limit="5" filter="tag:design"}}
Lifestyle News come from partials/tags/lifestyle.hbs
. If you want to change the tag name, you can change from filter: filter="tag:lifestyle"
{{#get "posts" limit="5" filter="tag:lifestyle"}}
Creative News come from partials/tags/creative.hbs
. If you want to change the tag name, you can change from filter: filter="tag:creative"
{{#get "posts" limit="5" filter="tag:creative"}}
International News

International News comes from partials/tags/international.hbs
. If you want change the tag name, change the tag name filter: filter="tag:international"
{{#get "posts" limit="4" filter="tag:international"}}
Hot News

International News comes from partials/tags/hot.hbs
. If you want change the tag name, change the tag name filter: filter="tag:hot"
{{#get "posts" limit="all" filter="tag:hot"}}
Custom Templates
Custom template is a default setting on Ghost. It can be page template and post template. We have created some custom page and post template for the theme. The page template are as follows:

Page Template
- Membership
- Account
- Contact
- Authors
- Tags
Selecting page template
- Create a new page
- Click on Settings to the right side and scroll down
- Select page template i.e. “Membership”

Page url

When you create page, please keep page slug like this.
Page title | Page URl |
Membership | /membership/ |
Account | /account/ |
Signin | /signin/ |
Signup | /signup/ |
For other custom pages, you can add Authors, Tags, Contact page.
Post Template
- Post Fullwidth
- Post Left Sidebar
- Post Right Sidebar
We have used 3 posts page style in this theme. You can choose as following:

Membership and Subscriptions
This is an awesome features of Ghost. If you want to make money with publications, you can use Membership features of Ghost. To enable members, go to Dashboard > Labs > Members

Portal Settings

In portal seetings, you can enable Subscribe button at the bottom right of the site.
- Show signup and signin form in popup
- Showing pricing plans
- Changing ancient colors
- Changing icons and text
Stripe connection
Connect your stripe account to get the payment from your subscribers

Subscription Pricing
Add or change your subscription pricing from here

Post Access
When you enable members, you can manage your posts who will see your default posts.

Email Newsletter
You can customize your newsletter template from here

You can also change your support email and email newsletter setting with mailgun using this

Pricing Tables

Here we have used 3 pricing plans.
- Free/Basic Plan
- Monthly Plan
- Yearly Plan
Change the text inside <li>{{t "..."}}</li>
Free/Basic Plan: For changing basic plan {{> members/pricing-table}}
partials is used. You will find partials > members > pricing-tables.hbs
<ul>
<li>{{t "full access to post for subscribe"}}</li>
<li>{{t "weekly email newsletter"}}</li>
<li>{{t "no advertising"}}</li>
</ul>
Monthly Plan: For monthly plan {{> members/pricing-table}}
partials is used. You will find partials > members > pricing-tables.hbs
<ul>
<li>{{t "full access to post for subscribe"}}</li>
<li>{{t "weekly email newsletter"}}</li>
<li>{{t "Daily updates"}}</li>
<li>{{t "Support independent publishing"}}</li>
<li>{{t "Secure Payments"}}</li>
<li>{{t "No advertisement"}}</li>
</ul>
Yearly Plan: For yearly plan {{> members/pricing-table}}
partials is used. You will find partials > members > pricing-tables.hbs
<ul>
<li>{{t "full access to post for subscribe"}}</li>
<li>{{t "weekly email newsletter"}}</li>
<li>{{t "Support independent publishing"}}</li>
<li>{{t "Secure Payments"}}</li>
<li>{{t "No advertisement"}}</li>
<li>{{t "One step way to pay"}}</li>
</ul>
Account Informations
Free Subscriber information
You can change the account information text on header page also. To change the information, go to custom-account.hbs. Go to line number 13 to change the information.

Paid subscriber information
You can change the account information text on header page also. To change the information, go to partials > members > subscriber-information.hbs

Third Party Plugins
We have created real time search options and Formspree for contact form.
Search Options

We have used Fuse.io for creating real time search. When you will type, you will get instant results. When you install the theme file, you have configure and add content api key on condeinjection
- Create a custom integrations
- Copy Content Api Key from your created custom integration
- Go to Code Injection > Site Header as follows


<script>
var contentApiKey = "your content api key"
</script>
Contact form
In contact form, we have used Formspree for getting form data. Change your email in <form>
tag in custom-contact.hbs file at line number 13.
<form class="row" action="https://formspree.io/youremail@domain.com" method="POST">
To change contact information, go to custom-contact.hbs file. You change all of the information.

Disqus Comment box
We have used discus comments for this theme. We have used our own discuss account. You can change easily with your Disqus shortname. Follow the process to create your disqus account and get a short-name.
- You can create your Disqus code in the next url: http://disqus.com/admin/create/
- Add a short-name for Website Name
- Your unique “Disqus URL” is your shortname copy that name and click finish registration.

- Go to the directory where is your template.
- Go to /content/themes/Newsportal/partials and open the next file: disqus-comment.hbs and git to line number 11 for disqus_shortname = newsportal-5;
- Change with your shortname, in this case ‘example-shortname’;
- Save the file and upload to your ghost installation.
- Optional, you can verify if all is correct clicking Verify on disqus steps (where we get our shortname).
Github Deployment
Blooria theme in ready for deploy on github easily. You can read the articles on Github deployment

Development and Customization
In this theme, we have used SCSS to develop and style fast. You can easily do it using Prepros. To edit SCSS code, follow the instruction:
- Unzip docslab.zip (this is the template only file) and remember where is the folder location.
- Install a SASS compiler, we recommend you to use Prepos 6, you can download it here.
- Click on “Browse” to add project on the middle side.



Changing Primary and Secondary colors
You can change easily primary, secondary, text color and other colors from _variable.scss file. Open assets/scss/_variables.scss file and change the color that you want, example:
:root{
--color-primary: #f8633b;
--color-dark-primary: #f75050;
--color-secondary: #0b0b0c;
--color-heading: #242428;
--color-heading-two: #242428;
--color-dark-heading: #333333;
--color-paragraph: #666666;
--color-paragraph-two: #666666;
}
Credits
Fonts and Icon Fonts
- Lato: https://fonts.google.com/specimen/Lato
- Roboto: https://fonts.google.com/specimen/Roboto
- Metropolis: https://www.dafontfree.io/metropolis-font-free/
- Feather Icons: https://feathericons.com/
Images
- Unsplash: https://unsplash.com/
- Pixels: https://www.pexels.com/
Plugins and libraries
- jQuery: http://jquery.com
- Fitvids: https://github.com/davatron5000/FitVids.js
- Fuse Search: https://github.com/krisk/Fuse
- Prism JS: https://prismjs.com/
- Medium Zoom: https://github.com/francoischalifour/medium-zoom
- Lazy Loading Disqus: https://samclarke.com/lazy-loading-disqus
- Lazy image loader: https://github.com/verlok/lazyload
- Isotope: https://isotope.metafizzy.co/
- imagesLoaded: https://imagesloaded.desandro.com/
- Nicescroll: https://github.com/inuyaksa/jquery.nicescroll
Changelog
VERSION – 1.1.3: Release on 17 Dec 2020
[+] CHANGED FILES
weekly-top.hbs
package.json
_header.scss
_signin.scss
_dark-light.scss
_featured.scss
- some css issues fixed
VERSION – 1.1.2: Release on 17 Dec 2020
[+] CHANGED FILES
scss/_variable.scss
scss/_style.scss
custom-post-fullwidth.hbs
partials/footer.hbs
partials/header.hbs
partials/members/notification-scripts.hbs
locales/en.json
[+] Newly ADDED
scss/_notification.scss
partials/members/notifications.hbs
- Notifications restored
VERSION – 1.1.1: Release on 19 Nov 2020
[+] CHANGED FILES
package.json
custom-signup.hbs
post.hbs
page.hbs
author.hbs
tag.hbs
custom-contact.hbs
custom-tags.hbs
partials/author-card.hbs
partials/footer.hbs
partials/post-card/small-thumbnail.hbs
partials/related-posts.hbs
partials/sidebar/featured-news.hbs
scripts.js
scss/_author.scss
scss/_button.scss
scss/_featured.scss
scss/_footer.scss
scss/_signin.scss
scss/_single-news.scss
scss/_dark-version.scss
[+] NEWLY ADDED
LazyLoad scripts
[-] DELETED FILES
Removed custon notifications
VERSION – 1.1.0: Release on 02 Oct 2020
[+] CHANGED FILES
package.json
partials/featured-posts.hbs
partials/latest.hbs
partials/footer.hbs
partials/loop.hbs
partials/post-card/big-thumbnail.hbs
partials/members/notifications.hbs
partials/members/notification-scripts.hbs
partials/post-card/business-big-thumbnail.hbs
partials/post-card/business-thumbnail.hbs
partials/post-card/fashion-thumbnail.hbs
partials/post-card/news-big-thumbnail.hbs
partials/post-card/news-small-thumbnail.hbs
partials/post-card/short-thumbnail.hbs
partials/post-card/small-thumbnail.hbs
partials/post-card/top-reads-big-thumbnail.hbs
partials/related-posts.hbs
partials/tags/international.hbs
partials/post-card/top-reads-big-thumbnail.hbs
partials/related-posts.hbs
partials/sidebar/social-profiles.hbs
partials/social-share.hbs
partials/tags/hot.hbs
partials/tags/trending.hbs
assets/js/scripts.js
SCSS Styles
[+] NEWLY ADDED
partials/icons/copy.hbs
Notifications for CARD, Expired Links
[-] DELETED FILES
partials/post-card.hbs
VERSION – 1.0.0: Release on 27 July 2020
[+] Initial Release