wpwhatnot.com
Change the Text of Reset Password Email
http://wpwhatnot.com/change-text-reset-password-email
A savory collection of WordPress related things. Change the Text of Reset Password Email. Change the Text of Reset Password Email. Send a custom message to users who request a password re-set:. Password reset activation E-mail - Body add filter( 'retrieve password message', 'dnlt retrieve password message', 10, 2 ); function dnlt retrieve password message( $message, $key ){ $user data = ' ; / If no value is posted, return false if(! Password reset activation E-mail - Body. Dnlt retrieve password message'.
wpwhatnot.com
A Simple jQuery Accordion
http://wpwhatnot.com/category/functions
A savory collection of WordPress related things. A Simple jQuery Accordion. February 27, 2017 (2 months ago). No need for the overhead of a plugin. In this case, I have a custom post type for FAQs, where the title is the question, and the content is the answer. This script hides all the answers until one of the questions is clicked. Here’s the JavaScript:. Php while ( have posts() ) : the post();? Div class="faqbox" h4 class="accordion" i class="fa fa-plus-square" aria-hidden="true" /i? Php the title();?
wpwhatnot.com
Contribute
http://wpwhatnot.com/contribute
A savory collection of WordPress related things. Have some snippets you’d like to share here? That would be awesome! Shoot me an email to diana at wpwhatnot dot com (or use the contact form. 2014-11 : Creating a Plugin. 2014-12 : Creating and Using Custom Post Types. 2015-02 : Create Your Own Shortcodes and Widgets. 2015-03 : Modifying Themes. 2015-05 : Developer Tools. 2015-06 : Super Powers for CSS. 2015-11 The Wonderful World of Widgets. 2016-08 : 15 Things You Can Do Without a Plugin.
wpwhatnot.com
Remove Emoji Support from WordPress 4.2
http://wpwhatnot.com/remove-emoji-support-from-wordpress-4-2
A savory collection of WordPress related things. Remove Emoji Support from WordPress 4.2. Remove Emoji Support from WordPress 4.2. 42 added the ability to use Emojicons in WP posts. If you don’t use them, you can remove the (unnecessary) scripts this adds to the header on all your site pages. Here’s the code for your functions.php file:. Remove from comment feed and RSS. Wp staticize emoji for email'. Remove from head tag. Print emoji detection script'. Remove from print related styling.
wpwhatnot.com
List all Posts
http://wpwhatnot.com/list-all-posts
A savory collection of WordPress related things. Outputs a single list of all your posts. Include "wp-load.php"; $posts = new WP Query('post type=post&posts per page=-1&post status=publish'); $posts = $posts- posts; foreach($posts as $post) { $permalink = get permalink($post- ID); echo "{$post- post date} - a href='{$permalink}' {$permalink} /a br / "; }. Post type=post&posts per page=-1&post status=publish'. Post- post date} - a href='{$permalink}' {$permalink} /a br / ". Edited a bit for simplicity).
wpwhatnot.com
This is my collection of WordPress, CSS, JS and PHP code
http://wpwhatnot.com/category/general
A savory collection of WordPress related things. This is my collection of WordPress, CSS, JS and PHP code. July 1, 2014 (3 years ago). This is a personal collection of snippets I use on client sites. Some are original, some highly modified or cobbled together from other sources, and some copied (only from open sources such as this.). I generally prefer not to use plugins for simple features and functions, especially if my clients don’t need options, which is quite often the case. Copy, share and code on!
wpwhatnot.com
Change the Text of Reset Password Email
http://wpwhatnot.com/category/wordpress
A savory collection of WordPress related things. Change the Text of Reset Password Email. September 25, 2016 (7 months ago). Send a custom message to users who request a password re-set:. Password reset activation E-mail - Body add filter( 'retrieve password message', 'dnlt retrieve password message', 10, 2 ); function dnlt retrieve password message( $message, $key ){ $user data = ' ; / If no value is posted, return false if(! Password reset activation E-mail - Body. Dnlt retrieve password message'.
wpwhatnot.com
Remove WP Version Number
http://wpwhatnot.com/remove-wp-version-number
A savory collection of WordPress related things. Remove WP Version Number. Remove WP Version Number. Prevent robot scrapers from easily finding out which version of WordPress you’re running. Not a substitute for keeping WP updated, but a handy fallback for clients who may not. Remove WP version number */ if (! Function exists( 'dnlt remove wp version' ) ) { add filter( 'the generator', 'dnlt remove wp version' ); function dnlt remove wp version() { return ' ; } }. Remove WP version number */.
wpwhatnot.com
Create Admin User via FTP
http://wpwhatnot.com/create-admin-user-via-ftp
A savory collection of WordPress related things. Create Admin User via FTP. Create Admin User via FTP. When you are locked out of your WordPress site and have no access to PHPMyAdmin, add this to your functions.php file to create a new admin user account. Remove it from the functions file after you’re successfully logged in. (The user will remain.). Function wpb admin account(){ $user = 'Username'; $pass = 'Password'; $email = 'email@domain.com'; if (! Username exists( $user ) &! 2015-05 : Developer Tools.
wpwhatnot.com
This is my collection of WordPress, CSS, JS and PHP code
http://wpwhatnot.com/collection-wordpress-css-js-php-code
A savory collection of WordPress related things. This is my collection of WordPress, CSS, JS and PHP code. This is my collection of WordPress, CSS, JS and PHP code. This is a personal collection of snippets I use on client sites. Some are original, some highly modified or cobbled together from other sources, and some copied (only from open sources such as this.). Free support for these snippets is probably not an option for your unique applications, due to my work load, but it never hurts to ask.
SOCIAL ENGAGEMENT