• Resolved mativve

    (@mativve)


    My client started complaining that his reactions stopped showing up. There have been no problems with this so far. No errors etc. are displayed.

    The theme is a dedicated theme written by me and when I add the do_shortcode rule, the reactions work.

    Has anyone had/has a similar problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mativve

    (@mativve)

    I think I figure it out on my own. I looked into code and I see the differences. In my theme I replace the_content() to get_the_content() with bunch kind a things and it’s not work so I return to the_content() and everything work fine ??

    Plugin Author Daniele Alessandra

    (@danielealessandra)

    It’s exactly that. The plugin leverages WordPress hooks to attach the widget. Based on settings the widget could be added to:

    • WordPress core elements
      • the_content
      • the_excerpt
      • comment_text
    • BuddyPress elements
      • bp_activity_entry_meta
      • bp_activity_comment_options
      • bp_after_group_header
      • bp_after_member_header
    • BBPress elements
      • bbp_get_forum_content
      • bbp_get_forum_content
      • bbp_get_forum_content
    • WPFORO elements
      • wpforo_content_before
      • wpforo_content_before
      • wpforo_template_buttons

    If you have a widget or a theme that overrides the original behaviour, the widget will not be visible, unless you add it in other ways.

    Here are two different ways to add reactions widget programmatically:

    // Call renderer from class
    echo DaReactions\Frontend::getButtonsPlaceholder( 'post', 1 );
    // Use shortcode
    echo do_shortcode( '[reactions type="post" id="1"]' );
    Thread Starter mativve

    (@mativve)

    @danielealessandra Thank you for your reply and for the information on which hookahs the plug works ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.