Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #868127

    Hi Guys

    Attempting to use this code

    add_filter( 'kriesi_backlink', 'my_custom_copyright');
    
    function my_custom_copyright ($content)
    {
    return "";
    }

    To write a customer function to edit the kriesi credits… Doesn’t appear to work any ideas why? I am placing this inside my child theme functions file

    #868551

    Hey codecreative,

    If you want to remove the backlink then you can use this in the copyright field:

    [nolink]

    You can add your own content before or after it.

    Best regards,
    Rikard

    #868555

    Hi
    Thanks for response. But I want to do this via functions file as I want to make use of some php functionality

    Can you be kind enough to provide on why this php provided in my original post above is failing ?

    Then I can use the php echo admin URL function to generate an admin link that auto updates as a site moved from a development link to live link.

    And if I have third party access provided on user restricted roles they can not edit as easily

    #868813

    Hi codecreative,

    The code should be working. Try adding higher priority to the filter.

    Best regards,
    Victoria

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.