Skip to content

Custom Fields

Katarina1234 edited this page Nov 24, 2018 · 14 revisions

Custom fields used on the website

Content of the custom fields can be changed by navigating to the appropriate page on the wordpress admin page, scrolling until you see the custom field, making sure the field is enabled (check "enable"), and editing the content of the field. To hide a field, disable it by navigating to the appropriate page on the wordpress admin page, scrolling until you see the custom field, and unchecking enable. To save any changes, click "Update" on the top right.

Paragraph

Paragraph title and content on the Home and About pages. The section template is under template-parts/paragraph.php. No css was used for this.

There are three fields:

  • Enable Paragraph Content (True/False)
    • id: enable_paragraph_cf
  • Paragraph Title *Required (Text)
    • id: paragraph_title
  • Paragraph Content (Wysiwyg Editor)
    • id: paragraph_content

Three icon section on homepage

Three icon section on the Home page. The section template is under template-parts/help-section.php. The corresponding css is in startertheme.css.

There are 11 fields:

  • Enable Help Section Content (True/False)
    • id: enable_help_section_cf
  • Help Section Title (Text)
    • id: help_section_title

Note that the fields below are combinations of (Image/Title/Text) for (Left/Middle/Right) columns

  • Left Column Image (Image)
    • id: hs_left_column_image
  • Left Column Title (Text)
    • id: hs_left_column_title
  • Left Column Text (Wysiwyg Editor)
    • id: hs_left_column_text
  • Middle Column Image (Image)
    • id: hs_middle_column_image
  • Middle Column Title (Text)
    • id: hs_middle_column_title
  • Middle Column Text (Wysiwyg Editor)
    • id: hs_middle_column_text
  • Right Column Image (Image)
    • id: hs_right_column_image
  • Right Column Title (Text)
    • id: hs_right_column_title
  • Right Column Text (Wysiwyg Editor)
    • id: hs_right_column_text

Four icon section

Four icon section on the About page. The section template is under template-parts/four-icon-section.php. The corresponding css is in startertheme.css.

There are 13 fields:

  • Enable Four Icon Section (True/False)
    • id: enable_four_icon_section_cf

Note that the fields below are combinations of (Image/Title/Text) for (Top Left/Top Right/Bottom Left/Bottom Right) part

  • Top Left Image (Image)
    • id: fi_top_left_image
  • Top Left Title (Text)
    • id: fi_top_left_title
  • Top Left Text (Wysiwyg Editor)
    • id: fi_top_left_text
  • Top Right Image (Image)
    • id: fi_top_right_image
  • Top Right Title (Text)
    • id: fi_top_right_title
  • Top Right Text (Wysiwyg Editor)
    • id: fi_top_right_text
  • Bottom Left Image (Image)
    • id: fi_bottom_left_image
  • Bottom Left Title (Text)
    • id: fi_bottom_left_title
  • Bottom Left Text (Wysiwyg Editor)
    • id: fi_bottom_left_text
  • Bottom Right Image (Image)
    • id: fi_bottom_right_image
  • Bottom Right TItle (Text)
    • id: fi_bottom_right_title
  • Bottom Right Text (Wysiwyg Editor)
    • id: fi_bottom_right_text

General Documentation

Page Specific Documentation

Clone this wiki locally