Replacing custom page template
-
Hi folks,
For several years I have been running my site on a child theme based on Cyberchimps Responsive theme.
The situation I want to solve is not caused by a problem with the Responsive theme itself but due to a change I chose to make with its usage recently.
My site consists of pages (not posts); these are mostly an archive of magazine articles.
Since the beginning, the pages have been made from the theme’s Full-width page template.
Each article page is the child of an Issue Main Page, which originally was made from a page template featuring a widget area on the left and main content area on the right.
In order to better accommodate mobile device viewing, I have stopped using widgets and only rely on the Header Menu for site navigation.
An example of such an issue main page can be seen at the link above.
As you can see, there is empty space on the left.
This could be corrected by making a new custom page template based on the theme’s Full-width page to replace the current Sidebar-content template.
When I first made this WP site I was given a small amount of programming help in writing the template page. The person who helped me is no longer available, so I am hoping that one of you could step in and give me some advice.
As viewed on the page, the custom coding inserts “Fifth Estate #” as the beginning of the page title followed by text of the title I assign when creating the particular issue page (in this case, “404, Summer, 2019”).
I am hoping that one of you could show me how to transfer info from the existing page template into a new, Full-width template.
Here is a copy of the existing Issue Main Page template:
https://pastebin.com/embed_iframe/D2rFNzwh
Here is a copy of a Full-width page template that could be adapted to replace the existing template:
https://pastebin.com/embed_iframe/F87Mu5N0
I will be grateful for any and all help.
Robby Barnes
The page I need help with: [log in to see the link]
- The topic ‘Replacing custom page template’ is closed to new replies.