Documentation

23rd October 2018

Welcome to the documentation for Ballyhoo, all in one page. Get started by using the links below:

Elements

Button

<a class="button" href="#">Button</a>
  1. Click the Add Block button (+).
  2. Search “button”.
  3. Click the “Button” block under the Layout Elements section.

Blockquote

Let us go forward together!

Winston Churchill
<blockquote>Let us go forward together!<cite>Winston Churchill</cite></blockquote>
  1. Click the Add Block button (+).
  2. Search “blockquote”.
  3. Click the “Quote” block under the Common Blocks section.

Functions

Please note: This page is about the functions that are unique to Ballyhoo, not every single function that is found in Ballyhoo’s function.php file.

ballyhoo_index_post();

ballyhoo_index_post($post_type);

This function is used in the index.php file to output the right code for each post type to display each post. For example, ballyhoo_index_post(‘status’); gets the code to display a status post.

If there is nothing between the two quotes, then the code for the default post type will be outputted.

Customization

Ballyhoo is made from the ground-up to be customizable.

Font Family

Ballyhoo allows you to choose from over 30 font families, all of which work perfectly with the theme. The default font family for Ballyhoo is Open Sans. It’s also the one which you’ll see in the Gutenberg editor (even when you’ve changed the font in the Customizer, although we’re working on changing this.)

To change the default font family, do the following:

  1. Go to the Customizer (it’s usually at yourwordpresswebsite.com/wp-admin/customizer.php).
  2. Click the “Theme Options” section.
  3. On the “Font Family” setting, choose your preferred font, using the preview on the right-hand-side to make up your mind.
  4. When you’ve finally decided, click the blue “Publish” button.

You change the font family at any time.