Custom Template Problem
-
Hey!
I got a Problem and i hope, that u guys can help me.
My current customer site uses multiple hierarchically ordered pages which contain a Custom Template. In this page template i added the functionallity to decide, which category of posts (via post_meta) will be shown under the normal page content. In other words you have a page with its content and under it multiple posts of a chosen category.
Now to the problem:
I am in the following Site Hierarchy (Main Site -> SubSite -> SubSubSite) and have listed my posts from the category (eg.: Sub Sub Main Site Category) under the page content. When i now click on the Post Link (the_permalink) i am loosing the hierarchy and the link of my parent pages. The link of the page looks normally (/MainSite/SubSite/SubSubSite) after the click on a post in the page i get the following one … For example in a custom post -> eg. /slugofcustomposttype/postname.I need the possibility to automatically change the link to:
/MainSite/SubSite/SubSubSite/postnameIn Addition i lose the correct path of my breadcrumb and the content of my sidebars and its content, which are chosen by its root menu point:
MainSite and its children -> Widget 1
MainSite2 … -> Widget 2
MainSite3 … -> Widget 3In other words is it possible to change the link of the permalink and dont loose my parent sites/pages?
Hope u guys can help me.
Thank u and greetings in advance!
Philipp
PS.: We normally do a lot of Typo3 Website, however this is my first one in WordPress … so please by patient ;).
The topic ‘Custom Template Problem’ is closed to new replies.