-
AuthorPosts
-
December 19, 2016 at 11:19 am #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
December 20, 2016 at 2:55 pm #726567Why nobody answer my questions?
December 21, 2016 at 7:11 pm #727234Hi,
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,
YigitDecember 22, 2016 at 8:30 am #727432Hi 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
December 22, 2016 at 3:31 pm #727548Hi,
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,
YigitDecember 23, 2016 at 4:47 am #727802Thank you, I already add the code in the php file, hope it works!
Kind regards
Eric
December 25, 2016 at 7:37 am #728183 -
AuthorPosts
- You must be logged in to reply to this topic.
