Astra_Update_Blog_Archive::get_input_schema()

Get input schema.


Description


Return

(array)


Source

File: inc/abilities/customizer/posttypes/blog/class-astra-update-blog-archive.php

	public function get_input_schema() {
		return array(
			'type'       => 'object',
			'properties' => array(
				'blog_layout'    => array(
					'type'        => 'string',
					'description' => __( 'Blog layout style. Options: "blog-layout-classic" (Classic), "blog-layout-4" (Grid), "blog-layout-5" (List), "blog-layout-6" (Cover).', 'astra' ),
					'enum'        => array( 'blog-layout-classic', 'blog-layout-4', 'blog-layout-5', 'blog-layout-6' ),
				),
				'posts_per_page' => array(
					'type'        => 'integer',
					'description' => __( 'Number of posts to display per page (1-500).', 'astra' ),
				),
				'sidebar_layout' => array(
					'type'        => 'string',
					'description' => __( 'Sidebar layout position. Options: "no-sidebar" (No Sidebar), "left-sidebar" (Left Sidebar), "right-sidebar" (Right Sidebar).', 'astra' ),
					'enum'        => array( 'no-sidebar', 'left-sidebar', 'right-sidebar' ),
				),
				'sidebar_style'  => array(
					'type'        => 'string',
					'description' => __( 'Sidebar style. Options: "unboxed" (Unboxed), "boxed" (Boxed).', 'astra' ),
					'enum'        => array( 'unboxed', 'boxed' ),
				),
				'sidebar_width'  => array(
					'type'        => 'integer',
					'description' => __( 'Sidebar width in percentage (15-50).', 'astra' ),
				),
			),
		);
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.