drweb3110
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Linking to wp list categoriesI know category templates aren’t applied like pages. And thank you everyone for helping with this.
OK I have created a category template fine.
I now want to put a link using a text widget in to my side bar so when viewers click on it they will see the content generated by the category template.Hope this now makes sense.
Forum: Themes and Templates
In reply to: Linking to wp list categoriesThank you so much again …. what link code do I use to call the category template and display the results? https://mysite.com/?????.php
Forum: Themes and Templates
In reply to: Linking to wp list categoriesThank you once again – I have created that category template. All I want to do is place a link on a page that goes to the category template – I cant work out what the link is.
Forum: Themes and Templates
In reply to: Linking to wp list categoriesYeh I have a page template with the code in and it does what I want it too. What I thought is I could save it as a category template and call it from a link but perhaps not?
Thank you for your help I’ll take a look at the articles you have posted
Forum: Themes and Templates
In reply to: Linking to wp list categoriesHi I didnt think I made myself too clear – sorry. I want to put a html link in a menu bar or a page that points to a list of categories and there child categories. All I need to understand is what the link would be.
In other words I can create the query but dont know how to call address it in a link.
Thank you for your help though
Forum: Fixing WordPress
In reply to: sort post by custom field for current category onlyThanks for that but it will return the same results.
I’ll try and describe this better – what I want is one category template (cat id 3) that I can then use by altering my functions.php to allow all the children to inherit that template – so from the outline below cats 11 and 12 would use the cat 3 template
Category
> Counties (Cat id 3)
> Devon (Cat id 11)
> Cornwall (Cat id 12)This works fine and will display only the posts from the child category using the cat 3 template – no problems. and I pull the posts by using the following simple piece of code –
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
No what I’ve been trying to do is sort each of child category posts by town which is stored in a custom field by using this piece of code before the loop –
<?php query_posts(‘meta_key=Town/City&orderby=meta_value&order=asc’); ?>
This works fine for the parent category which shows all posts grouped by town alphabetically. However when I click on the child category it again shows all the posts from every county listed just like it did when you click the parent category.
I think what I need is a statement that says if you are not in cat 3 then only show the posts from the child category you are in and then sort my custom field town.
I may be asking too much here because of the inherit function – so I may have to bite the bullet and not inherit category templates and have a individual on for each child category. Which works how I want it too but I could end up having to create a few hundred, if I needed to make a styling change I’d have to then change every single child category template.
Hope someone can understand and help.
Forum: Fixing WordPress
In reply to: Search blog for post IDHiya thanks for that – but it doesn’t serve the purpose required. I was looking for a way of a reader being able to search for specific post id. The reason being is that I use post id’s in the post as a unique identifier however a couple of people have stated that they tried to search fo say post 103 in the search function but the search didn’t return any results? Seems odd that post id’s can be used in the them and in admin but a reader can’t actually use them to search.
Would be really useful if someone knew how to make this happen, I’ve tried numerous plugins for search but to no avail.
Forum: Alpha/Beta/RC
In reply to: 2.7 RC1 Crashes FirefoxJust been through every Firefox add on and I’ve fixed my issue by disabling Google Gears. The whole systems works fine. Thought it may help someone
Forum: Alpha/Beta/RC
In reply to: 2.7 RC1 Crashes FirefoxI’ve started getting routine crashes when I try and install a plugin or upload images it seems to be when the lightbox type effect kicks in, the bit where the screen goes opaque just before the window pops up. If you catch my drift. Strange I have a number of blogs and only this 2.7.1 does this. But it works fine in IE7???
But strangly lightbox2 works fine to view pictures in Firefox 3.0.10 and in IE7
Forum: Themes and Templates
In reply to: Template Design on a Live SiteUpdate on this – Theme Test Drive is superb does exactly what it says on the tin.
Forum: Themes and Templates
In reply to: Template Design on a Live SiteThanks for your help on this – I’ve found a perfect solution obvious really but didn’t know such a thing existed. I’ve started using Theme Test Drive.
Looks superb and does exactly what I need.
Thanks again
Forum: Themes and Templates
In reply to: Template Design on a Live SiteIt really doesn’t work at all – all the paths default back to the original site so you can’t even easily login, plus you have to disable the plugins to get it to work because of the paths again I figure.
Thanks for your help anyway
Forum: Themes and Templates
In reply to: Template Design on a Live SiteGonna give that a go.
But it still would be really useful if you could do it easier than that – dunno like a back office sandbox mode or something.
Thank you for your help though
Forum: Themes and Templates
In reply to: Template Design on a Live Sitethanks for that – I need a copy because there’s quite a few plugins on the site and about 700 or show different sized pictures.