corsto
Forum Replies Created
-
AuthorPosts
-
March 17, 2020 at 10:52 pm in reply to: Set Links in profile to open in new tab (target="_blank) #7650
Do you have any filters i can call to create the same functionality like below
add_filter( 'woocommerce_locate_template', 'intercept_wc_template', 10, 3 ); /** * Filter the cart template path to use cart.php in this plugin instead of the one in WooCommerce. * * @param string $template Default template file path. * @param string $template_name Template file slug. * @param string $template_path Template file name. * * @return string The new Template file path. */ function intercept_wc_template( $template, $template_name, $template_path ) { $template_directory = trailingslashit( plugin_dir_path( __FILE__ ) ) . 'woocommerce/'; $path = $template_directory . $template_name; return file_exists( $path ) ? $path : $template; }
this allows me to Filter the cart template path to use cart.php in this plugin instead of the one in WooCommerce. Can i do something similar with Userswp?
March 17, 2020 at 10:42 pm in reply to: Set Links in profile to open in new tab (target="_blank) #7649If i override the button-group.php file i will need to update it after every plugin update.
I don’t use a theme (Oxygen Builder) so my process will be a little different. So i use this process https://wpdevdesign.com/a-basic-wordpress-custom-functionality-plugin/
For anyone wanting to know.
March 17, 2020 at 10:37 pm in reply to: Userwp endpoints fail to load correct lightbox element if placed as sub-menu #7648Great cheers
March 16, 2020 at 11:55 pm in reply to: Set Links in profile to open in new tab (target="_blank) #7626re upload
March 16, 2020 at 2:36 pm in reply to: Userwp endpoints fail to load correct lightbox element if placed as sub-menu #7621Hiya, When is the next update due to come out?
March 13, 2020 at 5:06 pm in reply to: Userwp endpoints fail to load correct lightbox element if placed as sub-menu #7615Wow great response time again guys. I’ll check this out over the weekend and give you feedback.
March 13, 2020 at 12:51 pm in reply to: Userwp endpoints fail to load correct lightbox element if placed as sub-menu #7612This reply has been marked as private.March 13, 2020 at 9:54 am in reply to: Userwp endpoints fail to load correct lightbox element if placed as sub-menu #7609Cheers that would be great.
So far i am very impressed with your support.
March 12, 2020 at 10:58 pm in reply to: Userwp endpoints fail to load correct lightbox element if placed as sub-menu #7603This reply has been marked as private.Thanks for the update. I have replied to a support email with some issues regarding this.
Hi,
Will i need to change this with each update or will this be introduced into the next version release of UsersWP?
What sort of patch is this? just so i know what is being changed?
-
AuthorPosts