badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

ptp

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Child theme #24747
    ptp
    Participant

    As I said, I’ve already fixed the issue without having to unhook the whole loop.

    in reply to: Child theme #24720
    ptp
    Participant

    Hi,

    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
    Paul

    in reply to: Child theme #24672
    ptp
    Participant

    Hi,

    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

Viewing 3 posts - 1 through 3 (of 3 total)