nemci7v
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Query posts using category optionThank you!! Both solutions worked ??
Nice new cat pic ??
Forum: Fixing WordPress
In reply to: Query posts using category optionFrom the functions.php using the
$themename = "Theme Name"; $shortname = "theme"; $options = array ( ...
technique
Forum: Fixing WordPress
In reply to: Query posts using category optionupdate:
I tried
<?php echo $theme_category;?>
but it retrieves all the posts from every category instead the one I put in options. hmm..
Forum: Fixing WordPress
In reply to: positioning the footerthanks for looking! I tried closing the div class slider before the post but that doesn’t make the slideshow work anymore. Jquery is strange..
Forum: Fixing WordPress
In reply to: should I use div ID in a loop?Thank you for confirming! ?? I’ll keep that in mind.
Tho.. I dont understand the advantage of ID divs.
Forum: Themes and Templates
In reply to: @import css makes site slow?thanks! I use it then ??
Forum: Fixing WordPress
In reply to: problem with nifty cube and wordpressSort of a late response but for anyone else experiencing the problem,
copy the niftycorners css to your themes css file
Forum: Fixing WordPress
In reply to: Display just first commentThanks! That’s a good idea but the recent comment is displayed for a certain post from a category I have on the homepage – multiple loops..confusing ?? I’m studying the comments tags but haven’t achieved anything yet
Forum: Fixing WordPress
In reply to: 2 header.php on 1 siteOk I got it!! For anyone else trying to achive this use,
<?php if (is_front_page()) { ?> homepage stuff <?php } else {?> other stuff <?php } ?>
Forum: Fixing WordPress
In reply to: 2 header.php on 1 siteThanks! I was looking at that and came up with..
if (is_front_page() || is_single()) { <?php include (TEMPLATEPATH . '/nav_homepage.php'); ?> } else { the default code here }
I haven’t tested the code yet but do you think it’s correct? ??
Forum: Fixing WordPress
In reply to: What can I do with Global variables or echo?I understand thank you for the links ?? I will learn.
You have a cute cat ??Forum: Fixing WordPress
In reply to: 2 header.php on 1 siteSorry for posting so much.. I can’t yet translate what I want in php but is there a code like “if home – load home_navigation.php, else just use the default div classes in header” ? or default_navigation.php
Forum: Fixing WordPress
In reply to: 2 header.php on 1 siteHmm nothing appears. I think I’m not ready for hooks lol.
Forum: Fixing WordPress
In reply to: 2 header.php on 1 siteHmmm I don’t understand the technique.
What I’m trying to do is change the font colors of nav links and replace the header background just on the frontpage.
I have in my CSS
#home_header (for the homepage)
and
#header (for regular pages)
and they each have their own list and font styling. So following the technique I don’t understand is how to call #home_header properties on the frontpage.
Do I add
<body <?php if (function_exists('body_class')) body_class(); ?>>
and replace “body_class” with #home_header?
sorry.. I never used hooks before.
Forum: Fixing WordPress
In reply to: 2 header.php on 1 siteThanks for the solutions! Adding another header file should be easy but I’d like to learn how to use hooks ??
Is body.home the frontpage or just a page named home?