Nura24 Documentation

Pages

# Pages
# Organize Pages hierarchically
# Pages vs. posts articles
# Multi-lingual pages

# Pages

Pages work best for static content that needs to be regularly accessed. This is usually content that doesn’t change often - Pages like “About Us”, "Terms and Conditions", "Privacy policy" .... are relatively constant.

If you are building a more traditional business website as opposed to a blog, you will use Pages for most of your business content. 

Page badges

Badges are useful in theme development. 

Example: you want to show a link to a specific page(or multiple pages) in your template. You can add a badge named "footer" (or any name) for the page (or pages). In template you can use the function badge_pages('footer') to generate an array with all pages with "footer" badge and use this list in your template.

If you want to get a single page with a specific badge, you can use the function badge_page('badge-name') . This will return a single page (and not an array). This can be useful if you want to have the same page for all languages.  Example: you want the "Terms and Conditions" page for all languages. You can add a page "Terms" for each language (with different content, title, and slug). You can add the same badge (such as "terms"). In template, the function badge_page('terms') will return the page Terms and Conditions depending by selected language.

More details about template functions, in Developers section in this Documentation. 

If you want to set multiple badges for the same page, you separate them with a comma. Example: badge1, badge2, badge3 

# Organize Pages hierarchically

You should use Pages for any content that is organized hierarchically.

All related Pages can be grouped under a parent Page. The related Pages become sub-pages and create a logical section of your website. When organized this way, Nura24 uses the parent Page as part of the URL for the sub-pages. 

So, the page that includes information about your company will have a URL that looks like this: 

http://yourdomain.com/about/company/ 

And the Page that includes your company history would have a URL that looks like this: 

http://yourdomain.com/about/history/ 

This can be a compelling way of organizing traditional web content. It also has some SEO advantages, as Google and other search engines can detect that Pages in a given section are related based on the structure of the Page addresses. 

# Pages vs. posts articles

Pages appear to be nearly identical to articles Posts. But they’re very different.:

  • pages cannot be assigned to categories or tags. 
  • posts articles are best used for things like blogs, news stories and anything time-sensitive. 

When a list of Posts (articles) is displayed on your site, you’ll see them displayed in descending date order.  

Posts can also be organized with categories and tags. Categories and tags are used to group multiple content articles with same subjects / interests.

Posts are best used for things like blogs, news stories, event announcements, and anything time-sensitive.

# Multi-lingual pages

If you have a multilingual website, you can create different pages for each language. When you select a language (from language selector), only pages created for that language will be displayed.

In frontend template, when choosing a language, it will display only pages created for that language.