How can i show small share buttons on homepage and large on content?

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

Status: resolved

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #5405

      Hi Maxxi,

      Code didn`t work corretly. It show small share buttons on homepage but it also show small on content page. I choose large on theme options. Large buttons turned to small.

      add_filter( 'yt_before_return_theme_options_data', 'change_my_post_metainfo_for_specific_pages11242014', 10 );
      
      function change_my_post_metainfo_for_specific_pages11242014( $data){
      
      	if( !is_single() ){
      		$data['blog_post_meta_info_mode'] = 'small';
      	}
      
      	return $data;
      
      }

      I also tried “is_home()” and “is_front_page()”. It didn`t work as i wish.

      How can i show share buttons on homepage as Style 1(small) and on content as Style 2(large) ?

      Thanks

    • #5413

      Here is your answer

      🙂

    • #5414

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #5417

      Thanks Carlos. I looked older topics quickly. Sorry for my sloth 🙂

Viewing 3 reply threads
  • You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

© Copyright 2020 by wpthms.com. All Rights Reserved.