• I’ve created a post of a custom post type. When I try to check the social image created by this plugin (at the usual place, /{post slug}/social-image.jpg), I get redirected to the post.

    Is Branded Social Images intended to work with custom post types?

    • This topic was modified 2 years, 12 months ago by marashmallow.
    • This topic was modified 2 years, 12 months ago by marashmallow.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @marashmallow

    Yes, BSI is supposed to work with any post type.

    Can you go to a problem post and check if the social-image.jpg endpoint is advertised in the HTML (as in; the og:image meta is in the output)

    Then, please check the output given by the social-image.jpg url appended with ?debug=BSI
    If this url also redirects you, please try ?bsi_img=1 instead of /social-image.jpg/ and see what that does.
    so the image should be working on /some-post-url/?bsi_img=1
    and the debug output should be visible on /some-post-url/?bsi_img=1&debug=BSI

    if it is in the HTML output, but does not work, but the ?bsi_img=1 does work, then simply re-saving the permalink settings should fix it.
    Otherwise I am very interested in reading the debug output.

    Thread Starter marashmallow

    (@marashmallow)

    Thank you for your response.

    The debugging instructions you provided showed that the image is created correctly, but not accessible at its native location of /{post-slug}/social-image.jpg (instead, a redirect occurs to the post itself)

    I have identified that the problem is the result of a clash with plugin Permalink Manager.

    I am using this plugin to rewrite the “natural” slug of the CPT post, which is usually in the form /{cpt slug}/{title slug}, to /{title slug}, that is, removing the CPT slug base.

    When I disable Permalinks Manager, BSI does show the image correctly at /{cpt slug}/{post-slug}/social-image.jpg.

    Is this something you would consider looking into?

    • This reply was modified 2 years, 11 months ago by marashmallow.

    Same exact issue here, any workaround or know solution ?

    Plugin Author Acato

    (@acato)

    @marashmallow @jigglypuffz

    It’s been a while.

    The company that created this plugin is no longer active, we’ve acquired the source and are trying to catch up.

    On Github you will find a version 2.0.0 branch that holds the next version of this plugin, which should solve the custom posttype issues, as well as social image for categories and now also includes a fix for Permalink Manager incompatibility.

    I hope you can try it out, but please be aware that large portions of the code have been rewritten, keeping backward compatibility in mind, but we cannot at this time guarantee it will work flawlessly.

    If you are willing to be a beta-tester, please find it here; https://github.com/acato-plugins/branded-social-images/tree/version-2.0.0

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Does BSI work with custom post types?’ is closed to new replies.