chocobo2k
Forum Replies Created
-
Any idea on how to achieve that?
Forum: Fixing WordPress
In reply to: Warning: Cannot modify header information – headers already sent by…This is for those who have the same problem I had a few minutes ago. I wasted the whole day searching in the web to fix this problem. I am doing a website too that has a header and footer. and I want to have wordpress in the center [mainContent div]
RSS refused to work no matter what and i receive that stupid header 5 error message. I kept moving
<?php include(‘header.php’); ?>
<?php include(‘footer.php’); ?>around using whooami suggestion but it didn’t work for me even when putting it like
<?php
/* Short and sweet */
define(‘WP_USE_THEMES’, true);
require(‘./wp/wp-blog-header.php’);
?>
<?include(“header.php”);?>
<?include(“footer.php”);?>I gave up on it but whooami already gave me the light that I needed.
What you need to do is to go to your theme directory and open header.php
and put the link <?php include(“header.php”);?>
I am assuming you have put word press in your root folder. if it is under blog folder for example
<?include(“blog/header.php”);?>do the same thing for the footer. Open footer.php in your theme folder then put the link <?php include(“footer.php”);?>
it should work.
Another issue for those who have design similar to mine. That permalink wont work too because you will have relative links messed up and you will be forced to switch to absolute links which I don’t like to do.
in your header.php put the following line above Title tag
<html xmlns=”https://www.w3.org/1999/xhtml”><head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<base href=”https://yourwebsite”>
<title>CILE</title>change yourwebsite to your website and save the file. It should work ??
I hope this helps someone
Forum: Fixing WordPress
In reply to: Help needed: How to open rss-links in new window?Just for those who are still looking… It depends where you want to put it. you can open your theme header.php and put the link under the search field for example.