• Resolved José Leonardo

    (@joseleonardo)


    Hi,

    what exactly I have to do to make Yoast to show article:tag tags?

    I’ve checked the code:

    public function tags() { 
          if ( ! is_singular() ) { 
              return false; 
          } 
     
          $tags = get_the_tags(); 
          if ( ! is_wp_error( $tags ) && ( is_array( $tags ) && $tags !== array() ) ) { 
     
              foreach ( $tags as $tag ) { 
                  $this->og_tag( 'article:tag', $tag->name ); 
              } 
     
              return true; 
          } 
     
          return false; 
      } 

    and I noticed it is taking tags from the post and not from any other settings, but my post is tagged and I can’t see any article:tag for my articles…

    What am I doing wrong?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    As much as we hate to say it, your question goes beyond the technical expertise of me and my colleagues on the Yoast support team. This means we can’t give you a solid answer to your question.

    But we don’t want to leave you empty-handed either, that’s why we’ve created our developer portal at developer.yoast.com. This has proven to be useful to many developers in the past and hopefully will serve you well too.

    Sorry, we can’t be of more help here.

    Thread Starter José Leonardo

    (@joseleonardo)

    Hi,

    actually, it’s not a technical question.

    I just wanted to know it the plugin provides support to meta tag article:tag because it seems that is does (because it is on the code provided above) but for some reason all meta is been showed, but these specific ones are not I don’t know if I am doing something wrong or if I need to enable anything or if it is a premium feature

    Regards

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @joseleonardo

    Upon checking the changelog of the Yoast SEO plugin, in v14.0, we removed the article:tag and article:section meta tags as none of the Open Graph consumers seems to use it.

    So we are no longer outputting these tags. If you want to modify the default output of our plugin, we would like to refer you to our developer portal – https://developer.yoast.com/customization/apis/overview

    Thread Starter José Leonardo

    (@joseleonardo)

    Hi, thank you very much for the answer.

    Regards,
    Leonardo

    Plugin Support devnihil

    (@devnihil)

    @joseleonardo You’re welcome. I f you should need any further assistance, please do not hesitate to let us know.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘article:tag’ is closed to new replies.