dorich
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Template changes based on template code??Noted, thanks.
Forum: Fixing WordPress
In reply to: Template changes based on template code??Why does your “A” link use “definitions” but the others use ‘terms’?
Apologies: I tested the change of slug on just one link. Then had a distraction before I got round to changing all the other links. All of the links now use “definitions”.
See that “page-template-glossary-terms-php” part. That is the template being used.
Ah, I didn’t know that I could see the template by looking at the body class.
So the conclusion is that the page is being rendered with the correct template but the plugin is failing. Indeed now I know where to look the plugin appears to be unnecessary.
We’ve been chasing the wrong problem.
Yes, or at least I had us chasing the wrong problem.
Thanks for all your help in getting me educated and the problem solved.Forum: Fixing WordPress
In reply to: Template changes based on template code??Thanks:
1. I previously did some tests with removing the parent page but I went back and did it again. Made the url in the form of example.com/terms/?letter=A , changed the calling link and visited the permalink settings . Still rendered with the wrong template.
2. I changed the page slug from terms to “unique”, changed the calling link, visited permalink etc. Still rendered with page.php However, I’ll change the slug and page name to something less likely to cause a problem.
3. You can see this at book dot value-based-marketing.com/library/ Click on “find”, click on “Glossary list by letter”
4. I have established that if I change the contents of the custom field and change the calling link appropriately then it works. For example if I replace the letter A in the custom field with xyz and replace the variable on calling link xyz – then the page is rendered with the correct template.Forum: Fixing WordPress
In reply to: Template changes based on template code??thanks.
I changed the slug to ‘unique’ and updated the calling link. Visited permalinks settings.
Still get the same result page is rendered with page.php
Forum: Fixing WordPress
In reply to: Template changes based on template code??@s_ha_dum
Thanks again.
I’ve got a hint of the problem but I have no idea what the cause might be.
The calling url was written as ” ………../terms/?letter=A”
or “…../terms?letter=A”Now if I add a trailing slash to the calling url I get the correct template, thus
“…../terms?letter=A/”
Of course it doesn’t load any data since there are no matching terms for A/.
My next course of exploration is to see if there is the possibility that a similar call is being from elsewhere (where elsewhere means somewhere in the site that would use the page.php as opposed to the template I’m calling.)Most of the time when I make changes I’m visiting the permalinks page under settings.
You can see this result by going to: book dot value-based-marketing.com and clicking on the library tab, then select Glossary Terms By First Letter.
The letters A and C display with the correct template but no data.
Other letters such as S will display the correct data but rendered by the incorrect template.Scrolling to the bottom of the page will show the template that rendered the page.
Forum: Fixing WordPress
In reply to: Template changes based on template code??@s_ha_dum
Thanks for your response.
In answer to your question.
Page was created via the “add new” in the pages section of the admin.
Template is assigned as part of the page attributes
Page is assigned to a parent in the page attributesThe calling link is hard coded.
My assumption is that since I’ve “hard coded” this then my selections should override any automatic page/template selection.
Forum: Fixing WordPress
In reply to: Custom Taxonomy Terms Page Not Found@wpismypuppet
Thanks so much for your help.
Time is valuable and I appreciate you giving up some of your time to help.Forum: Fixing WordPress
In reply to: Custom Taxonomy Terms Page Not FoundIt appears that the source of the problem was adding the rewrites. These seem to be unnecessary for my purposes. Once removed everything appears to work as expected.
Turns out that this was a symptom not a cause. Deactivating the plugin was removing the problem so it appeared that the plugin was causing the problem – not so.
Forum: Fixing WordPress
In reply to: Custom Taxonomy Terms Page Not FoundUnfortunately not.
Changed the slug to “unique”, changed the calling link and revisited the permalink settings.Forum: Fixing WordPress
In reply to: Custom Taxonomy Terms Page Not Found@wpismypuppet
No. I just checked back to make sure.
Also one of the experiments I ran was to change the slug of the page “glossary-sections” to “section”. Then changed the calling link to match. Then visited the permalink settings.
That didn’t solve the problem, so it appears I don’t have any conflicting slugs.Forum: Fixing WordPress
In reply to: Custom Taxonomy Terms Page Not Found@wpismypuppet
Ah, that list didn’t come out as expected, hopefully this will displaypage Structure
- Library
- glossary-start-here
- glossary-sections
- taxonomy archive
Forum: Fixing WordPress
In reply to: Custom Taxonomy Terms Page Not Found@wpismypuppet
Apologies if my description is unclear, there are couple of modifications to your description. Hopefully this clarifies the description of my setup:Page Structure
Page: Library (contains a link to glossary-sections)
Page: glossary- start-here
Page: glossary-sections (List of taxonomy terms on this page)
Page: taxonomy archive listing glossary posts under the selected termForum: Fixing WordPress
In reply to: Custom Taxonomy Terms Page Not Found@wpismypuppet
Thanks for the suggestion. I’ve been trying that as part of my experimentation, however, it doesn’t solve the problem.
Forum: Plugins
In reply to: [Flip Pong V] [Plugin: Flip Pong V] Flipbook does not appearHi:
I’m having problems getting the plugin to display correctly.
The problem appears to be that when the page is rendered its not finding the template (single-flip_pong.php) for some reason. The page is being rendered with ‘page.php’ and so all I get is a list of images.
I have the template in a child theme for twentyeleven, but I’m assuming that can’t be the cause of the problem.
Things I’ve Tried
1. Copied the template from the installed version, created a new php file on the server and pasted in the contents.
2. Removed the first version of the template and replaced it by uploading the template that comes in the download package.
3. Deactivating and reactivating the plugin.Other Notes:
1. On the admin page the listing for “Flipbooks” shows a missing image. This seems to suggest that perhaps some css is not being found?
2. Looking at custom post types it appears that the custom post type for the plugin is being registered.Any suggestions on where else to look for solutions would be appreciated.
Thanks