• Hello, i am using ACF (Advanced Custom Fields) plugin to create 1 custom field whit 2 variables.

    Tag -> subject (my custom field) -> “book” “author” (my 2 variables)
    All my tags has one or another variable.

    This code works and displays all tag whit custom field variable “book”:

    $tags = get_tags( array('meta_key'  => 'subject', 'meta_value'  => 'book') );
    foreach( $tags as $tag ) {
    echo $tag->name;
    }

    any chance to combine output whit get_the_a_z_listing(); ?

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Tag meta_key/meta_value (custom field)’ is closed to new replies.