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 […]
Archives for December 2016
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.anthonycarbon.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. […]