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 | |
| //Don't include <?php if your functions.php file alread has it. | |
| add_filter('site_url', 'wplogin_filter', 10, 3); | |
| function wplogin_filter( $url, $path, $orig_scheme ) { | |
| $old = array( "/(wp-login.php)/"); | |
| $new = array( "login"); | |
| return preg_replace( $old, $new, $url, 1); | |
| } |
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
| RewriteBase / | |
| RewriteRule ^login$ wp-login.php |
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
| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.php [L] | |
| </IfModule> | |
| # END WordPress |
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 | |
| $args = array( | |
| 'search-form', | |
| 'comment-form', | |
| 'comment-list', | |
| 'gallery', | |
| 'caption', | |
| 'widgets' | |
| ); | |
| add_theme_support( 'html5', $args ); |
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
| <figure> | |
| <img src="img src" alt="alt attribute"> | |
| <figcaption>image caption</figcaption> | |
| </figure> |
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
| foo | |
| bar | |
| baz | |
| qux | |
| quux |
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
| foo | |
| bar | |
| baz | |
| qux | |
| quux |
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
| <link href="/apple-touch-icon-57x57.png" rel="apple-touch-icon" sizes="57x57" /> | |
| <link href="/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114" /> | |
| <link href="/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72" /> | |
| <link href="/apple-touch-icon-144x144.png" rel="apple-touch-icon" sizes="144x144" /> | |
| <link href="/apple-touch-icon-60x60.png" rel="apple-touch-icon" sizes="60x60" /> | |
| <link href="/apple-touch-icon-120x120.png" rel="apple-touch-icon" sizes="120x120" /> | |
| <link href="/apple-touch-icon-76x76.png" rel="apple-touch-icon" sizes="76x76" /> | |
| <link href="/apple-touch-icon-152x152.png" rel="apple-touch-icon" sizes="152x152" /> | |
| <link href="/favicon-196x196.png" rel="icon" type="image/png" sizes="196x196" /> | |
| <link href="/favicon-160x160.png" rel="icon" type="image/png" sizes="160x160" /> |
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
| wp_mail( apply_filters( 'et_contact_page_email_to', $et_email_to ), | |
| sprintf( __( 'Customization request for %1$s', 'Divi' ), | |
| sanitize_text_field( $post_name )), stripslashes( wp_strip_all_tags( $POST['et_pb_contact_message'] ) ), apply_filters( 'et_contact_page_headers', $headers, $contact_name, $contact_email ) ); |
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
| wp_mail( apply_filters( 'et_contact_page_email_to', $et_email_to ), | |
| sprintf( __( 'Customization Request for %1$s%2$s', 'Divi' ), | |
| sanitize_text_field( $et_site_name ), | |
| ( '' !== $title ? sprintf( _x( ' - %s', 'contact form title separator', 'Divi' ), sanitize_text_field( $title ) ) : '' ) | |
| ), stripslashes( wp_strip_all_tags( $POST['et_pb_contact_message'] ) ), apply_filters( 'et_contact_page_headers', $headers, $contact_name, $contact_email ) ); |