| |

How to add like button in media gallery item using Buddypress and rtMedia WordPress plugin?

Hi guys !!! How to add like button in media gallery item using Buddypress and rtMedia WordPress plugin? Please follow the steps below. Step 1: Override the “media-gallery-item.php” in your WordPress theme. Step 2: Place the code anywhere inside of your “li” tag. Step 3: Paste this code to your functions.php. Step 4: Paste this…

Add sub-page using 1 page without adding another pages using add_rewrite_rule

Add sub-page using 1 page without adding another pages using add_rewrite_rule is very simple but clean strategy most specially if you have multiple sub-pages. Using add_rewrite_rule, your task is done. Please copy the codes to your functions.php. Example: I have this page, https://www.anthonypagaycarbon.com/parent/ and the page ID is 10. add_filter(‘query_vars’, ‘wdes_query_vars’); function wdes_query_vars($vars) { $vars[]…

| | |

How to add @mention in Buddypress single media page (or rtMedia single page)?

How to add @mention in Buddypress single media page (or rtMedia single page)? Copy the codes below to your functions.php Next is override the media-single.php file in your theme folder (wp-content/themes/my-theme/rtmedia/media) . The file path output must be wp-content/themes/my-theme/rtmedia/media/media-single.php. Open the media-single.php in your text editor and find the and replace with the codes below….

|

How to merge your personal and friends activity stream using Buddypress WordPress plugin?

Hi guys, having a trouble on how to merge your personal and friends activity stream using Buddypress WordPress plugin? Codes below may help you to solve the issue. The codes will apply only in your personal activity but it is includes the friends activity also. For more details and additional parameters, read it here https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/….