Add custom code to wordpress page
-
I have recently installed wordpress on my server and added a blog page to my site.
I want the blog page to look like the rest of my site (which is written by myself in html/css/php) and want to know how I can add additional code and formatting to a wordpress site/page? (something *not* controlled by wordpress or it’s theme)
Basically, all I want to do is add the top menu from the other pages of my site, to the very top of the WordPress page (ie, above the wordpress header). This menu isn’t to be the WordPress menu, but merely navigation for my own site. I will retain the wordpress menu underneath the header which is just for use on the blog side of things.
I have already altered the formatting of the wordpress page using a Child-Theme of Twenty Eleven and that works fine. I’m not sure how to add my own menu at the top though.
I have edited the wordpress ‘index.php’ file (by adding my own code to the beginning of it) but I’m sure this is not the right way to do things.
This link shows how I would like it to look louisebagger.com/blog …the menu at the top is my own, and everything below it is the standard WordPress blog.
I am finding it difficult to explain what I need to do because I don’t think I know the right terms to use? Hopefully someone can offer some insights?
Thanks
- The topic ‘Add custom code to wordpress page’ is closed to new replies.