• Resolved roman10

    (@roman10)


    I’m using the OnePress theme and am trying to edit the footer to delete/change the credits “OnePress theme by FameThemes” I looked in many files but can’t seem to be able to find the right text. Someone Pls Help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You need to remove the following code from footer.php file to do that:

    <?php
        /**
        * hooked onepress_footer_site_info
        * @see onepress_footer_site_info
        */
        do_action('onepress_footer_site_info');
    ?>

    Hope it works. ??

    Thread Starter roman10

    (@roman10)

    Thank You, the text was removed. How would I write some footer text for myself? Such as a copyright statement?

    You can remove it with the following:

    <?php printf(esc_html__('Copyright %1$s %2$s %3$s', 'onepress'), '&copy;', esc_attr(date('Y')), esc_attr(get_bloginfo())); ?>

    It’s the short way to do it. I will recommend you the buy the paid version if you wanna contribute back to the development of the theme, but that’s just if you have extra bucks. Hope it works. ??

    Thread Starter roman10

    (@roman10)

    Thank You a Lot! It all worked!

    Get to know. ??

    Hei

    Thanks for great tips. All works well ??
    Do you maybe know how to input an additional statement to the footer: Created by MediaThor (with link under MediaThor to https://www.mediathor.eu )? ??

    Thread Starter roman10

    (@roman10)

    For OnePress, their hooked content is in a template-tags.php file, where you can edit the footer text. It is in the Inc folder. Are you asking about OnePress or another theme?

    Please create a new thread for your question, as per Forum guidelines. ??

    roman10 – thanks – I did what I needed ??
    Yes – it’s all about OnePress

    roman10

    … For OnePress, their hooked content is in a template-tags.php file, where you can edit the footer text …

    Can you please explain where and how can I add my statements in this template-tags.php file?

    It worked just fine!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Change Footer Text That Isn't On Footer.php’ is closed to new replies.