Hint: If you're writing translatable strings, read about punctuation in foreign languages. I always thought that stuff like semicolons exist everywhere :P
answers can be given, but the questions seem very much a SO kind of thing, like this for instance: wordpress.stackexchange.com/questions/129444/… <-- I know the solution to this, but people might gloss over the title of the question, I probably would...
"Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic."
I'm using some HTML5 functionality that only works on IE9 and I need to detect whether visitors are running on IE8 or below (mainly just IE8 or 7 of course). I've tried some plugins but the one that was working didn't seem to support IE9 (just up to 8). It's called PHP Browser Detection (http://w...
@ALL Experiencing a strange issue with namespaces and AJAX. I test places in code where my AJAX requests give me more back than 0 with defined( 'DOING_AJAX' ) AND DOING_AJAX AND exit( var_dump( "TEST" ) );. Strangely during AJAX requests I don't get into functions or classes:
add_action( 'admin_enqueue_scripts', '\WCM\scriptsStylesAdmin' );
function scriptsStylesAdmin( $screen )
{
defined( 'DOING_AJAX' ) AND exit( var_dump( __LINE__ ) );
}
doesn't work. It's like if the callback doesn't get attached or called.
Your wp-config.php is in the root of your wordpress installation basically so just use something like :
$url = site_url();
include_once $url . '/wp-config.php';
cf: http://codex.wordpress.org/Function_Reference/site_url
If the file is not at the native place ( just try with file_exists php ...
Wow... for some reason $dom->saveHTML($node); inside the loop doesn't display your added anchors. But outside the loop if you just $dom->saveHTML(); it displays your added anchors. That was my mistake.
I think he sees WordPress functions as the heralding of a new English. $english, if you will. Or $wp_english depending on whether the coin toss decides the 'wp' prefix should be included.
Lol. From left to right: alarm, missing wifi, new emails (personal), temperature, weather, Simple.com purchase notification, new emails (work), black-ice warning, new texts, app updates.
@GhostToast indeed! I've spent a lot of time setting up my filters, but I need another few hours to get it all working super-smoothly :). Seems by the time that I do, I've signed up for a bunch of new services that elude my established filters, and the cycle starts all over again.
i recently pushed all of my ancient email to "archive" status. its nice having just 4 or 5 emails in my inbox that i consider important enough to leave there
back in the day I'd make a new email forwarder for every new service I signed up for. As soon as it started getting spammed or I stopped using the service I'd just kill the forwarding address - kept everything real clean but became quite the hassle.
@GhostToast I definitely need to start archiving things...