• The problem is that everything that I delete from the index.php gets erased on every other page. I am trying to take off the “e-mail this page” link at the bottom of the other sections in the site, and only have it on the main page. But it’s not working …

    Anyone have any suggestions? https://www.dateunknown.com/index.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    The index.php is sort of the fall back position for themes that lack specific templates for things like single posts or archive pages and so forth.

    Understanding the Template Hierarchy would probably help you out a lot:
    https://codex.www.ads-software.com/Template_Hierarchy

    The short version is to copy your index.php into the other templates, and then those templates will get used for those specific sorts of pages. This lets you edit each type of page independently.

    Thread Starter dateunknown

    (@dateunknown)

    you’re the man

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Everything that I delete from index.php gets erased on others!!??’ is closed to new replies.