<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Templates - Project Pages</title>
	<atom:link href="https://projectpages.io/docs-category/templates/feed/" rel="self" type="application/rss+xml" />
	<link>https://projectpages.io</link>
	<description>The Ultimate WordPress Portfolio template system. Make a portfolio of your projects online on your WordPress site.</description>
	<lastBuildDate>Mon, 03 Jun 2024 08:34:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>

<image>
	<url>https://projectpages.io/wp-content/uploads/2024/04/cropped-project-pages-128-32x32.png</url>
	<title>Templates - Project Pages</title>
	<link>https://projectpages.io</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Child Themes (and Project Pages)</title>
		<link>https://projectpages.io/docs/child-themes-and-project-pages/</link>
					<comments>https://projectpages.io/docs/child-themes-and-project-pages/#respond</comments>
		
		<dc:creator><![CDATA[ppkingadmin]]></dc:creator>
		<pubDate>Wed, 29 May 2024 14:21:33 +0000</pubDate>
				<guid isPermaLink="false">https://projectpages.io/?post_type=docs&#038;p=44</guid>

					<description><![CDATA[<p>If you&#8217;d like to modify the default styles of your Project Pages, you&#8217;ll need to start by modifying the Page template we use to build your pages. If you&#8217;re using the new default template mode, it&#8217;s actually really easy. BUT WAIT! Before you get started tweaking the template, it&#8217;s really important that you make sure [&#8230;]</p>
<p>The post <a href="https://projectpages.io/docs/child-themes-and-project-pages/">Child Themes (and Project Pages)</a> first appeared on <a href="https://projectpages.io">Project Pages</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>If you&#8217;d like to modify the default styles of your <a href="https://projectpages.io/" title="Project Pages">Project Pages</a>, you&#8217;ll need to start by modifying the Page template we use to build your pages.</p>



<p>If you&#8217;re using the new default template mode, it&#8217;s actually really easy.</p>



<p>BUT WAIT! Before you get started tweaking the template, it&#8217;s really important that you make sure you&#8217;re using a child theme. Adding templates from Project Pages into your theme directory will mean they <strong>will likely be deleted</strong> when you next update your theme!</p>



<p>&#8230; the solution, of course, is a child theme. A child theme is ultimately a set of customisations <em>on top</em> of your existing theme. This means you can make mods, and separately update the main theme, without losing any of your work.</p>



<p>Read on below for why that&#8217;s ideal, and how to do it. (You can always pay a developer to do this for you if it&#8217;s over your head, it&#8217;s not a massive job.)</p>



<p><strong>Related Guides:</strong></p>



<ul class="wp-block-list">
<li><a href="https://projectpages.io/docs/templates/">Project Page Templates</a></li>



<li><a href="https://projectpages.io/docs/modifying-your-templates/">Modifying Project Page look and feel (templates)</a></li>
</ul>



<h2 class="wp-block-heading">Why we always suggest using a Child Theme</h2>



<ul class="wp-block-list">
<li>Customization</li>



<li>Organisation</li>



<li>Maintainability</li>



<li>Security</li>
</ul>



<p>Using a child theme in WordPress is highly advantageous for several reasons, primarily revolving around customization, updates, and security. First and foremost, a child theme allows you to make changes to your website&#8217;s design and functionality without altering the core files of the parent theme. This ensures that your customizations remain intact even after the parent theme is updated. Direct modifications to the parent theme would be overwritten during updates, but a child theme preserves your specific changes, allowing for seamless updates without losing your work.</p>



<p>Furthermore, employing a child theme promotes better organization and maintainability of your website. By isolating customizations in the child theme, you create a clear separation between the original theme&#8217;s code and your modifications. This not only simplifies troubleshooting but also makes it easier to manage and document changes. If something goes wrong, you can quickly pinpoint whether the issue lies within the parent theme or your customizations, facilitating more efficient debugging and maintenance.</p>



<p>Lastly, using a child theme enhances security. When updates are released for the parent theme, they often include important security patches. By using a child theme, you can ensure that you apply these updates promptly without fear of losing your custom changes. This keeps your website secure while maintaining the unique aspects that set it apart. Overall, child themes provide a robust framework for creating a customized, maintainable, and secure WordPress site</p>



<h2 class="wp-block-heading">How to make a Child Theme</h2>



<p>Creating a child theme in WordPress involves a few straightforward steps. Here’s a detailed guide on how to make a child theme:</p>



<h3 class="wp-block-heading">1. Create a Child Theme Directory</h3>



<p>First, you need to create a directory for your child theme within the <code>wp-content/themes</code> directory of your WordPress installation. Name this directory something meaningful, typically by appending &#8220;-child&#8221; to the name of the parent theme. For example, if your parent theme is called &#8220;twentytwentyfour&#8221;, you might name the directory &#8220;twentytwentyfour-child&#8221;.</p>



<h3 class="wp-block-heading">2. Create a <code>style.css</code> File</h3>



<p>Inside your child theme directory, create a <code>style.css</code> file. This file is essential for your child theme and should include the following header information at the top:</p>



<pre class="wp-block-code"><code><code>/*
 Theme Name:   Twenty Twenty-Four Child
 Theme URI:    http://example.com/twenty-twenty-four-child/
 Description:  A child theme of Twenty Twenty-Four.
 Author:       Your Name
 Author URI:   http://example.com
 Template:     twentytwentyfour
 Version:      1.0.0
*/

/* Custom CSS goes here */
</code></code></pre>



<p>Make sure the <code>Template</code> line exactly matches the directory name of your parent theme.</p>



<h3 class="wp-block-heading">3. Create a <code>functions.php</code> File</h3>



<p>Next, create a <code>functions.php</code> file in your child theme directory. This file will enqueue the styles from the parent theme and add any additional functionality you need. Add the following code to your <code>functions.php</code> file:</p>



<pre class="wp-block-code"><code><code>&lt;?php
function my_theme_enqueue_styles() {
    $parent_style = 'parent-style'; // This is 'twentytwentyfour-style' for the Twenty Twenty-Four theme.

    wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'child-style',
        get_stylesheet_directory_uri() . '/style.css',
        array( $parent_style ),
        wp_get_theme()->get('Version')
    );
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
?>
</code></code></pre>



<p>This code ensures that the parent theme’s styles are loaded first, followed by any custom styles in your child theme.</p>



<h3 class="wp-block-heading">4. Activate the Child Theme</h3>



<p>Once you’ve created the <code>style.css</code> and <code>functions.php</code> files, log in to your WordPress dashboard. Navigate to <code>Appearance &gt; Themes</code>, and you should see your child theme listed. Click &#8220;Activate&#8221; to activate your child theme.</p>



<h3 class="wp-block-heading">5. Customize Your Child Theme</h3>



<p>With the child theme activated, you can now start customizing your site, and <a href="https://projectpages.io/docs/modifying-your-templates/">modifying your Project Page templates</a>. You can add additional CSS rules in the <code>style.css</code> file and add new template files or override existing ones from the parent theme. For instance, if you want to customize the header, copy the <code>header.php</code> file from the parent theme into the child theme directory and make your changes there.</p>



<p>By following these steps, you create a child theme that inherits the functionality and styling of the parent theme while allowing you to safely make customizations. This approach ensures that your customizations are preserved when the parent theme is updated.</p><p>The post <a href="https://projectpages.io/docs/child-themes-and-project-pages/">Child Themes (and Project Pages)</a> first appeared on <a href="https://projectpages.io">Project Pages</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://projectpages.io/docs/child-themes-and-project-pages/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Modifying Project Page Templates</title>
		<link>https://projectpages.io/docs/modifying-your-templates/</link>
					<comments>https://projectpages.io/docs/modifying-your-templates/#respond</comments>
		
		<dc:creator><![CDATA[ppkingadmin]]></dc:creator>
		<pubDate>Wed, 29 May 2024 13:54:15 +0000</pubDate>
				<guid isPermaLink="false">https://projectpages.io/?post_type=docs&#038;p=39</guid>

					<description><![CDATA[<p>This page guides you on how to modify your Project Page templates (when using Project Pages for WordPress). If you want to read more generally about Templating in Project Pages, please see our guide on templates in Gutenberg (WordPress editor), and our Legacy PHP templates. Modifying templates: WordPress Editor (Gutenberg &#8211; Default Mode) When you [&#8230;]</p>
<p>The post <a href="https://projectpages.io/docs/modifying-your-templates/">Modifying Project Page Templates</a> first appeared on <a href="https://projectpages.io">Project Pages</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>This page guides you on how to modify your Project Page templates (when using <a href="https://projectpages.io" title="Project Pages for WordPress">Project Pages for WordPress</a>).</p>



<p>If you want to read more generally about Templating in Project Pages, please see <a href="https://projectpages.io/docs/templates/">our guide on templates in Gutenberg (WordPress editor), and our Legacy PHP templates</a>.</p>



<figure class="wp-block-image aligncenter size-full"><img fetchpriority="high" decoding="async" width="886" height="216" src="https://projectpages.io/wp-content/uploads/2024/05/template-info-project-pages.png" alt="View current template settings in the Project Pages settings screen" class="wp-image-38" srcset="https://projectpages.io/wp-content/uploads/2024/05/template-info-project-pages.png 886w, https://projectpages.io/wp-content/uploads/2024/05/template-info-project-pages-300x73.png 300w, https://projectpages.io/wp-content/uploads/2024/05/template-info-project-pages-768x187.png 768w" sizes="(max-width: 886px) 100vw, 886px" /><figcaption class="wp-element-caption">View the current template settings in the Project Pages settings screen.</figcaption></figure>



<h2 class="wp-block-heading">Modifying templates: WordPress Editor (Gutenberg &#8211; Default Mode)</h2>



<p>When you first install Project Pages it will be in &#8216;Default Mode&#8217;. This means that it&#8217;s using your theme and building Project Page pages through Gutenberg (WP Editor) templates. </p>



<p>This gives you the flexibility of the WordPress editor and blocks, while natively sitting inside your theme (keeping your look and feel, font and global style settings, etc.)</p>



<p>If you want to change how your Project Pages look, rearrange blocks, or otherwise modify the templates, here&#8217;s how:</p>



<h3 class="wp-block-heading">1. Copy the Template files</h3>



<p>Once you have the Project Pages plugin installed, you&#8217;ll be able to copy the template files out of Project Pages into your theme. (I advise that you use a child theme so that these templates you modify don&#8217;t get deleted when you next update your theme. <a href="https://projectpages.io/docs/child-themes-and-project-pages/">Read about child themes here</a>.)</p>



<p>You can do this via FTP, by downloading the files, renaming them, then re-uploading into your theme directory. </p>



<p>Here are the file names you need to copy from, and to:</p>



<pre class="wp-block-code"><code><strong>Copy from:</strong>
/project-pages/templates/single-projectpage_DEFAULT.html
/project-pages/templates/archive-projectpage_DEFAULT.html
/project-pages/templates/taxonomy-projectpagetag_DEFAULT.html

<strong>Copy to:</strong>
/wp-content/your-child-theme/templates/<strong>single-projectpage.html</strong>
/wp-content/your-child-theme/templates/<strong>archive-projectpage.html</strong>
/wp-content/your-child-theme/templates/<strong>taxonomy-projectpagetag.html</strong></code></pre>



<p>Note: Please don&#8217;t edit these templates in the plugin, as any changes there would also be wiped out when you next update the plugin. Also note these go inside your theme, in a directory named <code>/templates/</code>.</p>



<h3 class="wp-block-heading">2. Modify in WP Editor</h3>



<p>Once you have your templates in your theme templates directory you can then edit them from within WordPress admin.</p>



<p><strong>2.1.</strong> Go to your Site Editor (&#8216;Appearance&#8217; from the wp-admin menu, or <code>*yoururl*/wp-admin/site-editor.php</code>)</p>



<p><strong>2.2.</strong> Click &#8216;Templates:</p>



<figure class="wp-block-image size-full"><img decoding="async" width="919" height="624" src="https://projectpages.io/wp-content/uploads/2024/06/editing-wp-templates-project-pages.png" alt="Select Templates from WordPress appearance editor" class="wp-image-56" srcset="https://projectpages.io/wp-content/uploads/2024/06/editing-wp-templates-project-pages.png 919w, https://projectpages.io/wp-content/uploads/2024/06/editing-wp-templates-project-pages-300x204.png 300w, https://projectpages.io/wp-content/uploads/2024/06/editing-wp-templates-project-pages-768x521.png 768w" sizes="(max-width: 919px) 100vw, 919px" /></figure>



<p><strong>2.3.</strong> Select a template to edit, (you should see &#8216;archive-projectpage&#8217;, &#8216;single-projectpage&#8217;, and &#8216;taxonomy-projectpagetag&#8217;):</p>



<figure class="wp-block-image size-full"><img decoding="async" width="919" height="785" src="https://projectpages.io/wp-content/uploads/2024/06/choosing-which-template-to-edit-wp-editor-projectpages.png" alt="Selecting which WordPress template to edit" class="wp-image-57" srcset="https://projectpages.io/wp-content/uploads/2024/06/choosing-which-template-to-edit-wp-editor-projectpages.png 919w, https://projectpages.io/wp-content/uploads/2024/06/choosing-which-template-to-edit-wp-editor-projectpages-300x256.png 300w, https://projectpages.io/wp-content/uploads/2024/06/choosing-which-template-to-edit-wp-editor-projectpages-768x656.png 768w" sizes="(max-width: 919px) 100vw, 919px" /></figure>



<p><strong>2.4. </strong>Click the edit pencil icon, or click into the page view on the right:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="919" height="366" src="https://projectpages.io/wp-content/uploads/2024/06/wp-editor-project-pages.png" alt="Editing a WordPress template (Project Pages)" class="wp-image-58" srcset="https://projectpages.io/wp-content/uploads/2024/06/wp-editor-project-pages.png 919w, https://projectpages.io/wp-content/uploads/2024/06/wp-editor-project-pages-300x119.png 300w, https://projectpages.io/wp-content/uploads/2024/06/wp-editor-project-pages-768x306.png 768w" sizes="auto, (max-width: 919px) 100vw, 919px" /></figure>



<p><strong>2.5.</strong> Tweak the template!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="500" src="https://projectpages.io/wp-content/uploads/2024/06/editing-block-template-project-pages-1024x500.png" alt="Project Pages block options" class="wp-image-59" srcset="https://projectpages.io/wp-content/uploads/2024/06/editing-block-template-project-pages-1024x500.png 1024w, https://projectpages.io/wp-content/uploads/2024/06/editing-block-template-project-pages-300x147.png 300w, https://projectpages.io/wp-content/uploads/2024/06/editing-block-template-project-pages-768x375.png 768w, https://projectpages.io/wp-content/uploads/2024/06/editing-block-template-project-pages-1536x750.png 1536w, https://projectpages.io/wp-content/uploads/2024/06/editing-block-template-project-pages.png 1861w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>As you can see in this screenshot, you can select any of the blocks in the template and be presented with lots of style options on the right hand Block menu. In the above screenshot example we&#8217;ve selected the &#8216;Hero&#8217; block which presents at the top of each Project page.</p>



<p>You can edit these templates however you want. Add extra blocks. Remove sections. Tweak the settings for each block. </p>



<p>Each of our blocks also uses straightforward HTML elements, so if you know a bit of CSS you can easily modify the styles further by adding some overriding CSS.</p>



<p>There is a world of options for modifying these templates, and each situation might likely call for a different approach. I&#8217;ll do my best to support you in <a href="https://wordpress.org/support/plugin/project-pages/">the support forum</a>, but I won&#8217;t go any more in-depth in this guide.</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="575" height="451" src="https://projectpages.io/wp-content/uploads/2024/06/project-pages-wp-plugin-blocks.png" alt="Project Pages WordPress Plugin available blocks" class="wp-image-60" srcset="https://projectpages.io/wp-content/uploads/2024/06/project-pages-wp-plugin-blocks.png 575w, https://projectpages.io/wp-content/uploads/2024/06/project-pages-wp-plugin-blocks-300x235.png 300w" sizes="auto, (max-width: 575px) 100vw, 575px" /><figcaption class="wp-element-caption">Project Pages Blocks available in v2.0 of the WordPress plugin</figcaption></figure>



<h3 class="wp-block-heading">3. Save</h3>



<p>Lastly, it&#8217;s worth noting you can see what the active templates in use are by visiting your Project Page settings page (with Project Pages installed click ‘Project Pages’ – > ‘Settings’ from your wp-admin screen).</p>



<p>Read more about this in <a href="https://projectpages.io/docs/templates/#2-toc-title">our note on the general templating guide</a>.</p>



<p><a href="https://projectpages.io/contact/" target="_blank" rel="noopener" title="">Reach out for support</a> if none of this is making sense.</p>



<h2 class="wp-block-heading">Modifying templates: PHP Templates (Legacy Template Mode)</h2>



<p>In v2.0 of Project Pages we&#8217;ve included support for the legacy (V1.*) PHP templates. If you want quick, root-level access to all of the code behind displaying Project Pages, this&#8217;ll allow you complete flexibility.</p>



<p>However, there are downsides: </p>



<p>1. You&#8217;ll need to know PHP, HTML, JS, CSS etc. </p>



<p>2. These templates are standalone (they do not use your theme appearance at all &#8211; may be a pro for some).</p>



<p>3. They will not be updated as features/tweaks are released for v2.0+ blocks etc.</p>



<p>&#8230; with all that being said, sometimes it&#8217;s nice to just have simple PHP templates for things. Here&#8217;s how you&#8217;d edit those, if you&#8217;re interested:</p>



<h3 class="wp-block-heading">1. Copy the files</h3>



<p>Using the below as guidance, copy the template files from the Project Pages plugin directory into your <a href="https://projectpages.io/docs/child-themes-and-project-pages/">child theme</a> directory:</p>



<pre class="wp-block-code"><code><strong>Copy from:</strong>
/project-pages/templates/single-projectpage_DEFAULT.php
/project-pages/templates/archive-projectpage_DEFAULT.php
/project-pages/templates/taxonomy-projectpage_DEFAULT.php

<strong>Copy to:</strong>
/wp-content/your-child-theme/templates/<strong>single-projectpage.php</strong>
/wp-content/your-child-theme/templates/<strong>archive-projectpage.<strong>php</strong></strong>
/wp-content/your-child-theme/templates/<strong>taxonomy-projectpagetag.<strong>php</strong></strong></code></pre>



<h3 class="wp-block-heading">2. Modify the files</h3>



<p>Once you have copies in your (child) theme template folder, feel free to edit these as you see fit. I can give limited support for hard-editing these, but if you hit any major challenges, please reach out <a href="https://wordpress.org/support/plugin/project-pages/">via the support forum</a>.</p>



<h2 class="wp-block-heading">Summary on template modifying</h2>



<p>Thanks for reading this guide on modifying your templates. If you have any feature requests, support queries please do <a href="https://wordpress.org/support/plugin/project-pages/">submit them here</a>. </p>



<p>Lastly, here are the related guides on templating:</p>



<ul class="wp-block-list">
<li><a href="https://projectpages.io/docs/templates/">General templates guide for Project Pages</a></li>



<li><a href="https://projectpages.io/docs/child-themes-and-project-pages/">Child themes</a></li>
</ul>



<p></p><p>The post <a href="https://projectpages.io/docs/modifying-your-templates/">Modifying Project Page Templates</a> first appeared on <a href="https://projectpages.io">Project Pages</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://projectpages.io/docs/modifying-your-templates/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Templates</title>
		<link>https://projectpages.io/docs/templates/</link>
					<comments>https://projectpages.io/docs/templates/#respond</comments>
		
		<dc:creator><![CDATA[ppkingadmin]]></dc:creator>
		<pubDate>Wed, 29 May 2024 13:28:57 +0000</pubDate>
				<guid isPermaLink="false">https://projectpages.io/?post_type=docs&#038;p=34</guid>

					<description><![CDATA[<p>Learn how to use page templates to modify your Project Pages appearance. In this guide I share how you can add your own templates for Project Pages, either via the Gutenberg editor in WordPress, or via PHP template files. Let&#8217;s get started by looking at the two modes for templates (you can change the mode [&#8230;]</p>
<p>The post <a href="https://projectpages.io/docs/templates/">Templates</a> first appeared on <a href="https://projectpages.io">Project Pages</a>.</p>]]></description>
										<content:encoded><![CDATA[<h3 class="wp-block-heading">Learn how to use page templates to modify your Project Pages appearance.</h3>



<p>In this guide I share how you can add your own templates for Project Pages, either via the Gutenberg editor in WordPress, or via PHP template files.</p>



<p>Let&#8217;s get started by looking at the two modes for templates (you can change the mode via the settings page at:</p>



<p><code>/wp-admin/edit.php?post_type=projectpage&amp;page=projectpages-plugin-settings</code></p>



<p><strong>Related guides:</strong></p>



<ul class="wp-block-list">
<li><a href="https://projectpages.io/docs/modifying-your-templates/">How to modify your Project Page Templates</a></li>



<li><a href="https://projectpages.io/docs/child-themes-and-project-pages/">Child Themes and Project Pages</a></li>
</ul>



<h2 class="wp-block-heading">Template Modes:</h2>



<p>First head over to your Project Pages Settings page, (with Project Pages installed click &#8216;Project Pages&#8217; &#8211; > &#8216;Settings&#8217; from your wp-admin screen).</p>



<p>You&#8217;ll see various settings here, this tutorial is concerned with templating though, so under <strong>Templates</strong> you&#8217;ll see <strong>Template Mode</strong>:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="282" src="https://projectpages.io/wp-content/uploads/2024/05/template-mode-in-project-pages-1024x282.png" alt="Template Mode in Project Pages for WordPress" class="wp-image-37" srcset="https://projectpages.io/wp-content/uploads/2024/05/template-mode-in-project-pages-1024x282.png 1024w, https://projectpages.io/wp-content/uploads/2024/05/template-mode-in-project-pages-300x83.png 300w, https://projectpages.io/wp-content/uploads/2024/05/template-mode-in-project-pages-768x211.png 768w, https://projectpages.io/wp-content/uploads/2024/05/template-mode-in-project-pages.png 1326w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>This mode shows the two available templating modes:</p>



<ol class="wp-block-list">
<li>Default (Blocks Template)</li>



<li>Legacy (v1.0 Project Pages PHP Templates)</li>
</ol>



<p>The default will suit most users. The legacy templating system is left in tact for those upgrading from v1.0 who want to keep the original Semantic UI styling. </p>



<p>Here&#8217;s another way of looking at these two modes:</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p><strong>Default (Blocks Templates)</strong> &#8211; This template mode uses a Gutenberg page template made up out of blocks to construct the single Project Page page, the Archive page, and the Taxonomy Archive page. In this mode you can modify the templates in the WordPress editor.</p>



<p><strong>Benefits: </strong>Uses your theme styling &amp; header &amp; footer, can modify templates right in WordPress editor</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p><strong>Legacy (PHP Templates) </strong>&#8211; This template mode sidesteps Gutenberg and your theme. It uses PHP templates (customisable by you) to produce a specific &#8216;look and feel&#8217; for your Project Pages.</p>



<p><strong>Benefits: </strong>Standalone &#8216;Projects&#8217; area. For those familiar with code it may be more comfortable to edit.</p>



<h3 class="wp-block-heading">Useful tip:</h3>



<p>Whichever mode you use please note the info below the mode selection option: </p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="886" height="216" src="https://projectpages.io/wp-content/uploads/2024/05/template-info-project-pages.png" alt="Template file location information in Project Pages settings page" class="wp-image-38" srcset="https://projectpages.io/wp-content/uploads/2024/05/template-info-project-pages.png 886w, https://projectpages.io/wp-content/uploads/2024/05/template-info-project-pages-300x73.png 300w, https://projectpages.io/wp-content/uploads/2024/05/template-info-project-pages-768x187.png 768w" sizes="auto, (max-width: 886px) 100vw, 886px" /></figure>



<p>Here you can see key information on the current templates your site is using.</p>



<p>Note the notice &#8216;You are not using a child theme&#8230;&#8217; &#8211; this is because in this instance the demo site templates have just been put straight into a theme <code>/templates/*</code> directory. If we didn&#8217;t resolve this, when the theme updated it&#8217;d delete all our templates  <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f631.png" alt="😱" class="wp-smiley" style="height: 1em; max-height: 1em;" />. (Below we&#8217;ll show you how to fix that!)</p>



<p>Under that you can see your <strong>Current Templates</strong>.</p>



<p>&#8230;this shows you which exact files Project Pages will use to output your Project Pages. Below you can learn about making your own templates, but it&#8217;s useful to remember this screen so you can easily see at a glance which templates are being used.</p>



<h2 class="wp-block-heading">Project Pages and Gutenberg (Default mode):</h2>



<p>This mode is selected by default for all new systems, because, well; it&#8217;s the best. In this mode your Project Pages are built using WordPress blocks, which means you can modify them easily in your WordPress editor, and they fit &#8216;in&#8217; your site design.</p>



<p>For example, the following screenshot shows the above-the-fold view of default template mode in the WordPress theme &#8216;twentytwentyfour&#8217;:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="654" src="https://projectpages.io/wp-content/uploads/2024/05/example-project-page-woodwork-atf-1024x654.png" alt="Example Project Page using Gutenberg Blocks in WordPress" class="wp-image-42" srcset="https://projectpages.io/wp-content/uploads/2024/05/example-project-page-woodwork-atf-1024x654.png 1024w, https://projectpages.io/wp-content/uploads/2024/05/example-project-page-woodwork-atf-300x192.png 300w, https://projectpages.io/wp-content/uploads/2024/05/example-project-page-woodwork-atf-768x491.png 768w, https://projectpages.io/wp-content/uploads/2024/05/example-project-page-woodwork-atf.png 1462w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>You can read more on <a href="https://projectpages.io/docs/modifying-your-templates/">modifying your templates here</a>. But fundamentally the files you&#8217;ll need to be copying over into your theme are:</p>



<pre class="wp-block-code"><code><strong>Copy from:</strong>
/project-pages/templates/single-projectpage_DEFAULT.html
/project-pages/templates/archive-projectpage_DEFAULT.html
/project-pages/templates/taxonomy-projectpagetag_DEFAULT.html

<strong>Copy to:</strong>
/wp-content/your-child-theme/templates/<strong>single-projectpage.html</strong>
/wp-content/your-child-theme/templates/<strong>archive-projectpage.html</strong>
/wp-content/your-child-theme/templates/<strong>taxonomy-projectpagetag.html</strong></code></pre>



<h2 class="wp-block-heading">Legacy Templates:</h2>



<p>Legacy templates were used in <code>v1.0</code> of Project Pages and as such use simple PHP templates instead of more modern WordPress Block templates. (They can still be beautiful, but might not match the rest of your theme &#8211; which is sometimes a pro!)</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="658" src="https://projectpages.io/wp-content/uploads/2024/05/legacy-example-project-page-woodwork-atf-1024x658.png" alt="" class="wp-image-43" srcset="https://projectpages.io/wp-content/uploads/2024/05/legacy-example-project-page-woodwork-atf-1024x658.png 1024w, https://projectpages.io/wp-content/uploads/2024/05/legacy-example-project-page-woodwork-atf-300x193.png 300w, https://projectpages.io/wp-content/uploads/2024/05/legacy-example-project-page-woodwork-atf-768x493.png 768w, https://projectpages.io/wp-content/uploads/2024/05/legacy-example-project-page-woodwork-atf.png 1454w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>You can read more on <a href="https://projectpages.io/docs/modifying-your-templates/">modifying your templates here</a>. But fundamentally the files you&#8217;ll need to be copying over into your theme are:</p>



<pre class="wp-block-code"><code><strong>Copy from:</strong>
/project-pages/templates/single-projectpage_DEFAULT.php
/project-pages/templates/archive-projectpage_DEFAULT.php
/project-pages/templates/taxonomy-projectpage_DEFAULT.php

<strong>Copy to:</strong>
/wp-content/your-child-theme/templates/<strong>single-projectpage.php</strong>
/wp-content/your-child-theme/templates/<strong>archive-projectpage.<strong>php</strong></strong>
/wp-content/your-child-theme/templates/<strong>taxonomy-projectpagetag.<strong>php</strong></strong></code></pre>



<h2 class="wp-block-heading">Not found what you&#8217;re looking for?</h2>



<p><strong>Related guides:</strong></p>



<ul class="wp-block-list">
<li><a href="https://projectpages.io/docs/modifying-your-templates/">How to modify your Project Page Templates</a></li>



<li><a href="https://projectpages.io/docs/child-themes-and-project-pages/">Child Themes and Project Pages</a></li>
</ul><p>The post <a href="https://projectpages.io/docs/templates/">Templates</a> first appeared on <a href="https://projectpages.io">Project Pages</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://projectpages.io/docs/templates/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
