Similar Posts
Debugging WordPress get_option Issues: Single Value Returned Instead of Array
Debugging WordPress get_option Issues: Single Value Returned Instead of Array Debugging My Mobile Menu WordPress Plugin the give get_option returns 1 value instead of arrays. Code: get_option( ‘wdes_rmm_settings’ ) In this first part of my debugging series, I dive into the issues plaguing my mobile navigation menu. From unresponsive toggles to hidden elements, join me…
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…
Genesis footer codex ( hooks and filters )
Remove the ” <p></p> “ on the footer Default functions
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[]…
Plugins WordPress codex
How to get plugin URL? Refferences : https://codex.wordpress.org/Function_Reference/plugin_dir_url
