thehindutimes
Forum Replies Created
-
Forum: Themes and Templates
In reply to: adding .php files to custom pageYES! we’ve got it working 🙂
At least the CSS. I suppose I have to do something similar with JavaScript right?Forum: Themes and Templates
In reply to: adding .php files to custom pageI’ve done all that. The CSS file has the mandatory comment block and the @import line immediately after.
So by not use a relative href are you saying that I should’t attach the stylesheet in my html file? That wordpress takes care of that.
Forum: Themes and Templates
In reply to: adding .php files to custom pageI’ve combined all styles to be in the one child theme style sheet. so any new css rule is in that file.
By doing that it should be enough to just have the normal
<link href=”../KidTheme/style.css” rel=”stylesheet” type=”text/css”>
on all pages that use the css-file right?My Home Page template is written as I would write any other normal page except that it has the <?php /* Template Name: Home Page
*/ ?> at the top.
So I haven’t used any template files belonging to the Twenty Eleven theme.Forum: Themes and Templates
In reply to: adding .php files to custom pageSo it might be better to just stick with the one child theme css file?
Forum: Themes and Templates
In reply to: adding .php files to custom pageYes, all the expected files are listed on the menu to the left in the editor. I’ve made a seperate .css file for the Home Page Template that imports the child theme. and they’re all in the child theme folder.
If I go to settings -> reading and choose static page and my Home Page template then it works but there’s no CSS or JS. If I open up Firebug it says that there are no css rules applied so for some reason it’s not being read.
If I use the default “Your latest post” option in Settings -> Reading them the CSS works for the blog. So the child theme is working. It’s only when I try to use the Home Page template and it’s corresponding css-file.
I’m still just getting started with developing wordpress sites so
thanks for taking the time and helping btw!Cheers!
Forum: Themes and Templates
In reply to: adding .php files to custom pageok, I’ve put all my files in my child theme folder and a copy of the original footer.
I am still not getting any result when I try to include the footer on the page tho.
I’ve tried both <?php get_footer(); ?> and <?php include(“footer.php”); ?>
but nothing happens.
I must be missing something else.Forum: Themes and Templates
In reply to: adding .php files to custom pageYes, I suppose that’s classic 🙂
I’ve made my static page inside the TwentyEleven folder so every php-file for that theme should be available right?And also, I’m using a child theme .css file (child of twentyeleven’s style.css) but it doesn’t seem to find the CSS when I change it in wordpress to use my static page.
I get the HTML of the static page but no CSS or JS. Has that happened to anyone?Forum: Themes and Templates
In reply to: adding .php files to custom pageyes, I’ve looked in the index.php to see how it’s done in there and from what I can see it should be enough with just putting <?php get_footer(); ?> in the appropriate place.
What I mean with I can’t see the footer is that if I refresh the page in Firefox there’s just nothing showing where the footer ought to be.
Forum: Themes and Templates
In reply to: adding .php files to custom pageOk, that’s good. Then I must be missing something because I can’t see the footer when I put <?php get_footer(); ?> in the div footer tag.
Any idea of what it can be?
Cheers!