This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define( 'SIMPLECOLORBOX_THEME', 5 ); // Can choose from 1, 2, 3, 4 or 5 | |
define( 'SIMPLECOLORBOX_OPACITY', 0.6 ); // Background opacity (0 to 1) | |
define( 'SIMPLECOLORBOX_WIDTH', 90 ); // Colorbox width (0 to 100%) | |
define( 'SIMPLECOLORBOX_HEIGHT', 90 ); // Colorbox height (0 to 100%) | |
define( 'SIMPLECOLORBOX_SLIDESHOW', null ); // Colorbox width (0 to 100%)Setting this to null will remove the slideshow | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form role="search" method="get" id="searchform" action="" > | |
<label class="screen-reader-text" for="s">Search for:</label> | |
<input type="text" value="<?php echo $_GET['s']; ?>" name="s" id="s" /> | |
<input type="submit" id="searchsubmit" value="Search" /> | |
</form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form role="search" method="get" id="searchform" action="" > | |
<label class="screen-reader-text" for="s">Search for:</label> | |
<input type="text" value="<?php echo esc_attr( $_GET['s'] ); ?>" name="s" id="s" /> | |
<input type="submit" id="searchsubmit" value="Search" /> | |
</form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form role="search" method="get" id="searchform" action="" > | |
<label class="screen-reader-text" for="s">Search for:</label> | |
<input type="text" value="<?php echo get_search_query(); ?>" name="s" id="s" /> | |
<input type="submit" id="searchsubmit" value="Search" /> | |
</form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data = $_POST['data']; | |
update_option( 'some_data', $data ); | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data = (int) $_POST['data']; | |
update_option( 'some_data', $data ); | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data = wp_kses( $_POST['data'], '', '' ); | |
update_option( 'some_data', $data ); | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="<?php echo $_SERVER['PHP_SELF']; ?>"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="<?php echo $_SERVER['PHP_SELF']' ?>?foo=bar">link title</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="<?php echo esc_url( $_SERVER['PHP_SELF'] ); ?>"> |
OlderNewer