Skip to:
Content
Pages
Categories
Search
Top
Bottom

Modifying the “read more” activity link behavior.

  • @etavio

    Participant

    Hey guys, it feels like the “read more” animation in activity feeds s a bit lagg/buggy and honestly, I’d like to remove it and just have the overflow content reveal itself without any animations when you hit “read more”. I found a topic that talks about this (link below) with no response.

    https://buddypress.org/support/topic/modifying-the-activity-read-more-links-animation-in-global-js/

    Based on the author, at the time this function was in line 293 of global.js. Is this still the case? (I am no JS expert), and if so, is there a way to disable the animation without editing core buddypress files?

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • @r-a-y

    Keymaster

    As of right now, you would have to make a copy of the JS to make your required change:
    https://buddypress.trac.wordpress.org/browser/tags/2.6.2/src/bp-templates/bp-legacy/js/buddypress.js?marks=530#L513

    This file should reside in your theme’s buddypress/js folder.

    Keep in mind that this is the source JS. When used in production environments, this JS is minified to buddypress.min.js.

    @etavio

    Participant

    Thanks r-a-y — I appreciate the help. I am not a proficient coder but I know enough to (hopefully) not mess this up. Can you help me rewritting the JS to have the behavior I am looking for? That being of no animation at all and just revealing the overfollow plainly?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Modifying the “read more” activity link behavior.’ is closed to new replies.
Skip to toolbar