http://en.wikipedia.org/wiki/User_talk:Yair_rand/ReferenceTooltips
http://en.wikipedia.org/wiki/User:Blue-Haired_Lawyer/footnote_popups.js
http://en.wikipedia.org/wiki/User_talk:Yair_rand/ReferenceTooltips
http://en.wikipedia.org/wiki/User:Blue-Haired_Lawyer/footnote_popups.js
$query = new WP_Query( array( ‘meta_key’ => ‘quote’, ‘meta_value’ => ”, ‘meta_compare’ => ‘!=’ ) );
Function Reference: wptexturize(): converts quotes, dashes, elipsis, etc. from text to rich-text (smart-quotes, en/em-dash, etc.).
Combine w/ wpautop to process text that WP does not by default:
echo wpautop( wptexturize ( $custom_field_text ) );
Function Reference: wp_title(): Retrieves the Title of a post or Page, the Archive (“2012”, “2006 – January”, etc.), or the Category or Author, depending on the query.
<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
A List Apart: Articles: Understanding Web Design
Understanding Web Design
by JEFFREY ZELDMAN, 2007
In 1994, the web was weird and wild, they told us. In ‘99 it was a kingmaker; in ‘01, a bust. In ‘02, news folk discovered blogs; in ‘04, perspiring guest bloggers on CNN explained how citizen journalists were reinventing news and democracy and would determine who won that year’s presidential election. I forget how that one turned out.
When absurd predictions die ridiculous deaths, nobody resigns from the newsroom, they just throw a new line into the water—like marketers replacing a slogan that tanked. After decades of news commoditization, what’s amazing is how many good reporters there still are, and how hard many try to lay accurate information before the public. Sometimes you can almost hear it beneath the roar of the grotesque and the exceptional.
<?php $included_files = get_included_files(); echo "<!-- \n"; print_r($included_files); echo "\n-->"; ?>
http://us2.php.net/manual/en/function.memory-get-usage.php
http://us2.php.net/manual/en/function.memory-get-peak-usage.php
P3 (Plugin Performance Profiler)
http://bradshawenterprises.com/tests/formdemo.php
<script type="text/javascript">document.body.className = document.body.className.replace('no-js','js');</script>
$('aXXX').click(function(ev){
window.open('/plans/individual/continue-to-ap-pop.asp',
'Continue_to_Application','width=200,height=400');
ev.preventDefault();
return false;
})
var $url = '';
jquery('new_win').click(function(ev){
$url = jquery(this).attr( 'href' )'
window.open($url,
'media_win','width=650,height=700');
ev.preventDefault();
return false;
})
This is the first survey of how information moves through a journalistic operations, large and small. At your organization, for instance, when a story moves from research to writing to editing to publication, what is saved?
In surveying a representative sample of media outlets, we’ll find solutions at one that others may want to adopt. And we’ll reveal system-wide needs — some that can be solved with simple tools. But these “research/storytelling resources” are byproducts of this project. The larger goal is to document the way we journalists work with information, and how programmers might help us do our work.
This project gives journalists conceptual handles to evaluate how their info flows, to imagine improved processes, with smoother flows and less lost info, and to communicate their insights with programmers. For example, here’s an interactive “mind map” (link and screenshot) that can help stimulate that conversation: