trestianub
Forum Replies Created
-
Forum: Themes and Templates
In reply to: hardcoded page within the theme folderAlso tried ‘<?php include(“header.php”); ?>’
&got this error:
Fatal error: Call to undefined function language_attributes() in …/wp-content/themes/logitheme/header.php on line 2Forum: Fixing WordPress
In reply to: sort category posts by date ascHy there
i’m interested in that aswell and i got an ideea but i’m a designer not a programer http://logitune.fm i want to order the events so that i can show the next events on the homepage
so what about ordering by date if i make the date a custom field… am i talking non sense or is that posible?
can anyone help?
tnx
BogdanForum: Themes and Templates
In reply to: use category slug as css class-namewow a million thanx dude it worked like a charm 😀
http://dev.logitune.net after the news and events section 😀
Forum: Themes and Templates
In reply to: use category slug as css class-namehttp://lorelle.wordpress.com/2007/09/06/using-wordpress-categories-to-style-posts/
yeah that’s it thanks dude 😀 i’ll give it a try
BogdanForum: Themes and Templates
In reply to: use category slug as css class-nameyes it’s pretty standard cause i only want to display the title and the tags from each post… the query is not the problem…
but what i really need to find out is the syntax that i need to use here:<div class=”<?php echo $category-slug(); ?>” >
i tried with syntax above and it’s not working
for instance if the category is “logitune bass” the slug will be logitune_bass
so my loop should look like
<div class=”logitune_house”>…..</div>
so i can then go and define in my css sheet the color for logitune bass categoryany ideea?
thanks
Bogdan