<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: Custom page template with PHP scripting</title>
		<link>http://www.themolitor.com/forums/topic/custom-page-template-with-php-scripting</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Custom page template with PHP scripting</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 16:49:49 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/custom-page-template-with-php-scripting" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Custom page template with PHP scripting"</title>
			<link>http://www.themolitor.com/forums/topic/custom-page-template-with-php-scripting#post-27024</link>
			<pubDate>Fri, 07 Feb 2014 09:59:49 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27024@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>You'll have to review the template files for the variables available as they are sometimes unique to that specific template.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>cmreif on "Custom page template with PHP scripting"</title>
			<link>http://www.themolitor.com/forums/topic/custom-page-template-with-php-scripting#post-27015</link>
			<pubDate>Thu, 06 Feb 2014 14:47:49 +0000</pubDate>
			<dc:creator>cmreif</dc:creator>
			<guid isPermaLink="false">27015@http://www.themolitor.com/forums/</guid>
			<description><p>I am new to PHP, CSS, and HTML, basically any saved value, IE stuff starting with "$".  I am still interested in that list if you have it.</p>
<p>I figured something out.  In the main index code I inserted a if loop under the page layout section.  The if loop checks the $titleId value against the page that I want the change on.  If the menu is open to that page it inserts my PHP code, if not nothing. Works great.</p>
<pre><code>///////////////
//PAGE PANEL LAYOUT
///////////////
} elseif($type == &#039;page&#039;) {

if($titleId == &#039;[name of page you want the code on here]&#039;) {
[custom PHP code goes here]
}</code></pre></description>
		</item>
		<item>
			<title>THE MOLITOR on "Custom page template with PHP scripting"</title>
			<link>http://www.themolitor.com/forums/topic/custom-page-template-with-php-scripting#post-27011</link>
			<pubDate>Thu, 06 Feb 2014 12:28:01 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27011@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Sorry, I'm not sure what you mean by variable listing. Can you explain?</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>cmreif on "Custom page template with PHP scripting"</title>
			<link>http://www.themolitor.com/forums/topic/custom-page-template-with-php-scripting#post-27009</link>
			<pubDate>Thu, 06 Feb 2014 11:57:00 +0000</pubDate>
			<dc:creator>cmreif</dc:creator>
			<guid isPermaLink="false">27009@http://www.themolitor.com/forums/</guid>
			<description><p>OK, I understand, thanks for being responsive.</p>
<p>Can you link me to a complete variable listing for this theme?
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Custom page template with PHP scripting"</title>
			<link>http://www.themolitor.com/forums/topic/custom-page-template-with-php-scripting#post-27007</link>
			<pubDate>Thu, 06 Feb 2014 10:41:28 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27007@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Since MISC is a single-page theme, pages are not intended to be viewed directly/individually. As a result, viewing pages directly will look different than when viewed on the home page.</p>
<p>The home page (index.php) pulls the content from the menu items and displays them based on what they are. Page templates like the one you created are not utilized on the home page. </p>
<p>Integrating a custom page template into the home page goes beyond the level of support I'm able to provide here in the forums. If it was something I knew off the top of my head I would gladly help, but if it requires a bit of research, testing and custom code then I have to refer you to the customization request form: <a href="http://themolitor.com/custom" rel="nofollow">http://themolitor.com/custom</a></p>
<p>Hope you understand.</p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>cmreif on "Custom page template with PHP scripting"</title>
			<link>http://www.themolitor.com/forums/topic/custom-page-template-with-php-scripting#post-27004</link>
			<pubDate>Thu, 06 Feb 2014 10:34:22 +0000</pubDate>
			<dc:creator>cmreif</dc:creator>
			<guid isPermaLink="false">27004@http://www.themolitor.com/forums/</guid>
			<description><p>I have a setup a custom page template file, page-{slug}.php.  I copied the standard page theme PHP code in.  I put in my own PHP code.  I assigned the page template to my page, and opened the page with the direct permalink.  My script and all of the page information is there, but the menu is missing.  When I link it to the menu feature, the page displays with the menu, but my script is not there.</p>
<p>Can you tell me how the MISC theme polls page information and place it in the hierarchy? Additionally how do I get my custom PHP script on just one page for my site?
</p></description>
		</item>

	</channel>
</rss>
