Solved

Custom Header for Wordpress K2 Theme Question

Posted on 2008-10-31
2
483 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
2 Comments
 
LVL 108

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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
spacing 5 29
HTML CSS 7 18
Printing a Google Form 2 8
PHP JSON Clean up 5 0
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

758 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now