• Resolved Giuseppe Milo

    (@pixael)


    Hi
    I have filters firing on both the title and the content but your plugin doesn’t apply the_title and the_content filters. Is there a way to do that? Do you provide an hook to apply filters to both title and content for the posts to be shared?

    Thanks,
    Regards.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Blog2Social-Support

    (@blog2socialsupport)

    Hello,

    Thank you for reaching out.

    May I ask you if you have edited your post templates in Blog2Social?
    The following guide shows you exactly:
    How to use post templates for social media posts?

    Of course, Blog2Social also provides hooks which can be implemented in your post templates afterwards. Please be so kind as to check the following tutorial:
    Blog2Social Hooks: Filters & Actions

    I’m looking forward to your reply.

    Thread Starter Giuseppe Milo

    (@pixael)

    Hi there,

    Yes, I have edited the post template and checked the hooks you provide, but none of them allow me to apply filters to the title and content.

    Plugin Support Blog2Social-Support

    (@blog2socialsupport)

    Hello,

    Thanks for your reply.

    Are you facing this behavior for each of your connected networks?
    Please be so kind as to send me a screenshot of your post templates where you are facing issues with your title and content.

    I’m looking forward to your reply.

    Thread Starter Giuseppe Milo

    (@pixael)

    Hi, yes it happens on all the connected network. I use placeholders in the titles and content so I can change it dynamically.

    So for example, a title could be:
    3 best %devices for programming
    So %devices is changed in the the_title filter. But you will skip those filters so the plugin will share the title with the placeholder instead of the value…

    Plugin Support Blog2Social-Support

    (@blog2socialsupport)

    Hello,

    Thanks for your feedback.

    Please be so kind as to send me the text-file of your Troubleshooting-Tool in Blog2Social. This tool shows you conflicts, for example, with other plugins which could cause issues.
    How to check your blog settings with the Troubleshooting-Tool

    Due to privacy reasons please send this text-file via support ticket on our website by using the following link:
    https://service.blog2social.com/en/question?o=faq

    Thread Starter Giuseppe Milo

    (@pixael)

    Hi it’s not really an issue with plugins… I’ve seen your code and you don’t apply the filters before sharing the content. I’ve added the call to the filters in your code and it works fine applying all the needed parsing of my placeholders but hacking a plugin code it’s a good practice because if you update the plugin I’ll need to reapply the patch. It would be great if you could apply the “the_title” and “the_content” filter to your plugin before sharing the code so to make your plugin compatible with others by wordpress standards.

    Plugin Support Blog2Social-Support

    (@blog2socialsupport)

    Hello,

    Thanks for your reply.

    It would be great if you could contact us here with more details on how you proceed with your titles so we can check if this can be implemented.

    Due to privacy reasons please send this feedback via support ticket on our website by using this following link:
    https://service.blog2social.com/en/question?o=faq

    Thread Starter Giuseppe Milo

    (@pixael)

    Thanks I’ve created a ticket there.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Filters on title ignored’ is closed to new replies.