Support » Themes and Templates » Custom modifying default theme templates

  • I’m having difficulty figuring out to custom modify the default page templates in wp-content/themes/default/. If you go to you will see I added my own custom table code with graphics, but it’s way below the header tag. I want it to be at the very top of the page above h1 heading tag. I tried moving <?php get_header(); ?> below my table code, which sort of works, but it turns the entire page background color grey, and probably does other weird things to the page. My form code at the bottom of the page appears to be ok. I’m not even sure if I am using the template editor correctly, or if I can add my own table codes. I assume I can.


Viewing 15 replies - 1 through 15 (of 18 total)
  • 1. The default is quite difficult to “customize” for a beginner, but if you succeed – you’ll learn a lot 🙂
    2. Put that table of yours in the header.php above the call for the blog title. Actually you can even comment out the blog title if you don’t need it.

    Yes I could leave the blog title out and put in my own fixed heading title on the page, or turn the page topic into the h1 heading. Fortunately, I have some background in CSS and PHP (self-taught – didn’t learn this stuff in college). I had no trouble with the stylesheet. I have some what of an understanding how the system works, but it is fairly complex. I think I’m making progress, so I must be doing good for a beginner.

    Next challenge is figuring out to put in an “Ads by Google” banner on the sidebar of the page.

    If you have the code for the ads – open the sidebar.php and place it where you wish.

    [don’t worry, I didn’t learn the web related things at the university either: there was no web/internet when I was a student :)]

    Something weird is going on with the css on this blog page. Notice how the grey boxes containing “moshu Member” “Netdetective Member” are now hiding some of the posts. It wasn’t doing this yesterday.

    Moderator James Huff


    Volunteer Moderator 🚀

    Hm, I don’t see that. Try clearing your browser’s cache, then reload the page.

    They’re gone now, They bounced over to the right sidebar when I submitted my post. I hope my WordPress installation doesn’t do this, because I figure it could get me into trouble with Google for having hidden text.

    My page template is beginning to take shape. I commented out the heading tag code in header.php. Now I need to figure out how to put the appropropriate h1 tag for the page’s topic immediately below the blue “Conduct your own Investigations” bar.

    Now I’m having trouble figuring how to get rid of the “Blogroll” links to other people’s websites in the sidebar. I searched every template file for “linkcat-1” but this could not be found anywhere. Neither could “Blogroll.” I’m wondering if I should not be using a modified version of the Kubrick default page, and find a custom template elsewhere. It’s my understanding, Google is on the lookout for blog spam, and the WordPress default pages tend to look very suspect.

    Did you try your admin panel > Links > and > Manage Links, or > Link Categories?

    Thanks, that worked. I just wanted to remove the sidebar links.

    BTW, what’s your opinion of custom modifying the default “Kubrick” page vs uploading my own custom page? Is this a good or bad idea? My homepage does not have a complicated design, so I figure if it’s not too hard to achieve the same look in the default template, that should work fine.

    I created a new page, but now my modified copy of the Kubrick template is not working in the new page. It’s only working in the main /blog/ page. Should I create my own custom template, and put it in it’s own separate directory? I get the feeling my modified version of Kubrick is likely to cause me endless problems. I would really much prefer to create my own custom template modeled after my homepage – You recommended I not use Dreamweaver to edit the template files, but would it be ok to use it to design and edit my own templates? If you go to my main /blog/ page, then click on my “When should you hire a private investigator?” link under “Pages” you will see my new page is completely lacking my custom graphics or designs that are on the main page.

    Kubrick is a PITA for beginners… sometimes even for those who have been aroung for quite a long time. If you want to modify a theme – choose anything but the Default 🙂
    If you want your own theme, it should be in its separate folder like any other theme and should have all the necessary files.
    More > Using_Themes

    Is Kubrick known to have bugs? Is even Classic a better choice? I could choose one out of, but I would likely need to do heavy modification without Dreamweaver. I figured out what I was doing wrong. I needed to edit page.php.

    No, it doesn’t have bugs. It’s just too complicated 🙂

    Is the Classic template about as good as any for custom modification? When I put in my images, links, etc.. is it recommended I need to use absolute paths containing the full URL rather than relative paths, to prevent broken image links and broken links, since new pages will likely be generated in different directory structures? I normally use “/” “../” etc.. instead of the full URL. I added my own /images/ folder in wp-content/themes/ to contain the images.

    Why was Default made to be so complicated?

    Too many question for 1 post (even for 1 topic :).
    There are about 300 themes or so. Find the one which is the closest to what you want and take it from there.
    It is one thing to put images in a template (e.g. as a bg-image) and it is a totally different thing to insert images in your post.
    Focus on one thing at a time 😉

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Custom modifying default theme templates’ is closed to new replies.