Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../themes/herald/core/admin
File: options-fields.php
'required' => array( 'lay_c_excerpt', '=', true )
[1500] Fix | Delete
),
[1501] Fix | Delete
[1502] Fix | Delete
array(
[1503] Fix | Delete
'id' => 'lay_c_rm',
[1504] Fix | Delete
'type' => 'switch',
[1505] Fix | Delete
'title' => esc_html__( 'Read more link', 'herald' ),
[1506] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to enable read more link for Layout C', 'herald' ),
[1507] Fix | Delete
'default' => herald_get_default_option( 'lay_c_rm' ),
[1508] Fix | Delete
'required' => array( 'lay_c_excerpt', '=', true )
[1509] Fix | Delete
),
[1510] Fix | Delete
[1511] Fix | Delete
array(
[1512] Fix | Delete
'id' => 'img_size_lay_c_ratio',
[1513] Fix | Delete
'type' => 'radio',
[1514] Fix | Delete
'title' => esc_html__( 'Layout C image ratio', 'herald' ),
[1515] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout C', 'herald' ),
[1516] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[1517] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_c_ratio' ),
[1518] Fix | Delete
),
[1519] Fix | Delete
[1520] Fix | Delete
array(
[1521] Fix | Delete
'id' => 'img_size_lay_c_custom',
[1522] Fix | Delete
'type' => 'text',
[1523] Fix | Delete
'class' => 'small-text',
[1524] Fix | Delete
'title' => esc_html__( 'Layout C image custom ratio', 'herald' ),
[1525] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout C images', 'herald' ),
[1526] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[1527] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_c_custom' ),
[1528] Fix | Delete
'required' => array( 'img_size_lay_c_ratio', '=', 'custom' ),
[1529] Fix | Delete
),
[1530] Fix | Delete
)
[1531] Fix | Delete
)
[1532] Fix | Delete
);
[1533] Fix | Delete
[1534] Fix | Delete
/* Layout C1 */
[1535] Fix | Delete
Redux::setSection( $opt_name , array(
[1536] Fix | Delete
'icon' => '',
[1537] Fix | Delete
'title' => esc_html__( 'Layout C1', 'herald' ),
[1538] Fix | Delete
'heading' => false,
[1539] Fix | Delete
'subsection' => true,
[1540] Fix | Delete
'fields' => array(
[1541] Fix | Delete
[1542] Fix | Delete
array(
[1543] Fix | Delete
'id' => 'section_layout_c1',
[1544] Fix | Delete
'type' => 'herald_section',
[1545] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_c1.png' ) ).'"/>'.esc_html__( 'Layout C1', 'herald' ),
[1546] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout C1', 'herald' ),
[1547] Fix | Delete
'indent' => false
[1548] Fix | Delete
),
[1549] Fix | Delete
[1550] Fix | Delete
array(
[1551] Fix | Delete
'id' => 'lay_c1_cat',
[1552] Fix | Delete
'type' => 'switch',
[1553] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[1554] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout C1', 'herald' ),
[1555] Fix | Delete
'default' => herald_get_default_option( 'lay_c1_cat' ),
[1556] Fix | Delete
),
[1557] Fix | Delete
[1558] Fix | Delete
array(
[1559] Fix | Delete
'id' => 'lay_c1_meta',
[1560] Fix | Delete
'type' => 'sortable',
[1561] Fix | Delete
'mode' => 'checkbox',
[1562] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[1563] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout C1', 'herald' ),
[1564] Fix | Delete
'options' => herald_get_meta_opts(),
[1565] Fix | Delete
'default' => herald_get_default_option( 'lay_c1_meta' ),
[1566] Fix | Delete
),
[1567] Fix | Delete
[1568] Fix | Delete
array(
[1569] Fix | Delete
'id' => 'lay_c1_excerpt',
[1570] Fix | Delete
'type' => 'switch',
[1571] Fix | Delete
'title' => esc_html__( 'Layout C1 excerpt', 'herald' ),
[1572] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout C1', 'herald' ),
[1573] Fix | Delete
'default' => herald_get_default_option( 'lay_c1_excerpt' ),
[1574] Fix | Delete
),
[1575] Fix | Delete
[1576] Fix | Delete
[1577] Fix | Delete
array(
[1578] Fix | Delete
'id' => 'lay_c1_excerpt_limit',
[1579] Fix | Delete
'type' => 'text',
[1580] Fix | Delete
'class' => 'small-text',
[1581] Fix | Delete
'title' => esc_html__( 'Excerpt limit', 'herald' ),
[1582] Fix | Delete
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
[1583] Fix | Delete
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
[1584] Fix | Delete
'default' => herald_get_default_option( 'lay_c1_excerpt_limit' ),
[1585] Fix | Delete
'validate' => 'numeric',
[1586] Fix | Delete
'required' => array( 'lay_c1_excerpt', '=', true )
[1587] Fix | Delete
),
[1588] Fix | Delete
[1589] Fix | Delete
array(
[1590] Fix | Delete
'id' => 'lay_c1_rm',
[1591] Fix | Delete
'type' => 'switch',
[1592] Fix | Delete
'title' => esc_html__( 'Read more link', 'herald' ),
[1593] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to enable read more link for Layout C1', 'herald' ),
[1594] Fix | Delete
'default' => herald_get_default_option( 'lay_c1_rm' ),
[1595] Fix | Delete
'required' => array( 'lay_c1_excerpt', '=', true )
[1596] Fix | Delete
),
[1597] Fix | Delete
[1598] Fix | Delete
array(
[1599] Fix | Delete
'id' => 'img_size_lay_c1_ratio',
[1600] Fix | Delete
'type' => 'radio',
[1601] Fix | Delete
'title' => esc_html__( 'Layout C1 image ratio', 'herald' ),
[1602] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout C1', 'herald' ),
[1603] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[1604] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_c1_ratio' ),
[1605] Fix | Delete
),
[1606] Fix | Delete
[1607] Fix | Delete
array(
[1608] Fix | Delete
'id' => 'img_size_lay_c1_custom',
[1609] Fix | Delete
'type' => 'text',
[1610] Fix | Delete
'class' => 'small-text',
[1611] Fix | Delete
'title' => esc_html__( 'Layout C1 image custom ratio', 'herald' ),
[1612] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout C1 images', 'herald' ),
[1613] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[1614] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_c1_custom' ),
[1615] Fix | Delete
'required' => array( 'img_size_lay_c1_ratio', '=', 'custom' ),
[1616] Fix | Delete
),
[1617] Fix | Delete
[1618] Fix | Delete
)
[1619] Fix | Delete
)
[1620] Fix | Delete
);
[1621] Fix | Delete
[1622] Fix | Delete
[1623] Fix | Delete
/* Layout D */
[1624] Fix | Delete
Redux::setSection( $opt_name , array(
[1625] Fix | Delete
'icon' => '',
[1626] Fix | Delete
'title' => esc_html__( 'Layout D', 'herald' ),
[1627] Fix | Delete
'heading' => false,
[1628] Fix | Delete
'subsection' => true,
[1629] Fix | Delete
'fields' => array(
[1630] Fix | Delete
[1631] Fix | Delete
array(
[1632] Fix | Delete
'id' => 'section_layout_d',
[1633] Fix | Delete
'type' => 'herald_section',
[1634] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_d.png' ) ).'"/>'.esc_html__( 'Layout D', 'herald' ),
[1635] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout D', 'herald' ),
[1636] Fix | Delete
'indent' => false
[1637] Fix | Delete
),
[1638] Fix | Delete
[1639] Fix | Delete
array(
[1640] Fix | Delete
'id' => 'lay_d_cat',
[1641] Fix | Delete
'type' => 'switch',
[1642] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[1643] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout D', 'herald' ),
[1644] Fix | Delete
'default' => herald_get_default_option( 'lay_d_cat' ),
[1645] Fix | Delete
),
[1646] Fix | Delete
[1647] Fix | Delete
array(
[1648] Fix | Delete
'id' => 'lay_d_meta',
[1649] Fix | Delete
'type' => 'sortable',
[1650] Fix | Delete
'mode' => 'checkbox',
[1651] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[1652] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout D', 'herald' ),
[1653] Fix | Delete
'options' => herald_get_meta_opts(),
[1654] Fix | Delete
'default' => herald_get_default_option( 'lay_d_meta' ),
[1655] Fix | Delete
),
[1656] Fix | Delete
[1657] Fix | Delete
array(
[1658] Fix | Delete
'id' => 'img_size_lay_d_ratio',
[1659] Fix | Delete
'type' => 'radio',
[1660] Fix | Delete
'title' => esc_html__( 'Layout D image ratio', 'herald' ),
[1661] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout D', 'herald' ),
[1662] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[1663] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_d_ratio' ),
[1664] Fix | Delete
),
[1665] Fix | Delete
[1666] Fix | Delete
array(
[1667] Fix | Delete
'id' => 'img_size_lay_d_custom',
[1668] Fix | Delete
'type' => 'text',
[1669] Fix | Delete
'class' => 'small-text',
[1670] Fix | Delete
'title' => esc_html__( 'Layout D image custom ratio', 'herald' ),
[1671] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout D images', 'herald' ),
[1672] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[1673] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_d_custom' ),
[1674] Fix | Delete
'required' => array( 'img_size_lay_d_ratio', '=', 'custom' ),
[1675] Fix | Delete
),
[1676] Fix | Delete
)
[1677] Fix | Delete
)
[1678] Fix | Delete
);
[1679] Fix | Delete
[1680] Fix | Delete
/* Layout D1 */
[1681] Fix | Delete
Redux::setSection( $opt_name , array(
[1682] Fix | Delete
'icon' => '',
[1683] Fix | Delete
'title' => esc_html__( 'Layout D1', 'herald' ),
[1684] Fix | Delete
'heading' => false,
[1685] Fix | Delete
'subsection' => true,
[1686] Fix | Delete
'fields' => array(
[1687] Fix | Delete
[1688] Fix | Delete
array(
[1689] Fix | Delete
'id' => 'section_layout_d1',
[1690] Fix | Delete
'type' => 'herald_section',
[1691] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_d1.png' ) ).'"/>'.esc_html__( 'Layout D1', 'herald' ),
[1692] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout D1', 'herald' ),
[1693] Fix | Delete
'indent' => false
[1694] Fix | Delete
),
[1695] Fix | Delete
[1696] Fix | Delete
array(
[1697] Fix | Delete
'id' => 'lay_d1_cat',
[1698] Fix | Delete
'type' => 'switch',
[1699] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[1700] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout D1', 'herald' ),
[1701] Fix | Delete
'default' => herald_get_default_option( 'lay_d1_cat' ),
[1702] Fix | Delete
),
[1703] Fix | Delete
[1704] Fix | Delete
array(
[1705] Fix | Delete
'id' => 'lay_d1_meta',
[1706] Fix | Delete
'type' => 'sortable',
[1707] Fix | Delete
'mode' => 'checkbox',
[1708] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[1709] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout D1', 'herald' ),
[1710] Fix | Delete
'options' => herald_get_meta_opts(),
[1711] Fix | Delete
'default' => herald_get_default_option( 'lay_d1_meta' ),
[1712] Fix | Delete
),
[1713] Fix | Delete
[1714] Fix | Delete
array(
[1715] Fix | Delete
'id' => 'img_size_lay_d1_ratio',
[1716] Fix | Delete
'type' => 'radio',
[1717] Fix | Delete
'title' => esc_html__( 'Layout D1 image ratio', 'herald' ),
[1718] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout D1', 'herald' ),
[1719] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[1720] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_d1_ratio' ),
[1721] Fix | Delete
),
[1722] Fix | Delete
[1723] Fix | Delete
array(
[1724] Fix | Delete
'id' => 'img_size_lay_d1_custom',
[1725] Fix | Delete
'type' => 'text',
[1726] Fix | Delete
'class' => 'small-text',
[1727] Fix | Delete
'title' => esc_html__( 'Layout D1 image custom ratio', 'herald' ),
[1728] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout D1 images', 'herald' ),
[1729] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[1730] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_d1_custom' ),
[1731] Fix | Delete
'required' => array( 'img_size_lay_d1_ratio', '=', 'custom' ),
[1732] Fix | Delete
),
[1733] Fix | Delete
)
[1734] Fix | Delete
)
[1735] Fix | Delete
);
[1736] Fix | Delete
[1737] Fix | Delete
/* Layout E */
[1738] Fix | Delete
Redux::setSection( $opt_name , array(
[1739] Fix | Delete
'icon' => '',
[1740] Fix | Delete
'title' => esc_html__( 'Layout E', 'herald' ),
[1741] Fix | Delete
'heading' => false,
[1742] Fix | Delete
'subsection' => true,
[1743] Fix | Delete
'fields' => array(
[1744] Fix | Delete
[1745] Fix | Delete
array(
[1746] Fix | Delete
'id' => 'section_layout_e',
[1747] Fix | Delete
'type' => 'herald_section',
[1748] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_e.png' ) ).'"/>'.esc_html__( 'Layout E', 'herald' ),
[1749] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout E', 'herald' ),
[1750] Fix | Delete
'indent' => false
[1751] Fix | Delete
),
[1752] Fix | Delete
[1753] Fix | Delete
array(
[1754] Fix | Delete
'id' => 'lay_e_cat',
[1755] Fix | Delete
'type' => 'switch',
[1756] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[1757] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout E', 'herald' ),
[1758] Fix | Delete
'default' => herald_get_default_option( 'lay_e_cat' ),
[1759] Fix | Delete
),
[1760] Fix | Delete
[1761] Fix | Delete
array(
[1762] Fix | Delete
'id' => 'lay_e_meta',
[1763] Fix | Delete
'type' => 'sortable',
[1764] Fix | Delete
'mode' => 'checkbox',
[1765] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[1766] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout E', 'herald' ),
[1767] Fix | Delete
'options' => herald_get_meta_opts(),
[1768] Fix | Delete
'default' => herald_get_default_option( 'lay_e_meta' ),
[1769] Fix | Delete
),
[1770] Fix | Delete
[1771] Fix | Delete
array(
[1772] Fix | Delete
'id' => 'lay_e_excerpt',
[1773] Fix | Delete
'type' => 'switch',
[1774] Fix | Delete
'title' => esc_html__( 'Layout E excerpt', 'herald' ),
[1775] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout E', 'herald' ),
[1776] Fix | Delete
'default' => herald_get_default_option( 'lay_e_excerpt' ),
[1777] Fix | Delete
),
[1778] Fix | Delete
[1779] Fix | Delete
[1780] Fix | Delete
array(
[1781] Fix | Delete
'id' => 'lay_e_excerpt_limit',
[1782] Fix | Delete
'type' => 'text',
[1783] Fix | Delete
'class' => 'small-text',
[1784] Fix | Delete
'title' => esc_html__( 'Excerpt limit', 'herald' ),
[1785] Fix | Delete
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
[1786] Fix | Delete
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
[1787] Fix | Delete
'default' => herald_get_default_option( 'lay_e_excerpt_limit' ),
[1788] Fix | Delete
'validate' => 'numeric',
[1789] Fix | Delete
'required' => array( 'lay_e_excerpt', '=', true )
[1790] Fix | Delete
),
[1791] Fix | Delete
[1792] Fix | Delete
)
[1793] Fix | Delete
)
[1794] Fix | Delete
);
[1795] Fix | Delete
[1796] Fix | Delete
/* Layout F */
[1797] Fix | Delete
Redux::setSection( $opt_name , array(
[1798] Fix | Delete
'icon' => '',
[1799] Fix | Delete
'title' => esc_html__( 'Layout F', 'herald' ),
[1800] Fix | Delete
'heading' => false,
[1801] Fix | Delete
'subsection' => true,
[1802] Fix | Delete
'fields' => array(
[1803] Fix | Delete
[1804] Fix | Delete
array(
[1805] Fix | Delete
'id' => 'section_layout_f',
[1806] Fix | Delete
'type' => 'herald_section',
[1807] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_f.png' ) ).'"/>'.esc_html__( 'Layout F', 'herald' ),
[1808] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout F', 'herald' ),
[1809] Fix | Delete
'indent' => false
[1810] Fix | Delete
),
[1811] Fix | Delete
[1812] Fix | Delete
array(
[1813] Fix | Delete
'id' => 'lay_f_cat',
[1814] Fix | Delete
'type' => 'switch',
[1815] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[1816] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout F', 'herald' ),
[1817] Fix | Delete
'default' => herald_get_default_option( 'lay_f_cat' ),
[1818] Fix | Delete
),
[1819] Fix | Delete
[1820] Fix | Delete
array(
[1821] Fix | Delete
'id' => 'lay_f_meta',
[1822] Fix | Delete
'type' => 'sortable',
[1823] Fix | Delete
'mode' => 'checkbox',
[1824] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[1825] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout F', 'herald' ),
[1826] Fix | Delete
'options' => herald_get_meta_opts(),
[1827] Fix | Delete
'default' => herald_get_default_option( 'lay_f_meta' ),
[1828] Fix | Delete
),
[1829] Fix | Delete
[1830] Fix | Delete
array(
[1831] Fix | Delete
'id' => 'lay_f_excerpt',
[1832] Fix | Delete
'type' => 'switch',
[1833] Fix | Delete
'title' => esc_html__( 'Layout F excerpt', 'herald' ),
[1834] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout F', 'herald' ),
[1835] Fix | Delete
'default' => herald_get_default_option( 'lay_f_excerpt' ),
[1836] Fix | Delete
),
[1837] Fix | Delete
[1838] Fix | Delete
[1839] Fix | Delete
array(
[1840] Fix | Delete
'id' => 'lay_f_excerpt_limit',
[1841] Fix | Delete
'type' => 'text',
[1842] Fix | Delete
'class' => 'small-text',
[1843] Fix | Delete
'title' => esc_html__( 'Excerpt limit', 'herald' ),
[1844] Fix | Delete
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
[1845] Fix | Delete
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
[1846] Fix | Delete
'default' => herald_get_default_option( 'lay_f_excerpt_limit' ),
[1847] Fix | Delete
'validate' => 'numeric',
[1848] Fix | Delete
'required' => array( 'lay_f_excerpt', '=', true )
[1849] Fix | Delete
),
[1850] Fix | Delete
[1851] Fix | Delete
array(
[1852] Fix | Delete
'id' => 'img_size_lay_f_ratio',
[1853] Fix | Delete
'type' => 'radio',
[1854] Fix | Delete
'title' => esc_html__( 'Layout F image ratio', 'herald' ),
[1855] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout F', 'herald' ),
[1856] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[1857] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_f_ratio' ),
[1858] Fix | Delete
),
[1859] Fix | Delete
[1860] Fix | Delete
array(
[1861] Fix | Delete
'id' => 'img_size_lay_f_custom',
[1862] Fix | Delete
'type' => 'text',
[1863] Fix | Delete
'class' => 'small-text',
[1864] Fix | Delete
'title' => esc_html__( 'Layout F image custom ratio', 'herald' ),
[1865] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout F images', 'herald' ),
[1866] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[1867] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_f_custom' ),
[1868] Fix | Delete
'required' => array( 'img_size_lay_f_ratio', '=', 'custom' ),
[1869] Fix | Delete
),
[1870] Fix | Delete
)
[1871] Fix | Delete
)
[1872] Fix | Delete
);
[1873] Fix | Delete
[1874] Fix | Delete
/* Layout F1 */
[1875] Fix | Delete
Redux::setSection( $opt_name , array(
[1876] Fix | Delete
'icon' => '',
[1877] Fix | Delete
'title' => esc_html__( 'Layout F1', 'herald' ),
[1878] Fix | Delete
'heading' => false,
[1879] Fix | Delete
'subsection' => true,
[1880] Fix | Delete
'fields' => array(
[1881] Fix | Delete
[1882] Fix | Delete
array(
[1883] Fix | Delete
'id' => 'section_layout_f1',
[1884] Fix | Delete
'type' => 'herald_section',
[1885] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_f1.png' ) ).'"/>'.esc_html__( 'Layout F1', 'herald' ),
[1886] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout F1', 'herald' ),
[1887] Fix | Delete
'indent' => false
[1888] Fix | Delete
),
[1889] Fix | Delete
[1890] Fix | Delete
array(
[1891] Fix | Delete
'id' => 'lay_f1_cat',
[1892] Fix | Delete
'type' => 'switch',
[1893] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[1894] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout F1', 'herald' ),
[1895] Fix | Delete
'default' => herald_get_default_option( 'lay_f1_cat' ),
[1896] Fix | Delete
),
[1897] Fix | Delete
[1898] Fix | Delete
array(
[1899] Fix | Delete
'id' => 'lay_f1_meta',
[1900] Fix | Delete
'type' => 'sortable',
[1901] Fix | Delete
'mode' => 'checkbox',
[1902] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[1903] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout F1', 'herald' ),
[1904] Fix | Delete
'options' => herald_get_meta_opts(),
[1905] Fix | Delete
'default' => herald_get_default_option( 'lay_f1_meta' ),
[1906] Fix | Delete
),
[1907] Fix | Delete
[1908] Fix | Delete
array(
[1909] Fix | Delete
'id' => 'lay_f1_excerpt',
[1910] Fix | Delete
'type' => 'switch',
[1911] Fix | Delete
'title' => esc_html__( 'Layout F1 excerpt', 'herald' ),
[1912] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout F1', 'herald' ),
[1913] Fix | Delete
'default' => herald_get_default_option( 'lay_f1_excerpt' ),
[1914] Fix | Delete
),
[1915] Fix | Delete
[1916] Fix | Delete
[1917] Fix | Delete
array(
[1918] Fix | Delete
'id' => 'lay_f1_excerpt_limit',
[1919] Fix | Delete
'type' => 'text',
[1920] Fix | Delete
'class' => 'small-text',
[1921] Fix | Delete
'title' => esc_html__( 'Excerpt limit', 'herald' ),
[1922] Fix | Delete
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
[1923] Fix | Delete
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
[1924] Fix | Delete
'default' => herald_get_default_option( 'lay_f1_excerpt_limit' ),
[1925] Fix | Delete
'validate' => 'numeric',
[1926] Fix | Delete
'required' => array( 'lay_f1_excerpt', '=', true )
[1927] Fix | Delete
),
[1928] Fix | Delete
[1929] Fix | Delete
array(
[1930] Fix | Delete
'id' => 'img_size_lay_f1_ratio',
[1931] Fix | Delete
'type' => 'radio',
[1932] Fix | Delete
'title' => esc_html__( 'Layout F1 image ratio', 'herald' ),
[1933] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout F1', 'herald' ),
[1934] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[1935] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_f1_ratio' ),
[1936] Fix | Delete
),
[1937] Fix | Delete
[1938] Fix | Delete
array(
[1939] Fix | Delete
'id' => 'img_size_lay_f1_custom',
[1940] Fix | Delete
'type' => 'text',
[1941] Fix | Delete
'class' => 'small-text',
[1942] Fix | Delete
'title' => esc_html__( 'Layout F1 image custom ratio', 'herald' ),
[1943] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout F1 images', 'herald' ),
[1944] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[1945] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_f1_custom' ),
[1946] Fix | Delete
'required' => array( 'img_size_lay_f1_ratio', '=', 'custom' ),
[1947] Fix | Delete
),
[1948] Fix | Delete
[1949] Fix | Delete
)
[1950] Fix | Delete
)
[1951] Fix | Delete
);
[1952] Fix | Delete
[1953] Fix | Delete
/* Layout G */
[1954] Fix | Delete
Redux::setSection( $opt_name , array(
[1955] Fix | Delete
'icon' => '',
[1956] Fix | Delete
'title' => esc_html__( 'Layout G', 'herald' ),
[1957] Fix | Delete
'heading' => false,
[1958] Fix | Delete
'subsection' => true,
[1959] Fix | Delete
'fields' => array(
[1960] Fix | Delete
[1961] Fix | Delete
array(
[1962] Fix | Delete
'id' => 'section_layout_g',
[1963] Fix | Delete
'type' => 'herald_section',
[1964] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_g.png' ) ).'"/>'.esc_html__( 'Layout G', 'herald' ),
[1965] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout G', 'herald' ),
[1966] Fix | Delete
'indent' => false
[1967] Fix | Delete
),
[1968] Fix | Delete
[1969] Fix | Delete
array(
[1970] Fix | Delete
'id' => 'lay_g_cat',
[1971] Fix | Delete
'type' => 'switch',
[1972] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[1973] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout G', 'herald' ),
[1974] Fix | Delete
'default' => herald_get_default_option( 'lay_g_cat' ),
[1975] Fix | Delete
),
[1976] Fix | Delete
[1977] Fix | Delete
array(
[1978] Fix | Delete
'id' => 'lay_g_meta',
[1979] Fix | Delete
'type' => 'sortable',
[1980] Fix | Delete
'mode' => 'checkbox',
[1981] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[1982] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout G', 'herald' ),
[1983] Fix | Delete
'options' => herald_get_meta_opts(),
[1984] Fix | Delete
'default' => herald_get_default_option( 'lay_g_meta' ),
[1985] Fix | Delete
),
[1986] Fix | Delete
[1987] Fix | Delete
array(
[1988] Fix | Delete
'id' => 'img_size_lay_g_ratio',
[1989] Fix | Delete
'type' => 'radio',
[1990] Fix | Delete
'title' => esc_html__( 'Layout G image ratio', 'herald' ),
[1991] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout G', 'herald' ),
[1992] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[1993] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_g_ratio' ),
[1994] Fix | Delete
),
[1995] Fix | Delete
[1996] Fix | Delete
array(
[1997] Fix | Delete
'id' => 'img_size_lay_g_custom',
[1998] Fix | Delete
'type' => 'text',
[1999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function