• Hi,

    I have added plugin “Category Tag Pages” to be able to also add tags to pages.

    When using option “On single post display->Tags from the shown post” with “Cool Tag Cloud” it does not show only the tags of the current page. Reason: this functionality only works with posts, but not with pages.

    I fixed this manually by editing the code like shown below

    
    if ( $l_tag_params['on_single_display'] == 'local' && (is_singular( 'post' ) ||  is_singular( 'page' ))) {
    			$tag_ids = wp_get_post_tags( get_the_ID(), array( 'fields' => 'ids' ) );
    			$l_tag_params['include'] = $tag_ids;
    		}
    

    Could you consider introducing this functionality in future versions?

    Thanks and best regards
    jambcoding

Viewing 1 replies (of 1 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi,

    Of course, we’ll update the plugin in a couple days to include that. Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Make “On single post display->Tags from the shown post” also work for pages’ is closed to new replies.