BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Conflict with WP RSS Aggregator Feed to Post
Tagged: conflict
- This topic has 10 replies, 3 contibutors, and was last updated 9 years, 2 months ago by Anonymous.
Question
September 5, 2015 at 10:08 am #45776@vingoglyThere’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
September 5, 2015 at 10:45 am #45782@vingoglyFurther 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.
September 5, 2015 at 5:58 pm #45809@vingoglyI 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.
September 7, 2015 at 8:37 am #45868@alyssa-buddyboss
AlyssaParticipant@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.
September 7, 2015 at 8:58 am #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.
September 8, 2015 at 12:04 pm #45946@
AnonymousHello @vingogly, Please send your details with site login at [email protected] i will check it.
Regards
Varun DubeySeptember 8, 2015 at 7:49 pm #45988@vingoglyAdmin login details sent to [email protected]
September 11, 2015 at 12:46 pm #46179@
AnonymousHi @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 DubeySeptember 11, 2015 at 1:37 pm #46189@vingoglyWill pass that on to the Aggregator folks; thanks.
September 13, 2015 at 3:39 pm #46236@vingoglyWP 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;
}
September 13, 2015 at 11:54 pm #46244@
AnonymousHi @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
- The question ‘Conflict with WP RSS Aggregator Feed to Post’ is closed to new replies.