Template: Sticky

<?php $this->post = ‘sticky’; ?> There are a few things to verify: The sticky post should be distinctly recognizable in some way in comparison to normal posts. You can style the .sticky class if you are using the post_class() function to generate your post classes, which is a best practice. They should show at the…

Full Article About Template: Sticky

PrismJS Syntax Highlighter

This post shows some examples of syntax highlighting using the PrismJS Syntax Highlighter. PHP Example $wp_customize->add_panel( ‘wpstarter_theme_options’, array( ‘priority’       => 1000, ‘theme_supports’ => ”, ‘title’          => esc_html__( ‘Theme Options’, ‘wpstarter’ ), ‘description’    => esc_html__( ‘Customize theme optioons’, ‘wpstarter’ ), ) );   SCSS Example .main-container {  …

Full Article About PrismJS Syntax Highlighter

Markup: HTML Tags and Formatting

Headings Header one Header two Header three Header four Header five Header six Blockquotes Single line blockquote: Stay hungry. Stay foolish. Multi line blockquote with a cite reference: The HTML <blockquote> Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes…

Continue Reading About Markup: HTML Tags and Formatting