WordPress.org

Forums

Social Likes
Does not work with Custom post type (1 post)

  1. sadstone
    Member
    Posted 1 year ago #

    Hi,
    i have a custom post type "product" and i've already used this fix
    Go to the 292 line of wp-social-likes.php and change parameter 'post_type'
    For example, I use 2 custom post types:
    $args = array('numberposts' => -1, 'post_type' => array('appartments','districts'), 'post_status' => 'any');

    But it doesnot work anyway.
    What to do ?

    Check this for example http://auto-diag.ru/product/%D0%B0%D0%B2%D1%82%D0%BE%D1%81%D0%BA%D0%B0%D0%BD%D0%B5%D1%80-multi-diag-j2534-pass-thru-device/

    https://wordpress.org/plugins/wp-social-likes/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags