Forum Replies Created
-
AuthorPosts
-
dompalmer
MemberThanks Brad - I haven't tried it yet but I think you've found the issue
I got the page working using a workaround. I selected the blog template file and added
query_args: cat=1 into the custom fields
this did the trick in the short term - Many thanks again for your help with this one
dompalmer
MemberStill no joy 🙁 I turned them all off but the problem persisted.
I must've messed with something here but can't think what.
Do you think an alternative might be just to set up a new page template to only feed the one category? Seems a bit drastic but...
dompalmer
MemberThe option there is set to 'news' also. It doesn't have any effect on the filter regardless of what I set it to unfortunately
dompalmer
MemberWell spotted and thanks again for your persistence... however it still hasn't done it. All categories still displaying.
Could I have altered something else that has had a knock on effect? There's every possibility I've edited something without realising...
Many thanks
dompalmer
Memberhaha! Ok I now understand...
I've added your code but am having now luck again I'm afraid - All categories are still displaying http://arete.dominicpalmer.co.uk/latest-news/
Just to clarify. The category I want to exclusively display is '2' so I have adapted the code here
Am I missing something??
Many thanks again
dompalmer
MemberPlease ignore this - I may have solved my own problem. I setup a new template file and activated it in WordPress. Then copied the code in. Somehow that worked!
dompalmer
MemberThanks for the swift response Brad. I'm afraid it didn't work however. I placed the code into the functions.php file and changed the category from '-007' to '-002' (as my blog category that I want to keep is has the ID of 2) but the page is still displaying all of them.
Any other thoughts at all would be much appreciated
Many thanks
-
AuthorPosts