# Introduction

FoN blog (opens new window) is populated by WordPress.

To make changes to the blog

# build and start the vm
cd findoutnow/trellis && vargrant up

Blog files are located into /findoutnow/cms/
Plugins are added using Composer (opens new window), see /findoutnow/cms/composer.json

WARNING

Since the FoN is a SPA, each new post requires a build and deploy for SEO purposes.

# Social share debugger

Use these debuggers to force meta tags refresh

Facebook (opens new window) LinkedIn (opens new window) Twitter (opens new window)

# API

Custom endpoints are defined in /findoutnow/cms/web/app/mu-plugins/fon-api.php

All posts:   /wp-json/fon/v1/posts
Single post: /wp-json/fon/v1/posts/POST_SLUG

Default endpoints are accessible from /wp-json/wp/v2/

# Images

Please use at least 1800x630px images. WordPress will automatically crop (from the center), resize and create 5 formats.

fon-hero: 1800x630px
fon-hero--xs: 425x180px
fon-hero--md: 768x325px
fon-hero--lg: 1200x500px
fon-social-share: 1200x630px

# Archive thumbnails (thumbnail)

Please use at least 500x500px images

TIP

You can create the square version from the hero. To do so, updload the image a second time and hit "Edit image" from the attachment details. This will open a new modal called "Edit Image" where you'll be able to select which part of the image you want to keep.

Last Updated: 10/3/2019, 3:17:11 PM