• Creator
    Topic
  • #25059

    David Herbert
    Participant
    Been thanked: 0 times

    Using Alora (v-2.7.1) and need more that one custom icon in the social header.

    I copied framework/class-social-icons.php in to the child theme folder, but modifications are not reflected on the site.

    I even put the altered render_social_icons() function in the child’s functions.php. Still no success.

    How do I get my altered render_social_icons() function into my child theme?

Viewing 3 replies - 1 through 3 (of 3 total)
Replies
  • Denzel Chia
    Moderator
    Post count: 2845
    Been thanked: 91 times
    #25074 |

    Hi,

    Only template part can be override.
    That’s a function file.
    Copying over it to child theme will not work.
    You have to modify the code within the theme.

    We do not provide support for modifying theme codes, Please hire a WordPress developer to assist in your customization.

    Thank you.

    David Herbert
    Participant
    Post count: 4
    Been thanked: 0 times
    #25107 |

    I merely asked a question based upon the comments in the module:
    * WARNING: This file is part of the T4P Core Framework.
    * Do not edit the core files.
    * Add any modifications necessary under a child theme.

    It implies that one can copy the folder/file over to the child folder then modify the file for my needs.

    Your entire last sentence of your response should have been dropped.

    Not good customer support to call your clients incompetent.

    Denzel Chia
    Moderator
    Post count: 2845
    Been thanked: 91 times
    #25108 |

    Hi,

    I did not call you incompetent, I suggest you to hire a competent developer.
    I have edited my previous reply, since it upsets you.

    As for the following

    * WARNING: This file is part of the T4P Core Framework.
    * Do not edit the core files.
    * Add any modifications necessary under a child theme.

    I suggest you to modify the function file, because I think it’s easier for you.

    If you want to do the correct way. You can copy the footer.php template into your child theme. In your child theme functions.php, write your own class or function to produce the social icons ( You can copy from the original class, rename it and modify it’s content ), then edit footer.php to call your class or function.

    Sorry, that’s all the information I can provide for this issue.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.