Introduction

Thank you for purchasing the Pressville theme!

The goal of this theme is to provide a powerful set of tools for small to medium municipality websites right out of the box. Being a WordPress theme, it can benefit from the whole ecosystem of this wonderful platform. There are thousands of free plugins which can extend your site's features and plenty of helpful resources where you can find answers to your WordPress related questions.

We hope you will find this documentation helpful and will enjoy working with Pressville theme as much as we enjoyed developing it.

LSVRthemes

Please note that this documentation doesn’t cover WordPress basics too extensively, so if you are new to WordPress, we highly recommend that you read through some beginner tutorials first.


Quick Overview

  1. Header settings (such as background image) can be managed under Appearance / Customize / Header.
  2. Upload your Logo under Appearance / Customize / Site Identity. Then head to Appearance / Customize / Header to limit its max width.
  3. Change your Site Title under Appearance / Customize / Site Identity. You can hide it from the Header under Appearance / Customize / Header.
  4. Change your Tagline under Appearance / Customize / Site Identity. You can hide it from the Header under Appearance / Customize / Header.
  5. Topbar will be displayed only if Secondary Header Menu or Language Switcher are used.
  6. Language Switcher can be enabled under Appearance / Customize / Languages.
  7. Primary Header Menu can be added under Appearance / Menus.
  8. Header Search can be enabled under Appearance / Customize / Header.
  9. The Pressville Posts section can be added either via page builder or directly via the lsvr_pressville_posts shortcode.
  10. The Pressville Posts section displays Standard Posts, which can be managed under Posts.
  11. The Pressville Sitemap section can be added either via page builder or directly via the lsvr_pressville_sitemap shortcode.
  12. Before you insert the Pressville Sitemap section, you will have to create a standard WordPress menu under Appearance / Menus.
  13. You can add an item description when you edit your menu under Appearance / Menus. Make sure Description is enabled under Screen Options in the top right corner. Only the description for top level menu items will be displayed.
  14. The Pressville Events section can be added either via page builder or directly via the lsvr_pressville_events shortcode.
  15. The Pressville Events section displays Event posts.
  16. The Pressville Widgets section can be added either via page builder or directly via the lsvr_pressville_widgets shortcode. Before you insert the Pressville Sitemap section, you will have to create a custom sidebar under Appearance / Customize / Custom Sidebars and populate it with widgets under Appearance / Widgets.
  17. The LSVR Directory widget can be added to your sidebar under Appearance / Widgets. This widget displays Directory Listing posts.
  18. The LSVR Galleries widget can be added to your sidebar under Appearance / Widgets. This widget displays Gallery posts.
  19. The LSVR Document Attachments widget can be added to your sidebar under Appearance / Widgets. This widget displays attachments added into Document posts.
  20. Footer settings (such as background image) can be managed under Appearance / Customize / Footer.
  21. The Text widget can be added to the Footer Widgets sidebar under Appearance / Widgets.
  22. The Custom Menu widget can be added to the Footer Widgets sidebar under Appearance / Widgets. You will need to create a standard WordPress menu under Appearance / Menus to use this widget.
  23. Social Links can be managed under Appearance / Customize / Social Links.
  24. Foter Text can be edited under Appearance / Customize / Footer.

Setup

The very first step is to install WordPress itself. Once installed, we can proceed to the theme and plugins installation.

Please check out the recommended server requirements for WordPress. Your PHP version has to be 5.6 or higher.

Besides the recommended server requirements for WordPress, make sure your PHP memory for WordPress is set to at least 64MB. However, if you are going to use several 3rd party plugins, we recommend 128MB. You can read more about changing the PHP memmory in the WordPress codex

Theme Installation

If you haven’t already, download the full package from your downloads on ThemeForest.

installation-10

  1. Click on the Download button next to your purchased item
  2. Choose All files & documentation and download the zip file

  1. Enable email notifications if you want to be informed when the new update is available
  2. If you like the theme, please don't forget to rate it 5*. Thank you!

Parent Theme Installation

When you unzip the downloaded file, you will see a bunch of folders. The most important one is the THEME folder which contains the installable theme .ZIP.

  1. THEME folder contains the installable theme .ZIP

Open your WordPress admin and navigate to Appearance / Themes

  1. You can manage themes under Appearance / Themes

Upload the installable theme .ZIP file

  1. Click on the Add New button
  2. Click on the Upload Theme button
  3. Choose theme .ZIP file
  4. Submit the file

If you have problems installing your theme via admin (as described above), you can try to install it via FTP

Child Theme Installation

If you don’t know what a WordPress child theme is, please read this article in the WordPress codex. The article also explains how to create a child theme, but don't worry, the Pressville child theme is already included in the package.

This documentation assumes that you are running the child theme, so it is highly recommended to install it. The Child theme .ZIP can be found Child Theme. Install it in exactly the same way as parent theme, described in previous steps.

Once you have both parent and child themes installed, you need to activate the child one.


Plugins Installation

Before we proceed to plugins installation, let's talk about them a little bit first. This theme comes prepackaged with several plugins. Basically, any major functionality (like events, directory, galleries, etc.) has a separate plugin. This has one big advantage - you can choose which one you need. For example, if you don't need the events functionality for your site (or you plan to use a 3rd party plugin for that), there is no reason to install the LSVR Events plugin. And same goes for LSVR Directory, LSVR Galleries, LSVR Documents and LSVR People plugins as well. But let's do a quick overview of all of those plugins so you can decide for yourself which ones you need:

  • LSVR Framework - this plugin contains a lot of custom functionality used throughout the theme and LSVR plugins, such as custom metaboxes and customizer fields. You should definitely install this one.
  • LSVR Directory - it handles the Listing custom post type functionality and all its widgets. If you don't need the directory functionality or are going to use a 3rd party solution for that, don't install.
  • LSVR Events - this plugin handles the Event custom post type functionality and all its widgets. If you don't need the events functionality or are going to use a 3rd party solution for that, don't install.
  • LSVR Galleries - this plugin handles the Gallery custom post type functionality and all its widgets. If you don't need the galleries functionality or are going to use a 3rd party solution for that, don't install.
  • LSVR Documents - this plugin handles the Document custom post type functionality and all its widgets. If you don't need the documents functionality or are going to use a 3rd party solution for that, don't install.
  • LSVR People - this plugin handles the Person custom post type functionality and all its widgets. If you don't need the people functionality or are going to use a 3rd party solution for that, don't install.
  • LSVR Pressville Toolkit - it contains the theme's shortcodes (for example those used for the default front pages) and some custom widgets. If you are going to build a front page similar to the demo one, you will need this plugin.
  • Envato Market - it allows automatic theme updates for themes purchased from Envato Market. This is probably the easiest way to keep your theme up to date. However, it is not the only way. You can always just download the latest version directly from your account on Envato Market and either reinstall the theme or overwrite files via FTP. So if you prefer to update the theme manually, you won't need this plugin.
  • WPBakery Page Builder for WordPress (formerly Visual Composer) - this is a recommended tool for building your front page. However, the front page can also be built just via shortcodes alone, making the use of page builder completely optional for this task. Of course, you may want to use it to build various other pages as well, as it comes with multiple basic design elements like accordions or tabs. Please note that this is a bundled premium plugin which has some limitations (this is the same for ANY theme which bundle this plugin).

One last thing. You may be worried that so many plugins can have a performance impact on your site. The truth is that the number of plugins alone has no real impact on the performance. It's the way they are coded that's important. Since almost all of those plugins were coded in-house, their optimization and performance is fully under our control. Also, don't forget that the quality of your hosting plays a very significant role in overall performance of your site.

Bundled Plugins

Let's finally install some plugins. Once you've activated the theme, you should see a prompt message at the top of your admin informing you about recommended plugins.

  1. Click on Begin installing plugins

  1. Select either all plugins or just the plugins you need
  2. Choose Install
  3. Hit Apply

  1. Wait for plugins to be installed and then click on Return to Required Plugins installer

  1. Select all plugins
  2. Choose Activate
  3. Hit Apply

After you activate plugins, head to your Dashboard and that’s it. Plugins should now be installed and activated. Remember that all bundled plugins can be found in the Plugins folder in full package, so you can install any of those plugins manually anytime you need (via Plugins / Add New / Upload Plugin).

3rd Party Plugins

Here is a list of some useful 3rd party plugins. You can install them by typing their name in the search box under Plugins / Add New:


Demo Setup

Please note that demo images are not included (placeholder images will be imported instead).

Quick Demo Import

The quickest way to import the demo data is using the Theme Demo Import plugin. To install it, simply go to Plugins / Add New and type "Theme Demo Import" into the search field. Once installed and activated, go to Appearance / Import Demo Content where you can import content, customizer settings and widgets separately (they should be imported in this order).

  1. Choose what to import (content, customizer settings or widget)
  2. Click on the "Import Demo Content" button and wait for the process to end

Once you've imported all three (content, customizer settings and widgets), continue here.

Manual Demo Import

If you want to have more control over imported data, you can do it manually. Demo data can be found in the Demo Data folder in full package.

Manual Content Import

You will notice there are several .xml files in the Demo Data folder. You can decide to import either all posts and pages or just specific post type posts.

To import the content, navigate to Tools / Import and click on WordPress. You may be prompted to install the Importer plugin if you don’t have it already. After you install and activate it, go back to Tools / Import / WordPress. Now choose which content you want to import. If you want to import everything, choose the content.xml file.. If you want to upload events only, choose events.xml. You can of course do multiple imports if you want to import more than just one .xml file (for example events.xml and then documents.xml).

If you haven't installed all bundled plugins but are trying to import the content.xml file, you may notice several errors during the import process. Those are caused by the fact that posts related to missing plugins can't be imported (for example event posts without LSVR Events plugin installed). You can ignore those error messages, as they shouldn't affect the import of the other posts.

Manual Customizer Settings Import

You will need the Customizer Export/Import plugin to import customizer data. Once installed and activated, go to Appearance / Customize / Export/Import and upload the customizer.dat file from the Demo Data folder.

Manual Widgets Import

You will need the Widget Importer & Exporter plugin to import widgets data. Once installed and activated, go to Tools / Widget Importer & Exporter and upload the widgets.wie file from the Demo Data folder.

After Demo Import

Regenerate Events

If you did quick import or manual import with events, head to Tools / Regen. Events and hit the Regenerate button. You won't be able to see any imported events on your front-end unless you do that. If you are experiencing any issues with this tool, you will have to resave each of the event posts one by one (at least those event posts you want to display).

Another important thing to keep in mind when importing events is that by default, events archive will show only the upcoming events. But some or all of the demo events may have already ended by the time you purchased the theme and are doing the import. The demo data were created after initial theme release, and may not be kept up to date with current demo site. The solution is to simply change the start/end dates for each event post you want to display on your site.

You may notice that most of the menu links won't work because they were saved as absolute URL. To make them work, either edit them manually under Appearance / Menus, or use a plugin to change them to the correct URL. Basically you need to change "http://localhost/wordpress/pressville-content" to your site's URL.

Menus and Widgets

Due to some limitations of the importing functionality, some sidebars and menus may not be set properly after the import. For example, those included on the front page. Please read the tutorial about creating your front page to learn how to set them up properly.


Post-Installation Setup

General Settings

Your first post-installation steps should head into Settings / General.

Site Title an Tagline will be displayed in the site's header (you can disable it under Appearance / Customize / Header). Time Zone, Date Format and Time Format settings will be used to display date info for all post types (including event start and end dates), so make sure they are set correctly based on your locale.

Permalinks Settings

Now head to Settings / Permalinks and change Common Settings to Post name. You can also change URL slugs for all LSVR custom post types and their taxonomies below if needed.

Front Page / Blog Page

If you've imported the demo content, head to Settings / Reading and choose which pages should be used as your Front page and Posts page. If you haven't imported the demo content, then don't forget to come back to this option once you create your front page and blog pages. More info.

Managing Menus

If you already have some pages / posts on your site (for example via importing demo content), you should check out Appearance / Menus to manage your site's menus.

Media Settings

Head to Settings / Media and change the settings to the following values:

  • Thumbnail size - 200x200 (crop enabled)
  • Medium size - 600x600
  • Large size - 1024x1024

If you already have some images on your site, use a 3rd party plugin to regenerate new image sizes based on the settings above.

Google Maps API Key

If you are going to use the Directory or Events functionalities via bundled LSVR plugins, you will need a Google API Key for Google Maps to work. Here is more info on how to obtain your API key (double check the allowed domain of your API key to match your site domain, since this is the most common issue preventing Google Maps from working).

Once you have the API key, insert it under Appearance / Customize / Google Maps.

Typography

If your site is running in a language other than English, you should check out Appearance / Customize / Typography and set the Font Subsets option accordingly. Please note that not all font families support all font subsets.

You may also notice that not all Google Fonts are available - we handpicked only the most popular ones. If you need to use font which is not available, disable Google Fonts (uncheck Enable Google Fonts option) and use some 3rd party plugin instead.


Customization

Front Page

The following tutorial assumes that you want to create a front page similar to the one you saw in the demo. The preferred way to create a front page is using the WPBakery Page Builder for WordPress (formerly Visual Composer) so make sure it's installed and active.

  1. Create a new page under Pages, or edit an existing one.
  2. Set its page template to Fullwidth w/o Title and then click on the Backend Editor button above content editor (it is possible that your page builder interface is enabled by default and you don't have to click on this button).

    1. Set page template to "Fullwidth w/o Title"
    2. Click on "Backend Editor" button (only if the page builder is not enabled by default)

  3. If you see the page builder interface, click on Add Element button to display modal window with all available elements.

    1. Click on "Add Element" button

  4. The page builder comes with many default elements, but we are interested only in custom Pressville elements for this tutorial. You can recognize them simply by their name - it starts with "Pressville".
  5. Let's start with the Pressville Posts element which displays standard WordPress posts.

    1. Select Pressville Posts element

  6. After you select the element, you will see a new modal window with all of its settings. For the demo look, set Icon Class to "icon-newspaper-o" (check out the list of all available icons here), Layout to "Title on the Left and Number Of Columns to "3". Darken Background and Enable Slider should be enabled and fill all the text fields as you like.

    1. Configure element's settings
    2. Don't forget to scroll down to see all available options
    3. Click on "Save changes" button

  7. Now we will insert the Pressville Sitemap element, but first, we need to do some preparations. This element requires a standard menu to work, so if you haven't done so already, go to Appearance / Menus and create a standard menu. Once the menu is created, you may need to refresh your page so the new menu appears in the Pressville Sitemap element settings. Simply save your work by clicking on Publish or Update and then refresh your browser. Then you can insert the Pressville Sitemap element from the modal window.

    1. Click on the "plus" button right after an existing element to add a new element.
  8. The rest is the same as with Pressville Posts. Just make sure to select your menu under Menu option, configure all other settings as you need and save your changes.
  9. The third element is Pressville Events. You will notice that this element has the same options as the Pressville Posts element we've inserted before. This also applies to the Pressville Galleries and Pressville Directory elements. To achieve the demo look, simply set the Layout option to "Title in the Background" and disable Darken Background option.
  10. The last element used on the default front page is Pressville Widgets. Similarly to Pressville Sitemap, it requires some preparations. If you haven't done so already, go to Appearance / Customize / Custom Sidebars and create a custom sidebar. Now head to Appearance / Widgets and populate this new sidebar with widgets of your choice. To make sure the new sidebar will be available in element's settings, save your page and refresh it. After that you are ready to insert the Pressville Widgets element into your front page and edit it. Select your sidebar under Sidebar, set rest of the settings as you need and save your changes.
  11. Once you are done, save your page and set it as your front page under Settings / Reading.



Colors

Theme colors can be managed under Appearance / Customize / Colors. You can either choose from predefined color schemes, pick your custom colors or create your own color scheme. The difference between Custom Colors and Custom Scheme is that the latter is much more involved and requires some coding. On the other hand, it gives you more freedom and it is the recommended way for customizing theme's colors.

Since the Predefined Scheme and Custom Colors options should be pretty much self-explanatory, let's describe the process of creating your own custom color scheme.

  1. Open default color scheme .scss file. It should open directly in your browser, but some browsers may download it on your disk instead.
  2. Copy all the code from that file to any text editor. If your browser downloaded your file, open that file in the text editor. You can use for example Notepad++ for Windows or Brackets for Mac, but any basic text editor (for example Windows Notepad) should do.
  3. Make your changes. Basically you just need to change color variables at the top of the file. The most important are the $accent1 and $accent2 variables on lines 28 and 29. By default, they look like this:
    $accent1: #cd4335; // main accent color
    $accent2: #2d93c5; // secondary accent color
    

    There are many online tools where you can generate a hex code for your color, for example colorpicker.com. Just change #xxxxxx to the hex code of your custom color (don't forget that it has to start with the # sign). Feel free to change values of other color variables in the file as well.

  4. Once you've made your changes, copy the whole code and paste it to the left column on sassmeister.com (SCSS). Please note that any typo in your syntax may lead to an error.
  5. Copy the generated code from the right column.
  6. Make sure the child theme is active under Appearance / Themes.
  7. Go to Appearance / Editor, set Select theme to edit: to Pressville Child and paste your generated CSS after the "/* Add your custom css after this comment */" comment.

    1. Make sure Pressville Child theme is selected
    2. Put your CSS here
    3. Save the file
  8. Last step: go to Appearance / Customizer / Colors, switch Set Colors By option to Custom Scheme and save.

Translation

If you are going to use this theme in any language other then English, you will need to translate it. The important part is that you need to translate the theme and all LSVR plugins you are using. Most of the translatable text is part of the admin area, so if you plan to translate only the front-end, there won't be that much text to translate.

There are two general approaches to translation. You can either use a 3rd party plugin like Loco Translate, Polylang, WPML (this one is not free though), or do it the old-fashioned way via the Poedit software. If you prefer the plugin approach, check out their respective documentations on how to do that. We will describe the manual process of translation via Poedit.

Before we begin, download and install Poedit to your computer.

Theme Translation

  1. Make copy of the pressville.pot file from the theme's languages folder. You can either just unzip the pressville.zip file (which you got from full package) on your local computer and find the .pot file there, or you can use FTP to access your WP installation and copy the .pot file from the wp-content/themes/pressville/languages folder.
  2. Paste the file anywhere on your computer and rename it to pressville-xx_YY.po. "xx" stands for your language code and YY for country code (for example "pressville-de_DE.po" for German). Notice how the file extension changed from ".pot" to ".po".
  3. Open your .po file in Poedit, make your changes and save the file. This will create a new file - pressville-xx_YY.mo.
  4. Copy both pressville-xx_YY.po and pressville-xx_YY.mo to your WP installation under wp-content/languages/themes and that's it.

Plugins Translation

The whole process is very similar to theme translation, you just need to do it separately for each plugin. Let's translate the LSVR Events plugin for example (but it is the same for all LSVR plugins).

  1. Make copy of the lsvr-events.pot file from the LSVR Events plugin languages folder. You can either just unzip the lsvr-events.zip file from the Plugins folder (which you can find in full package) on your local computer and find the .pot file there, or you can use FTP to access your WP installation and copy the .pot file from wp-content/plugins/lsvr-events/languages folder.
  2. Paste the file anywhere on your computer and rename it to lsvr-events-xx_YY.po. "xx" stands for your language code and YY for country code (for example "pressville-de_DE.po" for German). Notice how the file extension changed from ".pot" to ".po".
  3. Open your .po file in Poedit, make your changes and save the file. This will create a new file - lsvr-events-xx_YY.mo.
  4. Copy both lsvr-events-xx_YY.po and lsvr-events-xx_YY.mo to your WP installation under wp-content/languages/plugins and that's it.

Make sure that your site language under Settings / General is set to the correct language.


Post Types

Pressville comes with a bunch of custom post types. Working with them is very similar to working with standard WordPress posts.

Directory Listing

LSVR Directory plugin has to be installed and active for this feature to work.

  • Default directory URL is yoursite.com/directory. You can change it under Settings / Permalinks.
  • You can manage your listing posts under Directory.
  • The settings of a particular listing can be edited via the Listing Settings panel located under the content editor.
  • Featured Image of the listing will be used as a map thumbnail.
  • You can add images to your listing via the Listing Gallery panel located in the right sidebard under the Featured Image panel. Please note that due to the nature of this gallery (wide carousel at the top), you should upload at least five images for optimal appearance. If you have fewer images, you should insert them via default WordPress gallery instead, just don't forget to set the Link To option to Media File in the Gallery Settings modal for lightbox to work correctly in that case.
  • Add schema.org metadata via the Listing Metadata panel located under Listing Settings.
  • Global directory settings can be changed under Appearance / Customize / Directory.
  • This post type comes with several custom widgets which you can find under Appearance / Widgets.

Event

LSVR Event plugin has to be installed and active for this feature to work.

  • Default events URL is yoursite.com/events. You can change it under Settings / Permalinks.
  • You can manage your event posts under Events.
  • The settings of a particular event can be edited via the Event Settings panel located under the content editor.
  • Global events settings can be changed under Appearance / Customize / Events.
  • This post type comes with several custom widgets which you can find under Appearance / Widgets.


Document

LSVR Documents plugin has to be installed and active for this feature to work.

  • Default documents URL is yoursite.com/documents. You can change it under Settings / Permalinks.
  • You can manage your document posts under Documents.
  • Each document post can contain multiple file attachments which can be added via the Document Settings panel located under the content editor.
  • If all your document posts contain only attachments and no real text content, you may want to switch your document archive layout to Attachment View under Appearance / Customize / Documents.
  • Global documents settings can be changed under Appearance / Customize / Documents.
  • This post type comes with several custom widgets which you can find under Appearance / Widgets.

Person

LSVR People plugin has to be installed and active for this feature to work.

  • Default people URL is yoursite.com/people. You can change it under Settings / Permalinks.
  • You can manage your person posts under People.
  • Global people settings can be changed under Appearance / Customize / People.
  • This post type comes with several custom widgets which you can find under Appearance / Widgets.

Shortcodes

Pressville shortcodes are used primarily to build the front page. If you are in need of some basic design elements like accordions or tabs, use the bundled page builder for that. Also, the official WordPress plugins repository contains plenty of slider plugins or general shortcodes plugins.

Almost all Pressville shortcodes are available as elements in the page builder. The LSVR Pressville Theme Toolkit plugin is required for shortcodes to work.

Directory

This shortcode displays listings added via the LSVR Directory plugin.

[lsvr_pressville_directory
id="my_unique_id"
title="Interesting Places"
subtitle="Check out some of these cool spots"
icon="icon-location-map"
category="123"
layout="title-top"
limit="8"
columns_count="4"
show_category="true"
enable_dark_bg="true"
enable_slider="true"
more_label="More Places"]
id
Unique ID which can be used for applying custom CSS to this element.
title
Element title.
subtitle
Element subtitle.
icon
Element icon. Check out the list of icons.
category
Category ID or slug to pull listings from.
layout
Can be either "title-top", "title-left" or "title-bg".
limit
Number of listings to display.
columns_count
How many columns will be used to divide listings.
show_category
Show badge with listing category.
enable_dark_bg
Make element background color slightly darker.
enable_slider
Display listings in a slider.
more_label
Label for a "More" link which links to a listing / category archive.

Events

This shortcode displays events added via the LSVR Events plugin.

[lsvr_pressville_events
id="my_unique_id"
title="Upcoming Events"
subtitle="There is always something going on in our community"
icon="icon-calendar"
category="123"
layout="title-top"
limit="8"
columns_count="4"
enable_dark_bg="true"
enable_slider="true"
more_label="More Events"]
id
Unique ID which can be used for applying custom CSS to this element.
title
Element title.
subtitle
Element subtitle.
icon
Element icon. Check out the list of icons.
category
Category ID or slug to pull events from.
layout
Can be either "title-top", "title-left" or "title-bg".
limit
Number of events to display.
columns_count
How many columns will be used to divide events.
enable_dark_bg
Make element background color slightly darker.
enable_slider
Display events in a slider.
more_label
Label for a "More" link which links to a event / category archive.

Galleries

This shortcode displays galleries added via the LSVR Galleries plugin.

[lsvr_pressville_galleries
id="my_unique_id"
title="Town Galleries"
subtitle="Interesting sights and past events"
icon="icon-folder-image"
category="123"
layout="title-top"
limit="8"
columns_count="4"
enable_dark_bg="true"
enable_slider="true"
more_label="More Galleries"]
id
Unique ID which can be used for applying custom CSS to this element.
title
Element title.
subtitle
Element subtitle.
icon
Element icon. Check out the list of icons.
category
Category ID or slug to pull galleries from.
layout
Can be either "title-top", "title-left" or "title-bg".
limit
Number of galleries to display.
columns_count
How many columns will be used to divide galleries.
enable_dark_bg
Make element background color slightly darker.
enable_slider
Display galleries in a slider.
more_label
Label for a "More" link which links to a gallery / category archive.

Icon

This shortcode displays a simple icon.

[lsvr_pressville_icon
id="my_unique_id"
icon="icon-post-pin"]
id
Unique ID which can be used for applying custom CSS to this element.
icon
Icon to display. Check out the list of icons.

Posts

This shortcode displays standard (blog) posts.

[lsvr_pressville_posts
id="my_unique_id"
title="Latest News"
subtitle="Read about what's been going on in our town"
icon="icon-newspaper-o"
category="123"
layout="title-top"
limit="8"
columns_count="4"
enable_dark_bg="true"
enable_slider="true"
thumb_size="medium",
exclude_categories="123,254",
more_label="More News"]
id
Unique ID which can be used for applying custom CSS to this element.
title
Element title.
subtitle
Element subtitle.
icon
Element icon. Check out the list of icons.
category
Category ID or slug to pull posts from.
layout
Can be either "title-top", "title-top" or "title-bg".
limit
Number of posts to display.
columns_count
How many columns will be used to divide posts.
enable_dark_bg
Make element background color slightly darker.
enable_slider
Display posts in a slider.
thumb_size
Features image size to be used as thumbnail. Can be either "thumbnail", "medium", "large" or "full". Leave blank for the size to be determined automatically.
exclude_categories
List of excluded category IDs separated by comma. Posts from these categories won't be displayed.
more_label
Label for a "More" link which links to a post / category archive.

Sitemap

This shortcode displays a custom menu. Menu can be created under the Appearance / Menus.

[lsvr_pressville_sitemap
id="my_unique_id"
bg_image="http://mysite.com/myimage.jpg"
menu_id="123"
columns_count="4"]
id
Unique ID which can be used for applying custom CSS to this element.
bg_image
URL of the background image.
menu_id
ID of the menu which will be used. To get the menu ID, head to Appearance / Menus, switch to your menu and copy the value of the "menu" attribute from the page URL
columns_count
How many columns will be used to divide the sitemap.

Widgets

This shortcode displays a sidebar. Sidebars can be managed under Appearance / Widgets.

[lsvr_pressville_widgets
id="my_unique_id"
sidebar_id="123"
columns_count="4"
enable_dark_bg="true"]
id
Unique ID which can be used for applying custom CSS to this element.
sidebar_id
ID of the sidebar which will be used. It is lsvr-pressville-default-sidebar for the Default Sidebar and lsvr-pressville-footer-widgets for Footer Widgets. For custom sidebars it is lsvr-pressville-custom-sidebar-X where X stands for the sidebar number. You will get this custom sidebar number by visiting Appearance / Customizer / Custom Sidebars and mousing over the sidebar remove button for a few seconds. Omit the # sign, so the final custom sidebar ID should look like lsvr-pressville-custom-sidebar-3 for example.
columns_count
How many columns will be used to divide widgets.
enable_dark_bg
Make element background color slightly darker.

Icons

Check out the list of all built-in icons here.

If you want to add an icon into your content, use the [lsvr_pressville_icon] shortcode.

More icons can be added via 3rd party plugins.