Forum Replies Created
-
AuthorPosts
-
ptpParticipant
As I said, I’ve already fixed the issue without having to unhook the whole loop.
ptpParticipantHi,
If you read what I said in my original post you’ll see that i do have a child theme but your theme doesn’t seem to support a child theme the way WordPress.org recommends. I should be able to copy the directory structure from the parent theme into the child theme then edit the file I want and it should over ride the same file in the parent theme. I can’t do this with your theme.
I haven’t asked you to provide the full code but I can’t find any hook reference for the theme anywhere, so all I can do is pick through the theme code or ask. I thought asking would be quicker but actually I’ve fixed it by picking through the code.
I’ve fixed the problem by copying the function that needs changing into the child theme’s functions.php and editing the bit I need changing. It over rides the function of the same name in the parent theme as you have coded the functions so this happens.
So no hooks needed which is good as I couldn’t use a hook to do this without copying virtually the whole content-extensions.php file into the child theme functions.php due to the way it has been coded.
I’m working on a customer’s site who has the pro theme installed, I’ve told them that support isn’t very good.
Thanks
PaulptpParticipantHi,
I was hoping you could be more specific about this than just giving examples.
It looks like I’m going to have to unhook the whole “interface_theloop” from “inteface_loop_content”, then duplicate it (giving it a different name) and duplicate all the functions it calls in the child theme functions.php before adding the new function back in as the called functions don’t seem unhookable. That seems a bit drastic.
At the minimum I’m going to have to duplicate “interface_theloop_for_archive” and change one line, hopefully this will over ride the function in the parent theme.
Seems a lot of work just to get the content displaying instead of the excerpt.
Thanks
Paul -
AuthorPosts