diff --git a/inc/patterns/three-columns-features.php b/inc/patterns/three-columns-features.php index 02ba584..f95c7eb 100644 --- a/inc/patterns/three-columns-features.php +++ b/inc/patterns/three-columns-features.php @@ -1,72 +1,47 @@ 'shape-05.svg', - 'title' => __( 'Style Variations', 'raft' ), - ), - array( - 'image' => 'shape-06.svg', - 'title' => __( 'Built-in Patterns', 'raft' ), - ), - array( - 'image' => 'shape-04.svg', - 'title' => __( 'Powered by blocks', 'raft' ), - ), -); +$raft_strings = apply_filters( 'raft_strings', array() ); -$strings = array( - 'title' => __( 'Three columns of features', 'raft' ), +$images = array( + RAFT_URL . 'assets/img/shape-05.svg', + RAFT_URL . 'assets/img/shape-06.svg', + RAFT_URL . 'assets/img/shape-04.svg', ); -$columns_markup = ''; - -foreach ( $columns as $column ) { - $columns_markup .= ''; - $columns_markup .= '
'; - - $columns_markup .= ''; - $columns_markup .= '
'; - $columns_markup .= 'Illustration'; - $columns_markup .= '
'; - $columns_markup .= ''; - - $columns_markup .= ''; - $columns_markup .= '

' . esc_html( $column['title'] ) . '

'; - $columns_markup .= ''; - - $columns_markup .= ''; - $columns_markup .= '

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor.

'; - $columns_markup .= ''; - - $columns_markup .= '
'; - $columns_markup .= ''; -} - return array( - 'title' => $strings['title'], - 'categories' => array( 'raft/features' ), - 'content' => ' - -
- - -
' . wp_kses_post( $columns_markup ) . '
- - -
- -', + 'title' => __( 'Three Columns of Features', 'raft' ), + 'categories' => array( 'raft/features' ), + 'content' => ' +
+
+
+
Illustration
+

' . esc_html( $raft_strings['feature_title'] ) . '

+

' . esc_html( $raft_strings['feature_description'] ) . '

+
+
+
Illustration
+

' . esc_html( $raft_strings['feature_title'] ) . '

+

' . esc_html( $raft_strings['feature_description'] ) . '

+
+
+
Illustration
+

' . esc_html( $raft_strings['feature_title'] ) . '

+

' . esc_html( $raft_strings['feature_description'] ) . '

+
+
+
+ ', );