BuddyBoss Home – Web Support Forums Themes Boss. theme Conflict with WP RSS Aggregator Feed to Post

Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Question

    #45776
    @vingogly

    There’s a conflict between Boss and Jean Galea’s Feed to Post add-on; the add-on provides an option to link back to the original post, and the link doesn’t work when Boss is the active theme. If I switch to Twenty Fifteen, the link works fine.

    Running Boss 1.2.0 with Boss Child Theme, WP RSS Aggregator plugin 4.7.5, and WP RSS Aggregator Feed to Post add-on 3.5.1. I’ve also written to Jean Galea about this problem.

    Answers

    #45782
    @vingogly

    Further experimentation: the option listed allows me to enter text of the form

    (Read the full text by *clicking here*)

    The words clicking here should then link to the original article. Instead, the link is stripped. If on the other hand, I remove the asterisks surrounding the link text, the URL shows up as plain text appended to the text like this:

    (Read the full text by *clicking here*)http://originalposturl.com

    Maybe there’s some conflict in the use of markup/markdown in Boss versus the plugin in question.

    #45809
    @vingogly

    I just noticed the line (Read the full text by *clicking here*) appears on site pages automatically generated by BuddyPress, at the top of the page, and the link works there but not on the RSS feed aggregator page.

    So it’s possibly some interaction between BuddyPress, Boss, and the WP RSS Aggregator plugin.

    #45868

    Alyssa
    Participant
    @alyssa-buddyboss

    @vingogly since this is a paid plugin please email a brief description of the issue with a link to this forum, a link to your site, and admin credentials then Varun will look into this further.

    #45869
    @vingogly

    @tjchester, I don’t know who Varun is, what paid plugin you’re referencing, or who I should send an email to. Is that someone with WP RSS Aggregator, or someone with BuddyBoss?

    Here is what Chirag Swadia at WP RSS Aggregator wrote:

    Hi Vasily,

    It looks like some kind of conflict with the asterisk ( * ) in the buddyboss theme. However, for now since the link back to source is not working, you can use the append/prepend content feature to create your custom link back to source without the * sign.

    #45946
    @vapvarun

    Hello @vingogly, Please send your details with site login at [email protected] i will check it.
    Regards
    Varun Dubey

    #45988
    @vingogly

    Admin login details sent to [email protected]

    #46179
    @vapvarun

    Hi @vingogly, i have checked the site and plugin codes as well
    There is nothing where our theme and plugin is creating mess with Aggregator plugin
    They are generating content and we have called standard content functions to display them.
    Regards
    Varun Dubey

    #46189
    @vingogly

    Will pass that on to the Aggregator folks; thanks.

    #46236
    @vingogly

    WP RSS Aggregator support provided a fix for Feed to Post, which entails overriding the_excerpt in functions.php; Here is the message they sent me. Unless something changes in their plugin or Boss, anyone who wants to use the prepend/postpend feature in that plugin with Boss will need to apply this fix.

    Hi Vasily,

    If you’ll check the screenshot attached, you will see that when I switched to the default WordPress theme for a moment, nothing was stripped and the append text appeared as it should.

    The current theme is calling the_excerpt function which is absolutely fine, but the problem is that it strip all the html tags by default. To prevent this behavior, you can add the below code to your child theme’s functions.php file and then check this link … It will show the append text as expected.

    remove_filter(‘get_the_excerpt’, ‘wp_trim_excerpt’);
    add_filter(‘get_the_excerpt’, ‘custom_html_excerpt’);
    function custom_html_excerpt($text) {
    global $post;
    if ( ” == $text ) {
    $text = get_the_content(”);
    $text = apply_filters(‘the_content’, $text);
    $text = str_replace(‘\]\]\>’, ‘]]>’, $text);
    $text = strip_tags($text, ‘<b>‘);
    $excerpt_length = 55;
    $words = explode(‘ ‘, $text, $excerpt_length + 1);
    if (count($words)> $excerpt_length) {
    array_pop($words);
    array_push($words, ‘[…]’);
    $text = implode(‘ ‘, $words);
    }
    }
    return $text;
    }

    #46244
    @vapvarun

    Hi @vingogly, you can include above code in your child theme to display complete content. This is not theme specific issue, just based upon WP RSS Aggregator Feed requirement to display the content.

    Regards
    Varun Dubey

Viewing 11 posts - 1 through 11 (of 11 total)
  • The question ‘Conflict with WP RSS Aggregator Feed to Post’ is closed to new replies.