Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #725980

    As described, which codes should I add to achieve that result?
    I search the old threads and found something I need for the post tile, but it failed for the thumbnail, can you help me?

    function add_custom_tooltip(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('.av-magazine-title a ').attr('target','_blank');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_tooltip');

    Thank you in advance.

    Eric

    #726567

    Why nobody answer my questions?

    #727234

    Hi,

    Please change your code to following one

    function add_custom_tooltip(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('.av-magazine a ').attr('target','_blank');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_tooltip');

    Best regards,
    Yigit

    #727432

    Hi Yigit,

    Thank you so much.

    I have another question, that my website is not open to Google index, but I found there is one page can not be indexed, the warning is because of the robots.txt, can you please check my robots text and resolve the problem?

    
    User-agent: *
    Disallow: /wp-admin/
    Disallow: /wp-content/cache/
    Disallow: /wp-content/languages/
    Disallow: /wp-content/plugins/
    Disallow: /wp-content/themes/
    Disallow: /wp-content/upgrade/
    Disallow: /wp-includes/
    Disallow: /comments/
    Disallow: /tag/
    Disallow: /feed/
    Disallow: /trackback/
    Disallow: /thank-you/
    

    Look forward to your help!

    Thank you

    Eric

    #727548

    Hi,

    Please try adding following code to Functions.php file in Appearance > Editor

    add_filter('avf_set_follow','avia_set_nofollow');
    function avia_set_nofollow(){
    if(is_page(1195)){
    $meta = '<meta name="robots" content="noodp"/>';
    }
    return $meta;
    }

    Best regards,
    Yigit

    #727802

    Thank you, I already add the code in the php file, hope it works!

    Kind regards

    Eric

    #728183

    Hi Eric,

    Ok, thanks for the feedback. Let us know if you should need any further help on the topic.

    Happy holidays :-)

    Best regards,
    Rikard

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