Home Forums Themes Support Claue About meta tag in head

Topic Resolution: Resolved
Viewing 9 reply threads
  • Author
    Posts
    • #7012

      Hi. I am using your theme.

      Are there some code about meta tag(og:title, og:url, og:image) in Claue theme? This meta tag makes my site trouble.
      1. Search optimization problem : It shows no site-title in search-engine.
      2. Important plugin error: This plugin(main function of my site) make meta tag(og:title, og:url, og:image, etc). but other meta tag make confusing all meta tag. This makes some errors.

      I changed to another theme. These other meta tag don’t appear.

      So, Are there some code about meta tag (og:title, og:url, og:image etc) in Clue theme?

      Thank you.

    • #7013

      Hi,

      Yes, our theme include some meta tag for product social share.

      You can add below code to functions.php in claue-child

      <iframe src=”https://pastebin.com/embed_iframe/FwPS180f&#8221; style=”border:none;width:100%”></iframe>

      or use Yoast Seo Plugin to remove exist.

      Best regards

       

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #7111

      Thank you for your reply.

      The iframe code above  you wrote, is that right in function.php of child theme? iframe tag do work in fuction.php??

       

      Can you tell me where those code(about meta tag) is?

    • #7117

      Sorry i attach wrong please add code here

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #7118

      I added those codes in function.php of childtheme. But it doesn’t work. I deleted all caches and same.

      Can you check action name for me?

    • #7129

      Sorry because inconvenience.

      You change prev code to

      function jas_claue_social_meta() {
      	return;
      }

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

      • #7195

        You mean, I should add below codes in function.php in childtheme?

         

         

        add_action( ‘wp_head’, ‘remove_my_action’ );
        function remove_my_action(){
        remove_action( ‘wp_head’, ‘jas_claue_social_meta’ );
        function jas_claue_social_meta() {
        return;
        }
        }

        ?? ( this makes error..)

        What does it mean “change prev code”??

         

         

    • #7203

      Hi,

      I mean replace prev code

      to

      function jas_claue_social_meta() {
      	return;
      }

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #7287

      Thanks for your reply. That code works.

      In fact, I need that code in a front-page and specific page(page-id=’1111′): I don’t need meta-tag that is produced by Claue theme in front-page and specific page. So I edited above code like this. But, it doesn’t work. can you help me?

      function my_meta_delete(){
      global $post;
      if(is_home() || $post->ID == ‘1111’){
      function jas_claue_social_meta() {
      return;
      }
      }
      }
      my_meta_delete();

    • #7303

      Hi,
      Please use this code instead

    • #7379

      Wow. I really thank you. Have a good day.

Viewing 9 reply threads

You must be logged in to reply to this topic.