pookey
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Need help with Stylesheet Url in WP!I just removed <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” / and it works!
Thanks!
Forum: Themes and Templates
In reply to: Need help with Stylesheet Url in WP!So it won’t work, and I have to put the css files in an array instead and have them in the main folder?
Or can I put some kind of link to the php code/file inside style.css?
Or is it any other ways I can use? Does anyone know?
Thanks for the answers poppacket and moshu..
Forum: Themes and Templates
In reply to: Need help with Stylesheet Url in WP!Thank you!, but it does not work.. I think it’s because I still have <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” /> in my header.php..
And if I remove it, the page will be shown without css! I also heard that wordpress needs the style.css file in the theme folder?
Forum: Themes and Templates
In reply to: Need help with Stylesheet Url in WP!Oh sorry..
The bakcground.php is creating a random background image per session..
background.php:
<?php session_start(); if(!$_SESSION['background']) $_SESSION['background'] = 'url/portfolio/wp-content/themes/portfolio/background/background' . mt_rand(1, 5). '.jpg'; ?>
I thought I could do the same with my css..
css.php:
<?php session_start(); if(!$_SESSION['css']) $_SESSION['css'] = 'url/portfolio/wp-content/themes/portfolio/css' . mt_rand(1, 3). '.css'; ?>
So as I said, for the random background script, I added
<?php include("background.php"); ?>
before anything else in my header.php.
I also added
<body background="<?=$_SESSION['background']?>">
after </head>.
But I don’t know how to include the css.php in my header..
Forum: Plugins
In reply to: HOW 2 STYLE RECENT POSTS WIDGET IN SIDEBAR?!Someone has to know this!
Forum: Plugins
In reply to: HOW 2 STYLE RECENT POSTS WIDGET IN SIDEBAR?!Ok.. but does anyone know how I can style it? Do I have to create a new “recent posts list” in my sidebar.php?
Forum: Themes and Templates
In reply to: Img in header?No? I just want to put a img in the K2 header!
Forum: Requests and Feedback
In reply to: Theme recommandationbump