Posts Tagged ‘PHP’

www.sport-akustik.at

Wednesday, February 1st, 2012

Since 2009 i worked for Franz Quitt of Sport- und Akustikbau Limited. He is expert on acoustic halls and the inner covering of sports buildings. I digitalize his scribbles and incidentally took the existing webpage of Lisa Schlichting hosted and improved it. Finally we decided to develope a new site to improve the Range. It was build with wordpress.
www.sport-akustik.at.

KEYFACTS

Client: Ing. Franz Quitt
Branch: Acoustic and Sport Hall’s
SEO Result: Good
In one word: Finally

TASKS

Screen design
Information design
Usability
Implementation
SEO
Google Analytics

TECHNIQUE

WordPress
DHTML
CSS
PHP

Sportbau Akustikbau Limited

Last post’s excerpt on category.php (WordPress, php)

Tuesday, January 11th, 2011
<?php
	foreach((get_the_category()) as $category) 
	{ 
		$postcat= $category->cat_ID; 
		$catname =$category->cat_name;
	} 	

	query_posts("cat=$cat->cat_ID&posts_per_page=1");
?>
<a href="<?php the_permalink() ?>">
	<?php the_excerpt('more_link_text', strip_teaser, 'more_file'); ?>
</a>



	

This code snippet for wordpress works within category.php. It simply shows the last post’s excerpt in the current category
e.g. a picture or a meaningful text.