• Resolved abdullahkus

    (@abdullahkus)


    Hello,
    1-as I mentioned in the link, the images do not appear in the posts, what can be the reason?
    2-Do I have a chance to show woocommercede shared products in posts?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @abdullahkus

    1. Try adding this code snippet to your theme’s functions.php file or use the Code Snippet plugin to run this code:
    add_filter("um_restrict_post_thumbnail","__return_true");

    The above code will display the thumbnail of a restricted post.

    2. You can use this filter hook to modify the post query:
    um_profile_query_make_posts
    Example usage:

    add_filter("um_profile_query_make_posts","um_061221_query_make_posts");
    function um_061221_query_make_posts( $args ){
    
        $args['post_type'] = ['post','products'];
    
        return $args;
    }

    For more details about the WP_Query, please see this documentation: https://developer.ww.wp.xz.cn/reference/classes/wp_query/

    Regards,

    Thread Starter abdullahkus

    (@abdullahkus)

    Hello,
    if you check through the link I mentioned at the bottom, pictures cannot be taken in the profile -> posts section in the plugin.
    https://www.kebivet.com/user/abdullah/?profiletab=posts

    I also added a code fragment to the functions file, but it didn’t help.
    add_filter(“um_restrict_post_thumbnail”,”__return_true”);

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @abdullahkus

    Could you please tell us what version of UM you’re using on your site? the current version is 2.1.20

    Regards,

    Thread Starter abdullahkus

    (@abdullahkus)

    benim kullandığım sürümde 2.1.20.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi,

    This may be because of a plugin/theme conflict. Can you do a conflict test and see if the issue goes away? This doc explains how to do a conflict test if you are not sure: How to do a plugin/theme conflict test?

    Regards,

    Thread Starter abdullahkus

    (@abdullahkus)

    I’ve tried, but I don’t think it’s caused by conflict, the only problem is that the picture wasn’t taken with the “src” tag.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @abdullahkus

    I couldn’t reproduce the issue on our end. Here’s a screenshot:
    https://drive.google.com/file/d/1R3bk6D0PaZkFluyprMi2ssvzaeCZe-r2/view?usp=sharing

    Did you try using a default WP theme such as 2020 or 2021 to see if the issue still occurs, and see if this is a conflict with your theme?

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @abdullahkus

    …Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂

    Regards,

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘[NSFW] Profile – > posts section does not show text images’ is closed to new replies.