generate_fonts_subset

generate_fonts_subset

The generate_fonts_subset filter allows you to set a subset for your font if you』re using a language that requires it.
Default (string): No default
Here are some examples of subsets:
latin
latin-ext
menu
greek
greek-ext
cyrillic
cyrillic-ext
vietnamese
arabic
khmer
lao
tamil
bengali
hindi
korean
Usage
Please refer to the Using Filters article to learn how to use this filter.

generate_footer_widget_3_width

generate_footer_widget_3_width

The generate_footer_widget_3_width filter allows you to choose the widget of your Footer Widget 3 area.
Default (integer): 100 / your chosen number of widgets
Usage
Please refer to the Using Filters article to learn how to use this filter.

generate_article_schema

generate_article_schema

The generate_article_schema filter allows you to change the itemtype schema value for the article element.
Default (string): CreativeWork
Usage
Please refer to the Using Filters article to learn how to use this filter.

generate_mobile_menu_label

generate_mobile_menu_label

The generate_mobile_menu_label filter allows you to change the Menu text in your mobile menu button.
Default (string): Menu
Usage
This is an option in the Menu Plus add-on in GP Premium.
Please refer to the Using Filters article to learn how to use this filter.

generate_footer_widget_2_tablet_width

generate_footer_widget_2_tablet_width

The generate_footer_widget_2_tablet_width filter allows you to choose the width of your Footer Widget 2 area as seen on tablets.
Default (integer): 50
Usage
Please refer to the Using Filters article to learn how to use this filter.

generate_body_itemtype

generate_body_itemtype

The generate_body_itemtype filter allows you to change the itemtype schema value for the body element.
Default (string): WebPage
Usage
Please refer to the Using Filters article to learn how to use this filter.

generate_show_comments

generate_show_comments

The generate_show_comments filter allows you to choose whether to display the amount of comments/link to your comments section in each post.
Default (boolean): true
Usage
Please refer to the Using Filters article to learn how to use this filter.

generate_footer_widget_2_width

generate_footer_widget_2_width

The generate_footer_widget_2_width filter allows you to choose the width of your Footer Widget 2 area.
Default (integer): 100 / your chosen number of widgets
Usage
Please refer to the Using Filters article to learn how to use this filter.

generate_left_sidebar_width

generate_left_sidebar_width

The generate_left_sidebar_width filter allows you to set the width of your left sidebar using a percentage.
Default (integer): 25
Usage
Check out the Sidebar Widths article for examples.
Please refer to the Using Filters article to learn how to use this filter.

Responsive Videos

Responsive Videos

When we embed videos from services like YouTube and Vimeo, the videos come inside an iframe and are usually not responsive. The width of the video is confined to the width of the container, but the height never changes causing it to be very tall and not so wide.
We can make our embedded videos responsive by wrapping them in an HTML element, like this:

Your video embed code

Then, we need to add this CSS:
.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Learn how to add CSS here.
Doing this will make our embedded videos 100% responsive.