ifrtest
123

as of 4.0, WP doesnt use define(‘WPLANG’, ‘en_GB’); in wp-config but uses $locale=’fr_FR’;
If you are using “page-template”s you’ll have problems with pagination since pages are not meant to display posts and some people frown upon using page-templates for custom archive display, but it’s sometimes the simplest way. Anyway the solution is 1.) to nullify the global $wpquery 2.) adding ‘paged’ => $paged arg. before displaying your posts…
Queries are only available after “wp” action hook, so ‘init’ is too early to check for it.
As you know, 3-4 letter domains are hard to come by these days, even with not so popular .tlds. “So”, I had a 3 letter a .so domain to use mainly as an url shortener. FYI: .so is the tld for Somalia, the source of inspiration for the dankest memes of the internetz. Apart from…
<?php function notify_post_status( $post_id = NULL, $user = ” ) { if ( ! isset($_POST[“post_id”]) ) { $post_id = $_POST[“post_id”]; } else { return $post_id; } $post = get_post($post_id); $status = $post->post_status; $type = $post->post_type; $author_id = intval($post->post_author); $user = get_userdata( $author_id ); //ignore admin if( $author_id == 1 ) return; // Which statuses should…