Thread Starter
rbergh
(@rbergh)
Done and working 😉
In my template code I added:
if(have_posts()) :
while(have_posts()) : the_post();
$event = get_the_content();
endwhile;
endif;
and in the page editor I added the parameter i wanted to pass: 2012
For other persons looking at this solution. This solution is very specific and was for me the easiest way to do this..
Thread Starter
rbergh
(@rbergh)
I understand.. (a little bit)
Just some strange other idea:
would it be possible in the page editor put a text like cyear=2012 and
read this text in my custom template?
meanwhile i will try the shortcode approach. (I need a wordpress training…) (I’m a Siebel/ Oracle developper)
Thread Starter
rbergh
(@rbergh)
Is it even possible to pass this parameter during the page setup without having to do a mod_rewrite?
Thread Starter
rbergh
(@rbergh)
Thanks for your response.
but how do I add the /?cyear=2012
When i add this at the page setup wordpress automatically removes the
/? and = characters. I get a permalink like example.com/contestantscyear2012