• Hello,
    I am a newbie. I have created a child theme from 2016. I am trying to use WordPress as a shell for my site. I am not creating a blog site and am not going to use any blogging on my site. I have therefore created template pages and custom headers/menus for my site pages.
    But, I cannot figure out where to find the files for the about, location and contact us pages. I want to modify those pages the same way I have modified the index.php file. I like the functionality of those pages, I just want to have those pages use my headers and menus.

    I see that many responders like to see the site, so it is veebstudentservices.org.

    Not much to look at yet, but hopefully with your help I will get over this hump.

    Mike D

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator James Huff

    (@macmanx)

    They should just be WordPress pages, editable under the Pages section of your blog’s Dashboard.

    For modifying the static page their is page.php template file you can use this file for customizing and if you want different template files for different page then need to create template this may help you in creating template https://developer.www.ads-software.com/themes/template-files-section/page-template-files/page-templates/

    Thread Starter mdevman

    (@mdevman)

    Let me explain a little further.

    When I wanted to edit the home page, I was able to find the php code in the index.php file in the parent template and create the page-index.php file using the code from that file from the parent template. I then modified the code from that file and used that file as the template for the home page.

    I want to do the same for the other pages, like about, location and contact us, but I cannot find the files with the php code for those pages. I want to create new page-abput.php, page-location.php and page-contactus.php files and use them as templates for the pages within wordpress. What I am looking for is the original php code for those pages so I can edit/mofdify it to suit my needs.

    Moderator James Huff

    (@macmanx)

    Those don’t have their own template files. They’re just pages created in WordPress.

    If you want to create template files for them, follow the guide posted by ganeshpaygude.

    Thread Starter mdevman

    (@mdevman)

    I searched www.ads-software.com for “ganeshpaygude”. I found his profile and posts about using google maps, but no guide.

    Can you post a link to the guide for me?

    Moderator James Huff

    (@macmanx)

    Thread Starter mdevman

    (@mdevman)

    Oh, that. Yes, I read that documentation. But, unfortunately, it does not tell me how to modify the existing code that builds the pages. As you said, those are just pages built by WordPress. I am looking for how those pages are created by WordPress, so that I can modify them.

    In other words, if WordPress is building those pages, then what process occurs when I click the Location link? There must be functions that are called and code that is run that creates those pages dynamically.

    I like the pages. I do not want to completely recreate the wheel. I just want to change them to use a different menu and to not display the site image.

    It looks like they all use the get_header, what I need to know is what process occurs that writes the rest of the page? Is that a proprietary WordPress process that cannot be modified?

    Moderator James Huff

    (@macmanx)

    As you said, those are just pages built by WordPress. I am looking for how those pages are created by WordPress, so that I can modify them.

    Look in the Pages section of your blog’s Dashboard. That’s how WordPress is building them. They’re just normal WordPress pages. ??

    To write the rest of the page, it’s processed in your theme usually via the theme’s page template, or a modified post template. You’ll have to investigate your theme, or check with your theme’s support, for specifics.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Customize About/Location/Contact Us pages in 2016’ is closed to new replies.