CA - VW Info

CA - VW Info

 

The individual VW Info pages, that are access via the /vw-info/ page, are controlled via a custom post type within Wordpress.

 

Accessing the VW Info

To access the VW Info pages within the CMS you need to go to “VW Info” on the left-hand menu after logging in to the CMS:

From here you can view a list of all the VW Info pages, as well as add new ones, in the same way that you can with Static Content.

 

From the main VW Info page in the CMS you can hover over an individual item and you will get the same kind of menu as with Static Content:

You can edit, delete, and view the item from there.

 

Adding a new VW Info

To add a new VW Info, either go to “VW Info” on the left-hand menu and click “Add New” in the sub-menu, or go to the main VW Info page and click the “Add New” button:

                

 

Adding a Title/Name

You can add a title to the VW Info, this should be the name of the vehicle, as you want it displayed on the front-end of the website, this will also be used to generate the URL for the page:

 

Adding a Description

You can add a description of the VW Info within the main content editor, this is displayed in the header of the individual VW Info page:

 

Adding an Image

You can add an image to the VW Info page, to be displayed either in the header of the VW Info page, or on the parent VW Info page’s sub-menu, by clicking “Set featured image” on the right-hand side:

You can then upload and/or select an image as per standard Wordpress practices.

NOTE – A header image should be a maximum of 1900px wide, and a child page’s sub-menu image should be a maximum of 260px wide.

NOTE – Images will be automatically used as header images on parent VW Info pages, and automatically used for sub-menu images on child VW Info page. For example, the “Beetle” page has a background image in the header that is set via the “Featured Image”, where as the “Engine Codes” child page has a featured image that is only used in the sub-menu on the “Beetle” page, and not in the header.

 


 

The Page Hierarchy

The VW Info pages work in a hierarchy, with child pages linked to their main parent page in order to build the sub-menus.

For example, the main VW Info page for Beetles has 4 child pages:

Those 4 child pages are then used on the front-end to build the sub-menu:

This is all done automatically, so you don’t need to manually control menus for each parent VW Info page, just add or remove child pages.

 

To set a VW Info page to be a child page, you need to select a parent page within “Page Attributes” on the right-hand side. You can also set an “Order” number to denote the order the pages should be displayed in the sub-menu:

 

Adding the Custom Fields

There are two custom fields used by the individual VW Info pages, in order to pass through non-standard data to the front-end.

To add a custom field, select it from the “Name” drop-down within the “Custom Fields” section, then set a value of it, and then click the “Add Custom Field” button.

 

Here are the custom fields that can/should be used as part of an individual VW Info page:

-          has-own-page: (Required) This should be set to a value of “yes”, as this denotes that the page can be access from the front-end. If this is not set, you will be redirected to the home page when trying to access the page’s URL.

 

-          ca-vw-info-extra-text: (Optional) This is extra text displayed within the sub-menu on the individual VW Info page:


    • Related Articles

    • CA - Menus

      There are several menus setup within the website’s CMS which are used in various places on the website. Here is a list of the menus and where they are used: - Footer Blog: This menu is used in the footer to define the elements of the “Blog” menu: - ...
    • CA - Static Content and Home Page

      Static Content The website uses several pieces of Static Content within the theme to allow for easier editing of text, so full theme updates are not required. Here is a list of the Static Content and where it is used: - Static Content - Register ...
    • CA - Team Members

      The individual Team Member pages, that are accessed via the /team/ page, are controlled via a custom post type within Wordpress. Accessing the Team Members To access the Team Member pages within the CMS you need to go to “Team Members” on the ...
    • CA - Theme Customisation Options

      There are two options that are website-wide and specific only to the Cool Air theme. Accessing the Customisation Options To access the customisation options, log into the CMS and go to “Appearance” on the left-hand menu, then “Customise”: You can ...
    • CA - Adding Customer Testimonials

      1. Log into the CMS. 2. Go to “Quotes” in the left-hand menu, and then to “Add New”. 3. Enter a title to make it easy to find the testimonial in the future, such as the person’s name and the date. 4. Click on the “Add block” button, and search for ...