Tagged: x
-
AuthorPosts
-
August 31, 2016 at 11:37 pm #1156294
Hi, Guys! I have quick question.
I just joined one of the affiliate program, and they ask me to following, but I am not sure how to do it.
“Copy the following meta tag and paste it into the home page of your website, in the <head> section and before the <body> section.
<meta name=’B-verify’ content=’85382952a60f5bb72953ec3bafa2a283e96ecf70′ />”So, should I copy “_header.php” from X-them(main) and pasted to child theme (exact path within your child theme), then insert above code between <head>and <body>?
Thank you!
September 1, 2016 at 12:09 am #1156322Hi there,
Thanks for writing in! Yes you can use /framework/views/global/_header.php in your Child Theme. Also a plugin like this (https://wordpress.org/plugins/add-meta-tags/) will do the the job.
Cheers!
September 30, 2016 at 10:38 pm #1198190Hello,
Unfortunately, it did not work. I might put wrong location. Here is my codes.<?php
// =============================================================================
// VIEWS/GLOBAL/_HEADER.PHP
// —————————————————————————–
// Declares the DOCTYPE for the site and includes the <head>.
// =============================================================================?>
<!DOCTYPE html>
<!–[if IE 9]><html class=”no-js ie9″ <?php language_attributes(); ?>><![endif]–>
<!–[if gt IE 9]><!–><html class=”no-js” <?php language_attributes(); ?>><!–<![endif]–><head>
<meta name=’B-verify’ content=’85382952a60f5bb72953ec3bafa2a283e96ecf70′ />
<?php wp_head(); ?>
</head><body <?php body_class(); ?>>
<?php do_action( ‘x_before_site_begin’ ); ?>
<div id=”top” class=”site”>
<?php do_action( ‘x_after_site_begin’ ); ?>
October 1, 2016 at 12:15 am #1198238Hello There,
Thanks for the updates! To assist you better with this issue, would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Meanwhile, you can use this custom code in your child theme’s functions.php file
function add_custom_meta(){ ?> <meta name="B-verify" content="85382952a60f5bb72953ec3bafa2a283e96ecf70" /> <?php } add_action('wp_header', 'add_custom_meta');
Please let us know how it goes.
October 17, 2016 at 9:49 pm #1220240This reply has been marked as private.October 18, 2016 at 1:18 am #1220374Hi,
I am getting a 403 forbidden error trying to access your site.
http://screencast.com/t/tUKf6IbUDt8H
Please check and let us know.
Thanks
October 18, 2016 at 9:13 pm #1221718This reply has been marked as private.October 19, 2016 at 2:28 am #1221935Hi,
I can see the code getting added in your site.
http://screencast.com/t/0hSIGm4TJ
Does it still doesn’t work?
Kindly verify the code again from your source.
Thanks
October 20, 2016 at 10:32 pm #1224899Hi, Finally it worked! Thank you very much!
I have another question. If I want to add more meta tag like above, should I use same code or should I insert different code?
For example,
function add_custom_meta(){ ?> <meta name="p:domain_verify" content="f0aab85784f1df86741eab5a58f45a59"/> <?php } add_action('wp_header', 'add_custom_meta');
October 21, 2016 at 1:06 am #1225010Hello There,
Thanks for the updates! If you want to add more meta tag, simply update the given code and use something like this;
function add_custom_meta(){ ?> <meta name="p:domain_verify" content="f0aab85784f1df86741eab5a58f45a59"/> <!-- more meta tag here --> <!-- more meta tag here --> <!-- more meta tag here --> <!-- more meta tag here --> <?php } add_action('wp_header', 'add_custom_meta');
Hope this helps.
October 23, 2016 at 9:11 pm #1227789It works!!
Thank you guys!October 23, 2016 at 11:27 pm #1227863You’re welcome!
-
AuthorPosts