The Loop

Where humor doesn’t work.
Mar 7, 2013 10:57
99% of the time I go there its a smorgasbord of 0's
Mar 7, 2013 10:56
pish I wil continue to ignore that area of the site then
Mar 7, 2013 10:55
are you now going to let others review to get the badge?
Mar 7, 2013 10:55
@toscho badge whore!
Mar 4, 2013 15:27
Germans are funny...
Mar 4, 2013 15:27
Mar 1, 2013 16:07
@Wyck already saw ;)
Mar 1, 2013 14:07
Mar 1, 2013 14:02
@kaiser dont worry I'm only teasing. I've not outputted anything substantial to public for a long time
Mar 1, 2013 14:00
@kaiser booo! I'm not on ur list :'(
Feb 26, 2013 12:38
@toscho maybe so but I didn't feel that way when I closed it
Feb 26, 2013 12:35
if his question was: I have to create 12 image sizes but only want them to be generated when they are needed. How do I do this? would be a better fit.
Feb 26, 2013 12:34
he is asking how many is too many... How long is a piece of sting...
Feb 26, 2013 12:34
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
Feb 26, 2013 10:20
ah ok
Feb 26, 2013 10:15
that would be like 50Billion€ to do that in Italy?
Feb 26, 2013 10:14
whats all this 800€ per person business?
Feb 22, 2013 12:38
I've anyone knew it I wanted to check if what I'm doing is right.
Feb 22, 2013 12:35
anyone good with PHP Silex here?
Feb 21, 2013 11:46
no fish but maybe one of their clients deal with fish...
Feb 21, 2013 11:45
dont think so
Feb 21, 2013 11:44
www.philosophydesign.com and www.bigfish.co.uk
Feb 21, 2013 11:43
real company names
Feb 21, 2013 11:43
so news update. I've left Philosophy Design and now working at Big Fish
Feb 21, 2013 11:38
hope you havent missed me ;)
Feb 21, 2013 11:38
Hi all
Feb 8, 2013 13:09
A bug that has been known for 6Months!!! and isn't planned till 3.6!!!
Feb 8, 2013 13:09
I FOUND THE PROBLEM GUYS!!!!
Feb 8, 2013 12:39
@StephenHarris yup
Feb 8, 2013 11:16
@kaiser both work. I was resorting to EP_ALL so I could test anywhere
Feb 8, 2013 11:14
people is a CPT which is post
Feb 8, 2013 11:14
is correct I want the endpoint on posts
Feb 8, 2013 11:14
add_rewrite_endpoint( 'vcard', EP_PERMALINK );
Feb 8, 2013 11:13
@kaiser why you link this?
Feb 8, 2013 11:11
so why when I got to permalinks page and hit save the permalink is not working
Feb 8, 2013 11:10
but I don't want to flush rewrite rules every time
Feb 8, 2013 11:10
it works
Feb 8, 2013 11:10
	public static function vcard_endpoint()
	{
		global $wp_rewrite;
	    add_rewrite_endpoint( 'vcard', EP_ALL );
		$wp_rewrite->flush_rules();
	}
Feb 8, 2013 11:10
if I do:
Feb 8, 2013 11:08
@kaiser no thanks
Feb 8, 2013 11:06
@kaiser doesn't help me though
Feb 8, 2013 11:01
add_rewrite_endpoint is being run on init because if I uncomment //die("a horrible death"); that is run
Feb 8, 2013 11:00
use monkey man analyser and see no mention of vcard in the rules
Feb 8, 2013 11:00
yes
Feb 8, 2013 11:00
flushed rules and go to /vcard on a post and get 404
Feb 8, 2013 10:59
	public static function vcard_endpoint()
	{
		//die("a horrible death");
	    add_rewrite_endpoint( 'vcard', EP_PERMALINK );
	}

	public static function vcard_template()
	{
		if ( ! is_singular() or ! get_query_var( 'vcard' ) )
			return;

		// include custom template
		//include dirname( __FILE__ ) . '/json-template.php';
		exit;
	}

	public static function vcard_request( $vars )
	{
	    isset( $vars['vcard'] ) and $vars['vcard'] = true;
	    return $vars;
	}
Feb 8, 2013 10:59
		add_action( 'init', array( __CLASS__, 'vcard_endpoint' ) );
		add_action( 'template_redirect',  array( __CLASS__, 'vcard_template' ) );
		add_filter( 'request', array( __CLASS__, 'vcard_request' ) );
Feb 8, 2013 10:59
I'm doing everything by the book and its still now working: