Solved

Custom Header for Wordpress K2 Theme Question

Posted on 2008-10-31
2
489 Views
Last Modified: 2012-06-21
Is it possible to create a customized header (that includes a masthead and the navigation), and somehow place it in a PHP include and then add that to the 'header.php' K2 file?

I don't want to customize the style.css file and recreate what I already have on my static site.  I just want to take the static site's header and navigation and implement it place of the 'header' portion of the Wordpress blog.


0
Comment
Question by:jazzviolin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 22854829
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 22855245
If you are going to successfully modify the PHP and CSS of a wordpress theme, you should do it in the main PHP and CSS files of that theme's template files.   Remember, you can back up the original, and just change it and then save it.  I've seen a lot of problems by trying to ADD a different CSS and PHP file pair, and it is not really the right way to do it.  Backup the files as is, and modify them directly to get what you want.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with mod_substitute 18 37
warning code: class php incomplete message 6 31
$_GET call between URL 3 41
[form-control] Retain values after a POST action 21 33
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question