The7 pagination in custom WP_Query, just copy the code below and paste it in your functions.php.
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.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. […]
How to get all enqueue scripts in WordPress?
Copy this code and paste to your functions.php
- « Previous Page
- 1
- …
- 8
- 9
- 10
- 11
- 12
- …
- 40
- Next Page »