Okay
  Public Ticket #4073102
I need to remove the full stop that is added afyer the site name in the generated footer copyright details
Open

Comments

  •  16
    Jen started the conversation

    Our footer text is quite long but its a sentence. The ful stop is generated after the site name and date. I need to remove it.


    ie

    © 2025 Country Education Foundation of Australia (CEF). is a registered charity with the Australian Charities and Not-for-profits Commission (ACNC). Eligible tax-deductible donations have Deductible Gift Recipient (DGR1) status with the Australian Tax Office | ABN: 60103889452 | Privacy Policy | Legals | Policies | site by boxercox | All Rights Reserved

  •  301
    Noah replied

    Hi Jen,

    Thank you for getting back.

    Since this this a dynamic feature that can be generated in a couple of ways, do you mind sharing the approach you used to generate it to enable us give a specific solution.

     

    Thanks,

  •  16
    Jen replied

    I have used the automatic copyright and then followed by html text in the footer copyright section

    (see the screen shot)

    Its just that YOUR automatic code adds a full point after © {YEAR} {SITENAME}

    I would disable this but then we have to manually update the © {YEAR} every year.

    I tried adding this merge tag to the footer copyright but the tag doesn't work. so for now I have disabled this and have manually added the date to tide me over.

    Attached files:  Screenshot 2025-06-15 at 8.47.24 AM.png

  •  3,223
    Andrew replied

    Hi Jen,

    Thank you for getting back to us.

    I can see that the full stop has been removed from the footer copyright section. Here's a screengrab of what I'm seeing on my end.2915022620.png

    Please confirm that you see the same from your end.

    We look forward to your reply.

    Thanks,

  •  16
    Jen replied

    Andrew

    As mentioned in my response below I have done this manually.

    I have TURNED OFF the automatic copyright so my client is happy that there is no full point.

    I tried using just the date merge code in my manual copyright html but that didn't work - it just displayed the merge.

    so, NO, Its not fixed. Its a manual override for now.

    I need to get from you something to stop the site name from adding a full point that I don't want. Ideally I do want to use the auto © {YEAR} {SITENAME} so that i don't have to manually update the year every year.

  •  3,223
    Andrew replied

    Hi Jen,

    Thank you for getting back to us.

    You can remove the full stop by editing the footer.php file in the theme files. You can find it in this location: \salient\nectar\helpers\footer.php.2695377719.png

    Alternatively, you can copy this file and add the contents in the functions.php file in your child theme and remove the full stop from there.

    I hope that helps.

    Cheers,

  •  16
    Jen replied

    Thankyou Andrew

    to ensure that its not overwritten in any theme updates are you able to copy the code that needs pasting into my child theme here for me? ( with the full point code removed)

  •  9,298
    Tahir replied

    Hey Again,

    Thanks for reaching out! .

    Add this to your child theme functions.php file and it should remove the dot. 

    function custom_salient_copyright_text_no_dot($copyright_text) {
        return str_replace('. ', '', $copyright_text);
    }
    add_filter('salient_default_copyright_text', 'custom_salient_copyright_text_no_dot');

    Best,

     


    ThemeNectar Support Team