<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Tag: permalinks</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sat, 18 May 2013 10:30:55 +0000</pubDate>

<item>
<title>avalon54 on "Permalinks on Dev Site With IP Only, No Domain Name"</title>
<link>http://themeshaper.com/forums/topic/permalinks-on-dev-site-with-ip-only-no-domain-name#post-23890</link>
<pubDate>Mon, 21 Nov 2011 22:25:57 +0000</pubDate>
<dc:creator>avalon54</dc:creator>
<guid isPermaLink="false">23890@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Anyone know if it's possible to get permalinks working on a server without a domain name, only the numerical IP address? &#60;/p&#62;
&#60;p&#62;I installed the site after editing my hosts file (here's how: &#60;a href=&#34;http://decoding.wordpress.com/2009/04/06/how-to-edit-the-hosts-file-in-mac-os-x-leopard/&#34; rel=&#34;nofollow&#34;&#62;http://decoding.wordpress.com/2009/04/06/how-to-edit-the-hosts-file-in-mac-os-x-leopard/&#60;/a&#62;), to match the IP address to what the domain name will be after the DNS is switched and the homepage looks OK. &#60;/p&#62;
&#60;p&#62;If I disable custom permalinks, and choose default I can see secondary pages, but when I enable custom permalinks I'm getting a Not Found error on secondary pages, category pages, etc.&#60;/p&#62;
&#60;p&#62;My successfully edited my .htaccess file as well but still no dice.
&#60;/p&#62;</description>
</item>
<item>
<title>papogator on "Anybody have experience with custom permalinks?"</title>
<link>http://themeshaper.com/forums/topic/anybody-have-experience-with-custom-permalinks#post-22143</link>
<pubDate>Sat, 02 Jul 2011 20:35:45 +0000</pubDate>
<dc:creator>papogator</dc:creator>
<guid isPermaLink="false">22143@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;One more thing, return $rval at end (just a personal preference)
&#60;/p&#62;</description>
</item>
<item>
<title>papogator on "Anybody have experience with custom permalinks?"</title>
<link>http://themeshaper.com/forums/topic/anybody-have-experience-with-custom-permalinks#post-22142</link>
<pubDate>Sat, 02 Jul 2011 20:35:04 +0000</pubDate>
<dc:creator>papogator</dc:creator>
<guid isPermaLink="false">22142@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey nice work. I had have similar code to do what you've descdribed. But you have an issue in your child function. Add this foreach and it should work fine:&#60;/p&#62;
&#60;p&#62;&#38;lt;i&#38;gt; In function res_brands_child_permalink($permalink, $post_id, $leavename) &#38;lt;/i&#38;gt;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
	foreach($terms as $term):&#60;br /&#62;
			if (!is_wp_error($terms) &#38;#38;&#38;#38; !empty($terms) &#38;#38;&#38;#38; is_object($term)) {&#60;br /&#62;
				$taxonomy_slug = $term-&#38;gt;slug;&#60;br /&#62;
				$rval = str_replace('%product_cat_child%', $taxonomy_slug, $permalink);&#60;br /&#62;
			} else {&#60;br /&#62;
				$rval = str_replace('/%product_cat_child%', '', $permalink);&#60;br /&#62;
			}&#60;br /&#62;
		endforeach;&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>paaljoachim on "Changing permalinks and updating pages.-error-"</title>
<link>http://themeshaper.com/forums/topic/changing-permalinks-and-updating-pages-error-#post-20273</link>
<pubDate>Mon, 04 Apr 2011 09:09:21 +0000</pubDate>
<dc:creator>paaljoachim</dc:creator>
<guid isPermaLink="false">20273@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I changed the permalinks. Saved&#60;br /&#62;
Went to one of my pages, noticed that the permalink had changed. Clicked update. Clicked view page and received a page not found.&#60;br /&#62;
I did a preview of the page and it showed up fine. Clicked the other pages and they come up showing the permalink I choose (default).&#60;br /&#62;
But when I click the image page again it does not find it since it looks in the old permalink structure.&#60;/p&#62;
&#60;p&#62;Weird.
&#60;/p&#62;</description>
</item>
<item>
<title>paaljoachim on "Adding a custom designed menu."</title>
<link>http://themeshaper.com/forums/topic/adding-a-custom-designed-menu#post-20254</link>
<pubDate>Sun, 03 Apr 2011 17:13:23 +0000</pubDate>
<dc:creator>paaljoachim</dc:creator>
<guid isPermaLink="false">20254@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I am writing a tutorial as I am going through this and will share as I have come a little further.&#60;/p&#62;
&#60;p&#62;How would I go about adding my own custom menu which I have already created in Dreamweaver?&#60;br /&#62;
It looks like this: &#60;a href=&#34;http://myactingportfolio.com/images.html&#34; rel=&#34;nofollow&#34;&#62;http://myactingportfolio.com/images.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The menu will show the active page, as seen in the above sample.&#60;/p&#62;
&#60;p&#62;Another thing.&#60;br /&#62;
How would I remove the content title which is in the content area?&#60;br /&#62;
For instance a page called Intro, and right above the content is says Intro in a h1 or h2 tag.&#60;br /&#62;
All the pages have a title right above the content. It is the same as the name of the page. This seems like a basic matter that requires hopefully a simple answer.&#60;/p&#62;
&#60;p&#62;Have a great week!
&#60;/p&#62;</description>
</item>
<item>
<title>leicesterweb on "Page links dont work with permalinks activated"</title>
<link>http://themeshaper.com/forums/topic/page-links-dont-work-with-permalinks-activated#post-19269</link>
<pubDate>Fri, 18 Feb 2011 21:15:52 +0000</pubDate>
<dc:creator>leicesterweb</dc:creator>
<guid isPermaLink="false">19269@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;I am building a new Wordpress site at &#60;a href=&#34;http://www.kellyhainsworth.com/new/.&#34; rel=&#34;nofollow&#34;&#62;http://www.kellyhainsworth.com/new/.&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I have nine pages which I want in my tabbed navigation - so far it's been a breeze.&#60;/p&#62;
&#60;p&#62;However, when I switch permalinks on, i get an error when I click on 'Reflexology' and it goes to &#60;a href=&#34;http://www.kellyhainsworth.com/new/reflexology/.&#34; rel=&#34;nofollow&#34;&#62;http://www.kellyhainsworth.com/new/reflexology/.&#60;/a&#62;  How can I get the tabs to go to the correct URls - as they do now - but display the content?&#60;/p&#62;
&#60;p&#62;I want &#60;a href=&#34;http://www.kellyhainsworth.com/new/reflexology/&#34; rel=&#34;nofollow&#34;&#62;http://www.kellyhainsworth.com/new/reflexology/&#60;/a&#62; to display &#60;a href=&#34;http://www.kellyhainsworth.com/new/?page_id=5.&#34; rel=&#34;nofollow&#34;&#62;http://www.kellyhainsworth.com/new/?page_id=5.&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Danieliser on "Anybody have experience with custom permalinks?"</title>
<link>http://themeshaper.com/forums/topic/anybody-have-experience-with-custom-permalinks#post-16657</link>
<pubDate>Fri, 29 Oct 2010 22:30:28 +0000</pubDate>
<dc:creator>Danieliser</dc:creator>
<guid isPermaLink="false">16657@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;If anybody else wants parent/child category style links for custom post types and taxonomies this is what ive got working, probably not perfect but is working and not returning 404s.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;post_link&#38;#39;, &#38;#39;res_brands_permalink&#38;#39;, 10, 3);
add_filter(&#38;#39;post_type_link&#38;#39;, &#38;#39;res_brands_permalink&#38;#39;, 10, 3);

function res_brands_permalink($permalink, $post_id, $leavename) {
	if (strpos($permalink, &#38;#39;%res_brands%&#38;#39;) === FALSE) return $permalink;

        // Get post
        $post = get_post($post_id);
        if (!$post) return $permalink;

        // Get taxonomy terms
        $terms = wp_get_object_terms($post-&#38;gt;ID, &#38;#39;resbrands&#38;#39;, array(&#38;#39;orderby&#38;#39; =&#38;gt; &#38;#39;count&#38;#39;, &#38;#39;order&#38;#39; =&#38;gt; &#38;#39;DESC&#38;#39;));
		$count = count($terms);
		if (!is_wp_error($terms) &#38;#38;&#38;#38; !empty($terms) &#38;#38;&#38;#38; is_object($terms[0])) {
			$taxonomy_slug = $terms[0]-&#38;gt;slug;
			return str_replace(&#38;#39;%res_brands%&#38;#39;, $taxonomy_slug, $permalink);
		} else
			return str_replace(&#38;#39;/%res_brands%&#38;#39;, &#38;#39;&#38;#39;, $permalink);

}

add_filter(&#38;#39;post_link&#38;#39;, &#38;#39;res_brands_child_permalink&#38;#39;, 10, 3);
add_filter(&#38;#39;post_type_link&#38;#39;, &#38;#39;res_brands_child_permalink&#38;#39;, 10, 3);

function res_brands_child_permalink($permalink, $post_id, $leavename) {
	if (strpos($permalink, &#38;#39;%res_brands_child%&#38;#39;) === FALSE) return $permalink;

        // Get post
        $post = get_post($post_id);
        if (!$post) return $permalink;

        // Get taxonomy terms
        $terms = wp_get_object_terms($post-&#38;gt;ID, &#38;#39;resbrands&#38;#39;, array(&#38;#39;orderby&#38;#39; =&#38;gt; &#38;#39;count&#38;#39;, &#38;#39;order&#38;#39; =&#38;gt; &#38;#39;ASC&#38;#39;));
		$count = count($terms);
		if (!is_wp_error($terms) &#38;#38;&#38;#38; !empty($terms) &#38;#38;&#38;#38; is_object($terms[0])) {
			$taxonomy_slug = $terms[0]-&#38;gt;slug;
			return str_replace(&#38;#39;%res_brands_child%&#38;#39;, $taxonomy_slug, $permalink);
		} else
			return str_replace(&#38;#39;/%res_brands_child%&#38;#39;, &#38;#39;&#38;#39;, $permalink);

}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and my post type &#38;#38; rewrite rules&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;register_post_type( 

&#38;#39;residential&#38;#39;,
array(
     &#38;#39;public&#38;#39; =&#38;gt; true,
     &#38;#39;rewrite&#38;#39; =&#38;gt; true,
     &#38;#39;query_var&#38;#39; =&#38;gt; &#38;#39;residential&#38;#39;
     )
);
global $wp_rewrite;
$wp_rewrite-&#38;gt;add_rewrite_tag(&#38;quot;%residential%&#38;quot;, &#38;#39;([^/]+)&#38;#39;, &#38;#39;residential=&#38;#39;);
$wp_rewrite-&#38;gt;add_rewrite_tag(&#38;quot;%res_brands%&#38;quot;, &#38;#39;([^/]+)&#38;#39;, &#38;#39;resbrands=&#38;#39;);
$wp_rewrite-&#38;gt;add_rewrite_tag(&#38;quot;%res_brands_child%&#38;quot;, &#38;#39;([^/]+)&#38;#39;, &#38;#39;resbrands=&#38;#39;);
$wp_rewrite-&#38;gt;add_permastruct(&#38;#39;residential&#38;#39;, &#38;quot;products/residential/%res_brands%/%res_brands_child%/%residential%/&#38;quot;, $with_front = true);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This gives links of /post-type/tax-term/tax-term-child/post-name&#60;/p&#62;
&#60;p&#62;I will be doing a full write up on my blog soon.
&#60;/p&#62;</description>
</item>
<item>
<title>Danieliser on "Anybody have experience with custom permalinks?"</title>
<link>http://themeshaper.com/forums/topic/anybody-have-experience-with-custom-permalinks#post-16655</link>
<pubDate>Fri, 29 Oct 2010 17:17:36 +0000</pubDate>
<dc:creator>Danieliser</dc:creator>
<guid isPermaLink="false">16655@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I Have posted this in several places but the wp forums take weeks sometimes to get responses.&#60;/p&#62;
&#60;p&#62;I am trying to get my custom taxonomies to operate like post categories, with permalinks like&#60;br /&#62;
&#60;code&#62;/post-type/tax-term/tax-term-child/tax-term-grandchild/post-name/&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;ive got a function hooked into post_type_links that gives my links this structure. here it is&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;post_type_link&#38;#39;, &#38;#39;product_permalink&#38;#39;, 10, 3);
function product_permalink($permalink, $post_id, $leavename) {
	if (strpos($permalink, &#38;#39;%res_brands%&#38;#39;) === FALSE) return $permalink;

        // Get post
        $post = get_post($post_id);
        if (!$post) return $permalink;

        // Get taxonomy terms
        $terms = wp_get_object_terms($post-&#38;gt;ID, &#38;#39;resbrands&#38;#39;);
		if (!is_wp_error($terms) &#38;#38;&#38;#38; !empty($terms) &#38;#38;&#38;#38; is_object($terms[0])) {
			$term_count = count($terms);
			$i=1;
			if($term_count &#38;gt; 1){
				foreach( $terms as $term ) {
					if (!empty($term) &#38;#38;&#38;#38; is_object($term)) $taxonomy_slug .= $term-&#38;gt;slug;
					if($i &#38;lt; $term_count) $taxonomy_slug .= &#38;#39;/&#38;#39;;
					$i++;
				}
			} else {
				$taxonomy_slug = $terms[0]-&#38;gt;slug;
			}
		}
        //else $taxonomy_slug = &#38;#39;not-rated&#38;#39;;

	return str_replace(&#38;#39;%res_brands%&#38;#39;, $taxonomy_slug, $permalink);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;where my trouble lies is that the links lead to 404s due to the fact that %res_brands% could be &#60;code&#62;parent/child/grandchild&#60;/code&#62; and it only recognizes 1 im assuiming, this is where i need help.&#60;/p&#62;
&#60;p&#62;im using&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;global $wp_rewrite;
$wp_rewrite-&#38;gt;add_rewrite_tag(&#38;quot;%res_brands%&#38;quot;, &#38;#39;([^/]+)&#38;#39;, &#38;quot;resbrands=&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and assuming that i could just change the ([^/]+) to something that only recognizes the last /grandchild or /child if no grandchild. does it work like a preg_replace? can i echo out multiple values into an array exploding at the /? any ideas would be helpful. Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>Buy Dog Treats on "Issue with child theme logo and permalinks"</title>
<link>http://themeshaper.com/forums/topic/issue-with-child-theme-logo-and-permalinks#post-13972</link>
<pubDate>Sat, 17 Jul 2010 11:49:49 +0000</pubDate>
<dc:creator>Buy Dog Treats</dc:creator>
<guid isPermaLink="false">13972@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Excellent helping post regarding to download or upload children theme. But one think remained that you not told how can define constant for the theme.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Issue with child theme logo and permalinks"</title>
<link>http://themeshaper.com/forums/topic/issue-with-child-theme-logo-and-permalinks#post-13949</link>
<pubDate>Fri, 16 Jul 2010 14:20:45 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">13949@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;cool.  glad it helped.
&#60;/p&#62;</description>
</item>
<item>
<title>mandava on "Issue with child theme logo and permalinks"</title>
<link>http://themeshaper.com/forums/topic/issue-with-child-theme-logo-and-permalinks#post-13939</link>
<pubDate>Fri, 16 Jul 2010 09:38:16 +0000</pubDate>
<dc:creator>mandava</dc:creator>
<guid isPermaLink="false">13939@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Cheers!&#60;/p&#62;
&#60;p&#62;It worked.&#60;br /&#62;
Thank you!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Issue with child theme logo and permalinks"</title>
<link>http://themeshaper.com/forums/topic/issue-with-child-theme-logo-and-permalinks#post-13929</link>
<pubDate>Fri, 16 Jul 2010 01:39:26 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">13929@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;you post the code i gave you into your child theme's functions.php&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;CHILDTHEME_URI&#38;#39;, get_stylesheet_directory_uri() . &#38;#39;/&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;basically you say define('constant name', 'constant value');
&#60;/p&#62;</description>
</item>
<item>
<title>mandava on "Issue with child theme logo and permalinks"</title>
<link>http://themeshaper.com/forums/topic/issue-with-child-theme-logo-and-permalinks#post-13927</link>
<pubDate>Thu, 15 Jul 2010 22:09:18 +0000</pubDate>
<dc:creator>mandava</dc:creator>
<guid isPermaLink="false">13927@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey,&#60;br /&#62;
Thanks for the reply.&#60;/p&#62;
&#60;p&#62;I'm sorry for asking, but how do you define a constant for the theme?&#60;/p&#62;
&#60;p&#62;Cheers!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Issue with child theme logo and permalinks"</title>
<link>http://themeshaper.com/forums/topic/issue-with-child-theme-logo-and-permalinks#post-13920</link>
<pubDate>Thu, 15 Jul 2010 21:08:40 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">13920@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;you can't use &#60;a href=&#34;http://localhost&#34; rel=&#34;nofollow&#34;&#62;http://localhost&#60;/a&#62; on your live server, as that only applies to your home computer.&#60;/p&#62;
&#60;p&#62;also wp-content/themes/ is a relative (to whatever page you are currently on) link so it will pretty much never work...as you have noticed.&#60;/p&#62;
&#60;p&#62;what i would do is define a constant for the theme&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;CHILDTHEME_URI&#38;#39;, get_stylesheet_directory_uri() . &#38;#39;/&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and then change the link to:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;a href=&#38;quot;/&#38;quot;&#38;gt;&#38;lt;img src=&#38;quot;&#38;lt;?php echo CHILDTHEME_URI . &#38;#39;images/logo.png&#38;#39; ; ?&#38;gt;&#38;quot; alt=&#38;quot;Logo&#38;quot; /&#38;gt;&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;you can use that constant anywhere you need to get a hyperlink to the theme folder as it will always produce something like&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.domain.com/wp-content/themes/my-theme/&#34; rel=&#34;nofollow&#34;&#62;http://www.domain.com/wp-content/themes/my-theme/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;i left the link to / which means site root (aka home), presuming that your install is in the root directory.  i know that with XAMMP or MAMMP or whatever, htdocs is the root directory so you need to add the /new/ to get to the site, but this isn't the case on a live server.
&#60;/p&#62;</description>
</item>
<item>
<title>mandava on "Issue with child theme logo and permalinks"</title>
<link>http://themeshaper.com/forums/topic/issue-with-child-theme-logo-and-permalinks#post-13914</link>
<pubDate>Thu, 15 Jul 2010 17:18:37 +0000</pubDate>
<dc:creator>mandava</dc:creator>
<guid isPermaLink="false">13914@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I just got into developing WP themes. I should also mention that my PHP skills are nowhere near 'strong'!&#60;/p&#62;
&#60;p&#62;I started developing a child theme, and I added a logo instead of the default text for the site title. I got the instructions from a topic on the forums here.&#60;/p&#62;
&#60;p&#62;It was working fine on my new default installation of WP 3 on my laptop. But when I uploaded the theme to my server, the logo shows up only on the home page due to permalinks being used on the server.&#60;/p&#62;
&#60;p&#62;On local machine, the css is&#60;br /&#62;
&#60;code&#62;&#38;lt;a href=&#38;quot;http://localhost/new/&#38;quot;&#38;gt;&#38;lt;img src=&#38;quot;wp-content/themes/new/images/logo.png&#38;quot; alt=&#38;quot;Logo&#38;quot; /&#38;gt;&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Any idea on how to resolve this issue?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>willforsyth on "Page links dont work with permalinks activated"</title>
<link>http://themeshaper.com/forums/topic/page-links-dont-work-with-permalinks-activated#post-13537</link>
<pubDate>Wed, 30 Jun 2010 15:05:55 +0000</pubDate>
<dc:creator>willforsyth</dc:creator>
<guid isPermaLink="false">13537@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks Hilgatheviking putting the slash before the link worked a treat. thanks alot.&#60;/p&#62;
&#60;p&#62;yeah I need to build the whole thing in wordpress.&#60;/p&#62;
&#60;p&#62;But useful if anyone ever has to add a blog onto a already existing site solution found.&#60;/p&#62;
&#60;p&#62;Thanks again
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Page links dont work with permalinks activated"</title>
<link>http://themeshaper.com/forums/topic/page-links-dont-work-with-permalinks-activated#post-13357</link>
<pubDate>Thu, 24 Jun 2010 18:22:38 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">13357@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;depending on what you are doing, you might need custom page templates : &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wptheming.com/2010/03/custom-page-templates-thematic/&#34; rel=&#34;nofollow&#34;&#62;http://wptheming.com/2010/03/custom-page-templates-thematic/&#60;/a&#62; &#60;/p&#62;
&#60;p&#62;also i found that the Custom Post Template plugin lets you do exactly the same thing for Posts... which i really think ought to be in the core functionality.  &#60;/p&#62;
&#60;p&#62;but as far as you links... if they are top level pages then you could use &#60;code&#62;&#38;lt;a href=&#38;quot;/about.html&#38;quot;&#38;gt;&#60;/code&#62; you are missing a backslash... so the links as you have them are always relative to wherever you are now... whereas w/ the backslash they are always relative to the root directory. &#60;/p&#62;
&#60;p&#62;what do you have set for permalinks?  i am fairly certain that w/o a plugin, wordpress pages never get a trailing .html which is another reason your links might be breaking. &#60;/p&#62;
&#60;p&#62;but i agree w/ gene... get those pages into WP and save yourself future headaches.
&#60;/p&#62;</description>
</item>
<item>
<title>willforsyth on "Page links dont work with permalinks activated"</title>
<link>http://themeshaper.com/forums/topic/page-links-dont-work-with-permalinks-activated#post-13351</link>
<pubDate>Thu, 24 Jun 2010 13:13:04 +0000</pubDate>
<dc:creator>willforsyth</dc:creator>
<guid isPermaLink="false">13351@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks will try this out.
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Page links dont work with permalinks activated"</title>
<link>http://themeshaper.com/forums/topic/page-links-dont-work-with-permalinks-activated#post-13291</link>
<pubDate>Tue, 22 Jun 2010 14:12:55 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">13291@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;look here for a tutorial on how to switch stylesheets between pages using Thematic:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/&#34; rel=&#34;nofollow&#34;&#62;http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>willforsyth on "Page links dont work with permalinks activated"</title>
<link>http://themeshaper.com/forums/topic/page-links-dont-work-with-permalinks-activated#post-13289</link>
<pubDate>Tue, 22 Jun 2010 13:49:24 +0000</pubDate>
<dc:creator>willforsyth</dc:creator>
<guid isPermaLink="false">13289@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks &#60;/p&#62;
&#60;p&#62;I will try putting the files into another directory and linking from there. See if that works.&#60;/p&#62;
&#60;p&#62;I was planning on making my whole site powered by wordpress but I couldnt work out how to have multiple style sheets for the two different sections.&#60;/p&#62;
&#60;p&#62;One content area is bigger than the other.&#60;/p&#62;
&#60;p&#62;So decided to make it live for the time being till I get time to figure it out.
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Page links dont work with permalinks activated"</title>
<link>http://themeshaper.com/forums/topic/page-links-dont-work-with-permalinks-activated#post-13276</link>
<pubDate>Mon, 21 Jun 2010 21:17:03 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">13276@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I have run into this issue before and the best solution in my opinion would be to not mix a CMS like WordPress and static html files in the same directory. There are many more benefits for SEO to having one cook(CMS) in the kitchen rather than mixing WordPress with static html.&#60;/p&#62;
&#60;p&#62;Why not learn how to manage your &#34;whole&#34; site with WordPress. Create pages in WordPress and import the content into them.&#60;/p&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>willforsyth on "Page links dont work with permalinks activated"</title>
<link>http://themeshaper.com/forums/topic/page-links-dont-work-with-permalinks-activated#post-13274</link>
<pubDate>Mon, 21 Jun 2010 20:32:19 +0000</pubDate>
<dc:creator>willforsyth</dc:creator>
<guid isPermaLink="false">13274@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Right just discovered this problem now not sure if anyone has had a similar issue and if they did how they resolved it.&#60;/p&#62;
&#60;p&#62;I have made a child theme of thematic and used this function to add a new sub menu.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;///////////// sun menu instert below header//////////////////////////////////////

function sub_menu() { ?&#38;gt;
&#38;lt;div class=&#38;quot;menuwrapper&#38;quot;&#38;gt;
&#38;lt;div class=&#38;quot;menu2&#38;quot;&#38;gt;

&#38;lt;ul&#38;gt;
&#38;lt;li&#38;gt;&#38;lt;a href=&#38;quot;web.html&#38;quot;&#38;gt;:Web&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li&#38;gt;&#38;lt;a href=&#38;quot;graphics.html&#38;quot;&#38;gt;:Graphics&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li&#38;gt;&#38;lt;a href=&#38;quot;print.html&#38;quot;&#38;gt;:Print&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li&#38;gt;&#38;lt;a href=&#38;quot;logo.html&#38;quot;&#38;gt;:Logo&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li&#38;gt;&#38;lt;a href=&#38;quot;illustration.html&#38;quot;&#38;gt;:Illustration&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li&#38;gt;&#38;lt;a href=&#38;quot;branding.html&#38;quot;&#38;gt;:Branding&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;/ul&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;?php

}
add_action(&#38;#39;thematic_belowheader&#38;#39;, &#38;#39;sub_menu&#38;#39;);

////////////////////////////////////////////////////////////////////////////&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Everything has worked fine until I activated the permalinks on my wordpress themes.&#60;/p&#62;
&#60;p&#62;When this is activated and you navigate through the wordpress section of my site then navigate to the sub menu inserted via this function instead of removing the permalink amd insterting the .html link it adds this to the end of the permalink thus making the link invalid.&#60;/p&#62;
&#60;p&#62;I.E&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.willforsyth.co.uk.about&#34; rel=&#34;nofollow&#34;&#62;www.willforsyth.co.uk.about&#60;/a&#62;   (about being the permalink)&#60;/p&#62;
&#60;p&#62;Click on the link (web.html) created by the function it comes out as this&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.willforsyth.co.uk/about/web.html&#34; rel=&#34;nofollow&#34;&#62;www.willforsyth.co.uk/about/web.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;instead of removing the permalink and making the link this&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.willfrosyth.co.uk/web.html&#34; rel=&#34;nofollow&#34;&#62;www.willfrosyth.co.uk/web.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;to make matters even more complicated it only adds the link to the end of the permalink when you click from the page thats created the permalink to the none wordpress page associated with the site.&#60;/p&#62;
&#60;p&#62;Has anyone had this issue before. Its working at the moment with permalinks deactivated but I want to have the title of the permalink activated for SEO reasons.&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
