• Newbie here, Using WAMP to familiarize myself with WP (familiar with HTML & CSS). Built a functioning WAMP version of a website using the Auberge Theme, while adding cosmetic touches to a “caterory” generation page (wanted to use the header menu – not the category selection – I wanted to eliminate the word “Category:” from the page so I found it in the “general_template.php” file in the wp_includes folder. All I did was delete those letter in the php file and that lowered the header in ALL the pages about 1/2 inch from the top of the page. I even undid the php change, however, the gap it created remained. I even replaced the entire file with no fix. I replicated this issue a few times with another FRESH install of WP, without Plugins, & a NEW database – while looking for a fix in the CSS.

    My questions are:
    1. Can you make test changes like this in WP php files?
    2. As I have already made a fix as I am in WAMP with permalinks issues – is this a possible WAMP issue?
    3. If making this type of change is not an issue & it is not a WAMP issue – why did this occur??

    Can any help?
    Thank You

    D. Lete

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Dee Lete

    (@dee-lete)

    Correction if needed: question 1
    1. Can you make TEXT changes like this in WP php files?

    A good advice is to ONLY make changes in a “Child-theme” because if you make changes in the original one, it will be overwritten if/when the original theme is updated.
    Changes you make in the “Child-theme” will not affect the original, but WP reads the “Child-themes” settings etc. before the original and use the “Child-theme” instead of the original. Does this make any sense?
    You can read much more about “Child-themes” in the help menu and you can google it, lots of stuff about it.
    The other things I don’t know much about, sorry! ??

    BR Bossen

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘General Template.php Alteration’ is closed to new replies.