| @@ -58,12 +58,8 @@ | ||
| 58 | 58 | 'layout-9' => [ |
| 59 | 59 | 'label' => __( 'Rustic Layout', 'betterdocs' ), |
| 60 | 60 | 'image' => $this->assets->icon( 'customizer/single/layout-9.png', true ), |
| 61 | 61 | ], |
| 62 | - 'layout-10' => [ | |
| 63 | - 'label' => __( 'Slate Layout', 'betterdocs' ), | |
| 64 | - 'image' => $this->assets->icon( 'customizer/single/layout-10.png', true ), | |
| 65 | - ], | |
| 66 | 62 | 'layout-1' => [ |
| 67 | 63 | 'label' => __( 'Classic Layout', 'betterdocs' ), |
| 68 | 64 | 'image' => $this->assets->icon( 'customizer/single/layout-1.png', true ) |
| 69 | 65 | ], |
| @@ -121,87 +117,8 @@ | ||
| 121 | 117 | ) |
| 122 | 118 | ); |
| 123 | 119 | } |
| 124 | 120 | |
| 125 | - /** | |
| 126 | - * Content area width for the single doc, mirroring the Docs Page pair. | |
| 127 | - * | |
| 128 | - * Only meaningful on the layouts whose content wrapper is actually capped | |
| 129 | - * by the stylesheet — 1, 5, 6, 8, 9 and 10. Layouts 2, 3 and 4 are | |
| 130 | - * full-bleed by design and have no width to constrain, so both controls are | |
| 131 | - * hidden for them in customizer-condition.js (the codebase drives control | |
| 132 | - * visibility from JS bound to the layout setting, not active_callback). | |
| 133 | - */ | |
| 134 | - public function single_doc_content_area_width() { | |
| 135 | - $this->customizer->add_setting( | |
| 136 | - 'betterdocs_single_doc_content_width', | |
| 137 | - apply_filters( | |
| 138 | - 'betterdocs_single_doc_content_width', | |
| 139 | - [ | |
| 140 | - 'default' => $this->defaults['betterdocs_single_doc_content_width'], | |
| 141 | - 'capability' => 'edit_theme_options', | |
| 142 | - 'sanitize_callback' => [ $this->sanitizer, 'integer' ] | |
| 143 | - ] | |
| 144 | - ) | |
| 145 | - ); | |
| 146 | - | |
| 147 | - $this->customizer->add_control( | |
| 148 | - new RangeValueControl( | |
| 149 | - $this->customizer, | |
| 150 | - 'betterdocs_single_doc_content_width', | |
| 151 | - [ | |
| 152 | - 'type' => 'betterdocs-range-value', | |
| 153 | - 'section' => 'betterdocs_single_docs_settings', | |
| 154 | - 'settings' => 'betterdocs_single_doc_content_width', | |
| 155 | - 'label' => __( 'Content Area Width', 'betterdocs' ), | |
| 156 | - 'priority' => 103, | |
| 157 | - 'input_attrs' => [ | |
| 158 | - 'class' => 'betterdocs-range-value', | |
| 159 | - 'min' => 0, | |
| 160 | - 'max' => 100, | |
| 161 | - 'step' => 1, | |
| 162 | - 'suffix' => '%' //optional suffix | |
| 163 | - ] | |
| 164 | - ] | |
| 165 | - ) | |
| 166 | - ); | |
| 167 | - } | |
| 168 | - | |
| 169 | - public function single_doc_content_area_max_width() { | |
| 170 | - $this->customizer->add_setting( | |
| 171 | - 'betterdocs_single_doc_content_max_width', | |
| 172 | - apply_filters( | |
| 173 | - 'betterdocs_single_doc_content_max_width', | |
| 174 | - [ | |
| 175 | - 'default' => $this->defaults['betterdocs_single_doc_content_max_width'], | |
| 176 | - 'capability' => 'edit_theme_options', | |
| 177 | - 'sanitize_callback' => [ $this->sanitizer, 'integer' ] | |
| 178 | - ] | |
| 179 | - ) | |
| 180 | - ); | |
| 181 | - | |
| 182 | - $this->customizer->add_control( | |
| 183 | - new RangeValueControl( | |
| 184 | - $this->customizer, | |
| 185 | - 'betterdocs_single_doc_content_max_width', | |
| 186 | - [ | |
| 187 | - 'type' => 'betterdocs-range-value', | |
| 188 | - 'section' => 'betterdocs_single_docs_settings', | |
| 189 | - 'settings' => 'betterdocs_single_doc_content_max_width', | |
| 190 | - 'label' => __( 'Content Area Maximum Width', 'betterdocs' ), | |
| 191 | - 'priority' => 103, | |
| 192 | - 'input_attrs' => [ | |
| 193 | - 'class' => 'betterdocs-range-value', | |
| 194 | - 'min' => 100, | |
| 195 | - 'max' => 1600, | |
| 196 | - 'step' => 1, | |
| 197 | - 'suffix' => 'px' //optional suffix | |
| 198 | - ] | |
| 199 | - ] | |
| 200 | - ) | |
| 201 | - ); | |
| 202 | - } | |
| 203 | - | |
| 204 | 121 | public function doc_single_content_area_bg_color() { |
| 205 | 122 | $this->customizer->add_setting( |
| 206 | 123 | 'betterdocs_doc_single_content_area_bg_color', |
| 207 | 124 | [ |
| @@ -1712,287 +1629,8 @@ | ||
| 1712 | 1629 | ) |
| 1713 | 1630 | ); |
| 1714 | 1631 | } |
| 1715 | 1632 | |
| 1716 | - public function doc_single_article_summary_title() { | |
| 1717 | - $this->customizer->add_setting( | |
| 1718 | - 'betterdocs_doc_single_article_summary_title', | |
| 1719 | - [ | |
| 1720 | - 'default' => $this->defaults['betterdocs_doc_single_article_summary_title'], | |
| 1721 | - 'sanitize_callback' => 'esc_html' | |
| 1722 | - ] | |
| 1723 | - ); | |
| 1724 | - | |
| 1725 | - $this->customizer->add_control( | |
| 1726 | - new SeparatorControl( | |
| 1727 | - $this->customizer, | |
| 1728 | - 'betterdocs_doc_single_article_summary_title', | |
| 1729 | - [ | |
| 1730 | - 'label' => __( 'Doc Summary', 'betterdocs' ), | |
| 1731 | - 'priority' => 130, | |
| 1732 | - 'settings' => 'betterdocs_doc_single_article_summary_title', | |
| 1733 | - 'section' => 'betterdocs_single_docs_settings' | |
| 1734 | - ] | |
| 1735 | - ) | |
| 1736 | - ); | |
| 1737 | - } | |
| 1738 | - | |
| 1739 | - public function article_summary_bg_color() { | |
| 1740 | - $this->customizer->add_setting( | |
| 1741 | - 'betterdocs_article_summary_bg_color', | |
| 1742 | - [ | |
| 1743 | - 'capability' => 'edit_theme_options', | |
| 1744 | - 'default' => $this->defaults['betterdocs_article_summary_bg_color'], | |
| 1745 | - 'transport' => 'postMessage', | |
| 1746 | - 'sanitize_callback' => [ $this->sanitizer, 'rgba' ] | |
| 1747 | - ] | |
| 1748 | - ); | |
| 1749 | - | |
| 1750 | - $this->customizer->add_control( | |
| 1751 | - new AlphaColorControl( | |
| 1752 | - $this->customizer, | |
| 1753 | - 'betterdocs_article_summary_bg_color', | |
| 1754 | - [ | |
| 1755 | - 'label' => __( 'Background Color', 'betterdocs' ), | |
| 1756 | - 'priority' => 130, | |
| 1757 | - 'section' => 'betterdocs_single_docs_settings', | |
| 1758 | - 'settings' => 'betterdocs_article_summary_bg_color' | |
| 1759 | - ] | |
| 1760 | - ) | |
| 1761 | - ); | |
| 1762 | - } | |
| 1763 | - | |
| 1764 | - public function article_summary_border_color() { | |
| 1765 | - $this->customizer->add_setting( | |
| 1766 | - 'betterdocs_article_summary_border_color', | |
| 1767 | - [ | |
| 1768 | - 'capability' => 'edit_theme_options', | |
| 1769 | - 'default' => $this->defaults['betterdocs_article_summary_border_color'], | |
| 1770 | - 'transport' => 'postMessage', | |
| 1771 | - 'sanitize_callback' => [ $this->sanitizer, 'rgba' ] | |
| 1772 | - ] | |
| 1773 | - ); | |
| 1774 | - | |
| 1775 | - $this->customizer->add_control( | |
| 1776 | - new AlphaColorControl( | |
| 1777 | - $this->customizer, | |
| 1778 | - 'betterdocs_article_summary_border_color', | |
| 1779 | - [ | |
| 1780 | - 'label' => __( 'Border Color', 'betterdocs' ), | |
| 1781 | - 'priority' => 130, | |
| 1782 | - 'section' => 'betterdocs_single_docs_settings', | |
| 1783 | - 'settings' => 'betterdocs_article_summary_border_color' | |
| 1784 | - ] | |
| 1785 | - ) | |
| 1786 | - ); | |
| 1787 | - } | |
| 1788 | - | |
| 1789 | - public function article_summary_border_width() { | |
| 1790 | - $this->customizer->add_setting( | |
| 1791 | - 'betterdocs_article_summary_border_width', | |
| 1792 | - [ | |
| 1793 | - 'default' => $this->defaults['betterdocs_article_summary_border_width'], | |
| 1794 | - 'capability' => 'edit_theme_options', | |
| 1795 | - 'transport' => 'postMessage', | |
| 1796 | - 'sanitize_callback' => [ $this->sanitizer, 'integer' ] | |
| 1797 | - ] | |
| 1798 | - ); | |
| 1799 | - | |
| 1800 | - $this->customizer->add_control( | |
| 1801 | - new RangeValueControl( | |
| 1802 | - $this->customizer, | |
| 1803 | - 'betterdocs_article_summary_border_width', | |
| 1804 | - [ | |
| 1805 | - 'type' => 'betterdocs-range-value', | |
| 1806 | - 'section' => 'betterdocs_single_docs_settings', | |
| 1807 | - 'settings' => 'betterdocs_article_summary_border_width', | |
| 1808 | - 'label' => __( 'Border Width', 'betterdocs' ), | |
| 1809 | - 'priority' => 130, | |
| 1810 | - 'input_attrs' => [ | |
| 1811 | - 'class' => '', | |
| 1812 | - 'min' => 0, | |
| 1813 | - 'max' => 10, | |
| 1814 | - 'step' => 1, | |
| 1815 | - 'suffix' => 'px' | |
| 1816 | - ] | |
| 1817 | - ] | |
| 1818 | - ) | |
| 1819 | - ); | |
| 1820 | - } | |
| 1821 | - | |
| 1822 | - public function article_summary_border_radius() { | |
| 1823 | - $this->customizer->add_setting( | |
| 1824 | - 'betterdocs_article_summary_border_radius', | |
| 1825 | - [ | |
| 1826 | - 'default' => $this->defaults['betterdocs_article_summary_border_radius'], | |
| 1827 | - 'capability' => 'edit_theme_options', | |
| 1828 | - 'transport' => 'postMessage', | |
| 1829 | - 'sanitize_callback' => [ $this->sanitizer, 'integer' ] | |
| 1830 | - ] | |
| 1831 | - ); | |
| 1832 | - | |
| 1833 | - $this->customizer->add_control( | |
| 1834 | - new RangeValueControl( | |
| 1835 | - $this->customizer, | |
| 1836 | - 'betterdocs_article_summary_border_radius', | |
| 1837 | - [ | |
| 1838 | - 'type' => 'betterdocs-range-value', | |
| 1839 | - 'section' => 'betterdocs_single_docs_settings', | |
| 1840 | - 'settings' => 'betterdocs_article_summary_border_radius', | |
| 1841 | - 'label' => __( 'Border Radius', 'betterdocs' ), | |
| 1842 | - 'priority' => 130, | |
| 1843 | - 'input_attrs' => [ | |
| 1844 | - 'class' => '', | |
| 1845 | - 'min' => 0, | |
| 1846 | - 'max' => 50, | |
| 1847 | - 'step' => 1, | |
| 1848 | - 'suffix' => 'px' | |
| 1849 | - ] | |
| 1850 | - ] | |
| 1851 | - ) | |
| 1852 | - ); | |
| 1853 | - } | |
| 1854 | - | |
| 1855 | - public function article_summary_title_bg_color() { | |
| 1856 | - $this->customizer->add_setting( | |
| 1857 | - 'betterdocs_article_summary_title_bg_color', | |
| 1858 | - [ | |
| 1859 | - 'capability' => 'edit_theme_options', | |
| 1860 | - 'default' => $this->defaults['betterdocs_article_summary_title_bg_color'], | |
| 1861 | - 'transport' => 'postMessage', | |
| 1862 | - 'sanitize_callback' => [ $this->sanitizer, 'rgba' ] | |
| 1863 | - ] | |
| 1864 | - ); | |
| 1865 | - | |
| 1866 | - $this->customizer->add_control( | |
| 1867 | - new AlphaColorControl( | |
| 1868 | - $this->customizer, | |
| 1869 | - 'betterdocs_article_summary_title_bg_color', | |
| 1870 | - [ | |
| 1871 | - 'label' => __( 'Title Background Color', 'betterdocs' ), | |
| 1872 | - 'priority' => 130, | |
| 1873 | - 'section' => 'betterdocs_single_docs_settings', | |
| 1874 | - 'settings' => 'betterdocs_article_summary_title_bg_color' | |
| 1875 | - ] | |
| 1876 | - ) | |
| 1877 | - ); | |
| 1878 | - } | |
| 1879 | - | |
| 1880 | - public function article_summary_title_color() { | |
| 1881 | - $this->customizer->add_setting( | |
| 1882 | - 'betterdocs_article_summary_title_color', | |
| 1883 | - [ | |
| 1884 | - 'capability' => 'edit_theme_options', | |
| 1885 | - 'default' => $this->defaults['betterdocs_article_summary_title_color'], | |
| 1886 | - 'transport' => 'postMessage', | |
| 1887 | - 'sanitize_callback' => [ $this->sanitizer, 'rgba' ] | |
| 1888 | - ] | |
| 1889 | - ); | |
| 1890 | - | |
| 1891 | - $this->customizer->add_control( | |
| 1892 | - new AlphaColorControl( | |
| 1893 | - $this->customizer, | |
| 1894 | - 'betterdocs_article_summary_title_color', | |
| 1895 | - [ | |
| 1896 | - 'label' => __( 'Title Color', 'betterdocs' ), | |
| 1897 | - 'priority' => 130, | |
| 1898 | - 'section' => 'betterdocs_single_docs_settings', | |
| 1899 | - 'settings' => 'betterdocs_article_summary_title_color' | |
| 1900 | - ] | |
| 1901 | - ) | |
| 1902 | - ); | |
| 1903 | - } | |
| 1904 | - | |
| 1905 | - public function article_summary_title_font_size() { | |
| 1906 | - $this->customizer->add_setting( | |
| 1907 | - 'betterdocs_article_summary_title_font_size', | |
| 1908 | - [ | |
| 1909 | - 'default' => $this->defaults['betterdocs_article_summary_title_font_size'], | |
| 1910 | - 'capability' => 'edit_theme_options', | |
| 1911 | - 'transport' => 'postMessage', | |
| 1912 | - 'sanitize_callback' => [ $this->sanitizer, 'integer' ] | |
| 1913 | - ] | |
| 1914 | - ); | |
| 1915 | - | |
| 1916 | - $this->customizer->add_control( | |
| 1917 | - new RangeValueControl( | |
| 1918 | - $this->customizer, | |
| 1919 | - 'betterdocs_article_summary_title_font_size', | |
| 1920 | - [ | |
| 1921 | - 'type' => 'betterdocs-range-value', | |
| 1922 | - 'section' => 'betterdocs_single_docs_settings', | |
| 1923 | - 'settings' => 'betterdocs_article_summary_title_font_size', | |
| 1924 | - 'label' => __( 'Title Font Size', 'betterdocs' ), | |
| 1925 | - 'priority' => 130, | |
| 1926 | - 'input_attrs' => [ | |
| 1927 | - 'class' => '', | |
| 1928 | - 'min' => 12, | |
| 1929 | - 'max' => 32, | |
| 1930 | - 'step' => 1, | |
| 1931 | - 'suffix' => 'px' | |
| 1932 | - ] | |
| 1933 | - ] | |
| 1934 | - ) | |
| 1935 | - ); | |
| 1936 | - } | |
| 1937 | - | |
| 1938 | - public function article_summary_content_color() { | |
| 1939 | - $this->customizer->add_setting( | |
| 1940 | - 'betterdocs_article_summary_content_color', | |
| 1941 | - [ | |
| 1942 | - 'default' => $this->defaults['betterdocs_article_summary_content_color'], | |
| 1943 | - 'transport' => 'postMessage', | |
| 1944 | - 'sanitize_callback' => [ $this->sanitizer, 'rgba' ] | |
| 1945 | - ] | |
| 1946 | - ); | |
| 1947 | - | |
| 1948 | - $this->customizer->add_control( | |
| 1949 | - new AlphaColorControl( | |
| 1950 | - $this->customizer, | |
| 1951 | - 'betterdocs_article_summary_content_color', | |
| 1952 | - [ | |
| 1953 | - 'label' => __( 'Content Color', 'betterdocs' ), | |
| 1954 | - 'priority' => 130, | |
| 1955 | - 'section' => 'betterdocs_single_docs_settings', | |
| 1956 | - 'settings' => 'betterdocs_article_summary_content_color' | |
| 1957 | - ] | |
| 1958 | - ) | |
| 1959 | - ); | |
| 1960 | - } | |
| 1961 | - | |
| 1962 | - public function article_summary_content_font_size() { | |
| 1963 | - $this->customizer->add_setting( | |
| 1964 | - 'betterdocs_article_summary_content_font_size', | |
| 1965 | - [ | |
| 1966 | - 'default' => $this->defaults['betterdocs_article_summary_content_font_size'], | |
| 1967 | - 'capability' => 'edit_theme_options', | |
| 1968 | - 'transport' => 'postMessage', | |
| 1969 | - 'sanitize_callback' => [ $this->sanitizer, 'integer' ] | |
| 1970 | - ] | |
| 1971 | - ); | |
| 1972 | - | |
| 1973 | - $this->customizer->add_control( | |
| 1974 | - new RangeValueControl( | |
| 1975 | - $this->customizer, | |
| 1976 | - 'betterdocs_article_summary_content_font_size', | |
| 1977 | - [ | |
| 1978 | - 'type' => 'betterdocs-range-value', | |
| 1979 | - 'section' => 'betterdocs_single_docs_settings', | |
| 1980 | - 'settings' => 'betterdocs_article_summary_content_font_size', | |
| 1981 | - 'label' => __( 'Content Font Size', 'betterdocs' ), | |
| 1982 | - 'priority' => 130, | |
| 1983 | - 'input_attrs' => [ | |
| 1984 | - 'class' => '', | |
| 1985 | - 'min' => 10, | |
| 1986 | - 'max' => 24, | |
| 1987 | - 'step' => 1, | |
| 1988 | - 'suffix' => 'px' | |
| 1989 | - ] | |
| 1990 | - ] | |
| 1991 | - ) | |
| 1992 | - ); | |
| 1993 | - } | |
| 1994 | - | |
| 1995 | 1633 | public function doc_single_toc_title() { |
| 1996 | 1634 | $this->customizer->add_setting( |
| 1997 | 1635 | 'betterdocs_doc_single_toc_title', |
| 1998 | 1636 | [ |
| @@ -3505,32 +3143,8 @@ | ||
| 3505 | 3143 | ) |
| 3506 | 3144 | ); |
| 3507 | 3145 | } |
| 3508 | 3146 | |
| 3509 | - public function toc_item_hover_bg_color_layout_10() { | |
| 3510 | - $this->customizer->add_setting( | |
| 3511 | - 'toc_item_hover_bg_color_layout_10', | |
| 3512 | - [ | |
| 3513 | - 'capability' => 'edit_theme_options', | |
| 3514 | - 'default' => $this->defaults['toc_item_hover_bg_color_layout_10'], | |
| 3515 | - 'sanitize_callback' => [ $this->sanitizer, 'rgba' ] | |
| 3516 | - ] | |
| 3517 | - ); | |
| 3518 | - | |
| 3519 | - $this->customizer->add_control( | |
| 3520 | - new AlphaColorControl( | |
| 3521 | - $this->customizer, | |
| 3522 | - 'toc_item_hover_bg_color_layout_10', | |
| 3523 | - [ | |
| 3524 | - 'label' => __( 'Active Item Background Color', 'betterdocs' ), | |
| 3525 | - 'priority' => 146, | |
| 3526 | - 'section' => 'betterdocs_single_docs_settings', | |
| 3527 | - 'settings' => 'toc_item_hover_bg_color_layout_10' | |
| 3528 | - ] | |
| 3529 | - ) | |
| 3530 | - ); | |
| 3531 | - } | |
| 3532 | - | |
| 3533 | 3147 | public function toc_list_item_font_size_layout_8_9() { |
| 3534 | 3148 | $this->customizer->add_setting( |
| 3535 | 3149 | 'betterdocs_toc_list_item_font_size_layout_8_9', |
| 3536 | 3150 | [ |
| @@ -4807,41 +4421,8 @@ | ||
| 4807 | 4421 | ) |
| 4808 | 4422 | ); |
| 4809 | 4423 | } |
| 4810 | 4424 | |
| 4811 | - public function social_share_title_tag() { | |
| 4812 | - $this->customizer->add_setting( | |
| 4813 | - 'betterdocs_social_share_title_tag', | |
| 4814 | - [ | |
| 4815 | - 'default' => $this->defaults['betterdocs_social_share_title_tag'], | |
| 4816 | - 'capability' => 'edit_theme_options', | |
| 4817 | - 'sanitize_callback' => [ $this->sanitizer, 'choices' ] | |
| 4818 | - ] | |
| 4819 | - ); | |
| 4820 | - | |
| 4821 | - $this->customizer->add_control( | |
| 4822 | - new WP_Customize_Control( | |
| 4823 | - $this->customizer, | |
| 4824 | - 'betterdocs_social_share_title_tag', | |
| 4825 | - [ | |
| 4826 | - 'label' => __( 'Social Share Title Tag', 'betterdocs' ), | |
| 4827 | - 'section' => 'betterdocs_single_docs_settings', | |
| 4828 | - 'settings' => 'betterdocs_social_share_title_tag', | |
| 4829 | - 'type' => 'select', | |
| 4830 | - 'choices' => [ | |
| 4831 | - 'h1' => 'h1', | |
| 4832 | - 'h2' => 'h2', | |
| 4833 | - 'h3' => 'h3', | |
| 4834 | - 'h4' => 'h4', | |
| 4835 | - 'h5' => 'h5', | |
| 4836 | - 'h6' => 'h6' | |
| 4837 | - ], | |
| 4838 | - 'priority' => 165 | |
| 4839 | - ] | |
| 4840 | - ) | |
| 4841 | - ); | |
| 4842 | - } | |
| 4843 | - | |
| 4844 | 4425 | public function post_social_share() { |
| 4845 | 4426 | $this->customizer->add_setting( |
| 4846 | 4427 | 'betterdocs_post_social_share', |
| 4847 | 4428 | [ |
| @@ -6371,41 +5952,8 @@ | ||
| 6371 | 5952 | 'label' => __( 'Reactions', 'betterdocs' ), |
| 6372 | 5953 | 'priority' => 159, |
| 6373 | 5954 | 'settings' => 'betterdocs_reactions_title', |
| 6374 | 5955 | 'section' => 'betterdocs_single_docs_settings' |
| 6375 | - ] | |
| 6376 | - ) | |
| 6377 | - ); | |
| 6378 | - } | |
| 6379 | - | |
| 6380 | - public function reactions_title_tag() { | |
| 6381 | - $this->customizer->add_setting( | |
| 6382 | - 'betterdocs_reactions_title_tag', | |
| 6383 | - [ | |
| 6384 | - 'default' => $this->defaults['betterdocs_reactions_title_tag'], | |
| 6385 | - 'capability' => 'edit_theme_options', | |
| 6386 | - 'sanitize_callback' => [ $this->sanitizer, 'choices' ] | |
| 6387 | - ] | |
| 6388 | - ); | |
| 6389 | - | |
| 6390 | - $this->customizer->add_control( | |
| 6391 | - new WP_Customize_Control( | |
| 6392 | - $this->customizer, | |
| 6393 | - 'betterdocs_reactions_title_tag', | |
| 6394 | - [ | |
| 6395 | - 'label' => __( 'Reactions Title Tag', 'betterdocs' ), | |
| 6396 | - 'section' => 'betterdocs_single_docs_settings', | |
| 6397 | - 'settings' => 'betterdocs_reactions_title_tag', | |
| 6398 | - 'type' => 'select', | |
| 6399 | - 'choices' => [ | |
| 6400 | - 'h1' => 'h1', | |
| 6401 | - 'h2' => 'h2', | |
| 6402 | - 'h3' => 'h3', | |
| 6403 | - 'h4' => 'h4', | |
| 6404 | - 'h5' => 'h5', | |
| 6405 | - 'h6' => 'h6' | |
| 6406 | - ], | |
| 6407 | - 'priority' => 160 | |
| 6408 | 5956 | ] |
| 6409 | 5957 | ) |
| 6410 | 5958 | ); |
| 6411 | 5959 | } |