dfs - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of dfs.php
- <?php
- add_filter( 'genesis_search_form', 'custom_genesis_search_form' );
- function custom_genesis_search_form() {
- $search_form_markup = '
- <form method="get" class="search-form" action="' . esc_url( home_url( '/' ) ) . '" role="search">
- <label for="search-form-input" class="screen-reader-text">' . __( 'Search for:', 'text-domain' ) . '</label>
- <input type="search" id="search-form-input" class="search-form-input" name="s" placeholder="' . esc_attr__( 'Search...', 'text-domain' ) . '" required>
- <button type="submit" class="search-form-submit" aria-label="' . esc_attr__( 'Search', 'text-domain' ) . '">
- </button>
- </form>';
- return $search_form_markup;
- }