Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1079202

    Hey guys — is there a way for me to redirect the logo to go to a different url (not the theme home page)?

    please let me know!

    #1079240

    Hey creatiffco,

    Please refer to the following:

    https://kriesi.at/support/topic/ (Purchase code hidden if logged out) -destination-url/#post-765873

    Best regards,
    Jordan Shannon

    #1079264

    Hey Jordan, I saw that post! But It looks like there was several solutions. Should I just try the functions.php one?

    #1079281

    Hi,

    Yes the solution I linked directly to.

    Best regards,
    Jordan Shannon

    #1079495

    Hey I tried this to my functions.php file but i was getting an error. please help. I was adding it at line 747

    add_filter(‘avf_logo_link’,’av_change_logo_link’);
    function av_change_logo_link($link)
    {
    $link = “http://kriesi.at”;
    return $link;
    }

    Error message: “Scrape nonce check failed. Please try again.”

    #1079660

    Hi creatiffco,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1079696

    Sure! Log in credentials are below.

    #1080245

    Hi creatiffco,

    Thank you. Have you tried the solution posted here?
    https://kriesi.at/support/topic/ (Purchase code hidden if logged out) -destination-url/

    And the code from the prev reply should be added around line 18 in functions.php. Even better it has to be in the child theme.

    Best regards,
    Victoria

    #1083673

    I tried to add this:

    function change_logo_link(){
    ?>
    <script type=”text/javascript”>
    (function($){
    function change_logo_link() {
    jQuery(“#header_main”).find(“.logo a”).attr(“href”, “http://www.google.com/”);
    }

    change_logo_link();
    })(jQuery);
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘change_logo_link’);t


    but I got this error message:
    “Scrape nonce check failed. Please try again.”

    help!

    #1084280

    Hi creatiffco,

    This code looks very incorrect:

    
    function change_logo_link(){
    ?>
    <script type=”text/javascript”>
    (function($){
    function change_logo_link() {
    jQuery(“#header_main”).find(“.logo a”).attr(“href”, “http://www.google.com/”);
    }
    change_logo_link();
    })(jQuery);
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘change_logo_link’);t
    

    Please try this code:

    
    function change_logo_link(){
    ?>
    <script type="text/javascript">
    	jQuery(window).load(function($){
    		$("#header_main").find(".logo a").attr("href", "http://www.google.com/");
    
    	}(jQuery));
    </script>
    <?php 
    }
    add_action('wp_footer', 'change_logo_link');
    

    Best regards,
    Victoria

    #1084297

    I added that new code – at the bottom of functions.php but it’s not working.

    I still get this: Scrape nonce check failed. Please try again.

    So sorry! I’m not trying to be confusing. You have admin access, feel free to log in to try. we want the logo to be directed back to the url in the private content below.

    #1084306

    Hi,

    I am not sure why overwriting files in editor is not working but i think it may be related to your server settings.

    Please try going to /wp-content/themes/enfold/functions.php and add following code to the bottom of the file

    // Change Logo link
    add_filter('avf_logo_link','av_change_logo_link');
    function av_change_logo_link($link)
    {
            $link = "https://kriesi.at";
        return $link; 
    }

    If you would like us to do it for you, please post FTP logins here privately as well.

    Regards,
    Yigit

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

You must be logged in to reply to this topic.