Changeset 1449 for trunk/wp-includes/functions.php
- Timestamp:
- 06/30/2004 03:31:49 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r1446 r1449 1806 1806 } 1807 1807 1808 function is_single () { 1809 global $wp_query_state; 1810 1811 return $wp_query_state->single; 1812 } 1813 1814 function is_archive () { 1815 global $wp_query_state; 1816 1817 return $wp_query_state->archive; 1818 } 1819 1820 function is_date () { 1821 global $wp_query_state; 1822 1823 return $wp_query_state->date; 1824 } 1825 1826 function is_author () { 1827 global $wp_query_state; 1828 1829 return $wp_query_state->author; 1830 } 1831 1832 function is_category () { 1833 global $wp_query_state; 1834 1835 return $wp_query_state->category; 1836 } 1837 1838 function is_search () { 1839 global $wp_query_state; 1840 1841 return $wp_query_state->search; 1842 } 1843 1844 function is_feed () { 1845 global $wp_query_state; 1846 1847 return $wp_query_state->search; 1848 } 1849 1850 function is_home () { 1851 global $wp_query_state; 1852 1853 return $wp_query_state->home; 1854 } 1855 1808 1856 ?>
Note: See TracChangeset
for help on using the changeset viewer.