s31concierge
Forum Replies Created
-
Forum: Plugins
In reply to: [Conditional Fields for Contact Form 7] Make Submit button conditionalThank you.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce > OrdersIt does use Woocommerce for checkout.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce > OrdersI’m not sure actually, as it came bundled with my theme.
I’m pretty confident it is just standard.Forum: Plugins
In reply to: [WooCommerce] Failed ordersIs there anyone active in support?
Customers cannot currently book on our site.Forum: Plugins
In reply to: [WooCommerce] Adding custom content to My Account pagePerfect, thanks!
Forum: Plugins
In reply to: [WooCommerce] Adding custom content to My Account pageI can’t figure out exactly where to put this.
Forum: Plugins
In reply to: [WooCommerce] Adding custom content to My Account pageI have a followup… How can I get the Logout tab back to the bottom?
Forum: Plugins
In reply to: [WooCommerce] Adding custom content to My Account pageNot a problem. Thanks again.. this is so great.
Forum: Plugins
In reply to: [WooCommerce] Adding custom content to My Account pageOne more thing while I have you… everything works great, but when it loads the post it’s lost much of its styling. Is there an straight forward way of keeping the style in place from the original page?
If not, I have an idea around it.
Forum: Plugins
In reply to: [WooCommerce] Adding custom content to My Account pageThat just looks better.
MANY thanks for walking me through this one!Forum: Plugins
In reply to: [WooCommerce] Adding custom content to My Account pageThis was my best effort:
add_action( 'woocommerce_account_mybookings_endpoint', 'tm_mybookings_content' ); function tm_mybookings_content() { print '$post_id = (937) ; $post = get_post( $post_id ); print $post->post_content;'; }Forum: Plugins
In reply to: [WooCommerce] Adding custom content to My Account pageOk that clears up alot and I think I got it…short of knowing what string to put in the “print” snippet. I’ve tried the page name and URL string and those obviously are not it.
Forum: Plugins
In reply to: [WooCommerce] Adding custom content to My Account pageThat’s the other part.
How in God’s name do you make a sub directory in WP?
Or is it done in FTP?
I just wonder if the theme element would work if I copied the page out of the root.Forum: Plugins
In reply to: [WooCommerce] Adding custom content to My Account pageI feel like I may be drifting further from the hold grail. Here’s my code I removed the dash because the very last instance cause an error.
register_activation_hook( __FILE__, 'tm_flush_rewrite_rules' ); function tm_flush_rewrite_rules() { add_rewrite_endpoint( 'mybookings', EP_ROOT | EP_PAGES ); flush_rewrite_rules(); } // end function // register new endpoint to use for My Account page add_action( 'init', 'tm_custom_endpoints' ); function tm_custom_endpoints() { add_rewrite_endpoint( 'mybookings', EP_ROOT | EP_PAGES ); } // end function // add new query vars. add_filter( 'query_vars', 'tm_custom_query_vars', 0 ); function tm_custom_query_vars( $vars ) { $vars[] = 'mybookings'; return $vars; } // end function // insert the custom endpoints into the My Account menu add_filter( 'woocommerce_account_menu_items', 'tm_add_custom_endpoints' ); function tm_add_custom_endpoints( $items ) { $items['mybookings'] = 'My Booking History'; return $items; } // end function add_action( 'woocommerce_account_mybookings_endpoint', 'tm_mybookings_content' ); function tm_mybookings_content() { print '.....'; }Forum: Plugins
In reply to: [WooCommerce] Adding custom content to My Account pageSaving Permalinks did it… that gets me everytime. BUT now the content is not loading. I suspect it’s because of this last function… I’m not sure how to interpret it for my page. My content is is https://dev.school31lofts.com/my-bookings. I can move that content if needed. This is the function I mean:
add_action( 'woocommerce_account_warranties_endpoint', 'tm_warranties_content' ); function tm_warranties_content() { print '.....'; }Thanks for all your help on this.