Viewing 5 replies - 1 through 5 (of 5 total)
  • I have this problem too. Is there at least a manual function that I can put in my functions.php file?

    In a previous post the creator pointed to this tweet:
    https://twitter.com/ganee/status/228050590675107840

    Unfortunately there’s not enought information for me (non-programmer) to use it. The function mentioned is part of getsocial.php, but I have no idea how to actually change the function.

    Maybe someone can help. ??

    Quick solution to use it on every post type.
    Open getsocial.php and change line 177
    from

    if (is_single() && ( $post_type == 'post' ) && get_option('getsocial_show_on_posts') == "true" && $hide_box_value != "true" ) return true;

    to

    if (is_single() /*&& ( $post_type == 'post' )*/ && get_option('getsocial_show_on_posts') == "true" && $hide_box_value != "true" ) return true;

    You could always make an array of allowed post types and use that on that line, but for a quick solution it works. Let me know if you need help setting it up only for some post types.

    How do you open getsocial.php?

    I’m a beginner. Somewhat familiar with my site and files.

    Found it.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Compatible with Custom Post Types?’ is closed to new replies.