The goal is simple: place and link an image/banner correctly with alt and title tags. However, our amateur partners often misplace these attributes. For example, some add title in the media, some in media and in page builder (double), some forget it etc. This is causing errors resulting in long support email chains and support video calls.
Seeking a user-friendly solution that ensures easy and correct image/banner linking, with proper alt and title tags. A method that’s simple enough to demonstrate via a tutorial video would be ideal.
Any plugin or strategy recommendations to streamline this process and avoid common mistakes?
]]>“I created a script that restricts access to the checkout for users who are not logged in. They will be redirected to the ‘My Account’ page. However, I also created a ‘Checkout as a Guest’ button. My logic dictates that only if a user clicks on that button, they should be able to access the checkout.
The flow for this is as follows: if you are not logged in,
I have successfully created this script. However, there is a problem: after a user successfully checks out, they are redirected to ‘My Account.’ I want to redirect them to the ‘Order Received’ page instead.
There is only Problem. My Following Code is this
// Guest Checkout
function add_checkout_as_guest_link() {
if ( is_user_logged_in() ) {
// User is logged in, show nothing.
return;
}
$checkout_url = wc_get_checkout_url();
echo '<div style="text-align: center; display: flex; flex-direction: column; align-items: center; margin:0px 0px 20px 0px;">
<a href="' . esc_url( add_query_arg( 'guest_checkout', '1', $checkout_url ) ) . '" style="border: 1px solid #000; padding: 10px 30px; ">
<span style="font-size: 16px; vertical-align: top;">Checkout as Guest</span>
</a>
</div>';
}
add_action( 'woocommerce_before_customer_login_form', 'add_checkout_as_guest_link' );
add_action('template_redirect', 'custom_checkout_redirect');
function custom_checkout_redirect() {
// Check if user is not logged in and the "Checkout as Guest" parameter is set.
if (!is_user_logged_in() && isset($_GET['guest_checkout']) && $_GET['guest_checkout'] === '1') {
// Allow access to the checkout page.
return;
}
// Check if user is not logged in and trying to access the checkout page.
if (!is_user_logged_in() && is_checkout()) {
// Redirect to the 'my-account' page or any other page you prefer.
wp_redirect(get_permalink(wc_get_page_id('myaccount')));
exit;
}
}
]]>Is there a way to achieve this without extensive custom coding?
]]>um_user('user_email')
but I don’t see a way to use it in the JetFormBuilder forms so that it collects the sending email.
This is the JetFormsBuilder form:
The problem is that within the profile itself you must collect the email of each user and load it in the header of the contact form and that is where the problem is, how could you do it in this form.
I know that this is getting into another plugin’s territory but maybe there is someone who has solved it.
Greetings and thank you.
]]>I am developing a site but there is an issue now is that the button (go top of page) icon at the right-down corner of my site is not appearing…….when i go to any sing blog post only ther the icon in the button (go top of page) is appreading expect this…..the icon is not appreaing on any other page.
please anyone help me with this issue.
Thanks
]]>I need some assistance please…
If you see this page [ redundant link removed ] when you click on a post under Packages for instance, this one /tour/amakhala-safari-lodge/ I would like it to use the destination tag as the url so it should show up like this /tour/South-Africa/amakhala-safari-lodge/.
There are quite a few categories but All I want as is seemingly the Subcategory as the tour-destination/South-Africa/, if that makes sense. Only the countries are Parents for instance the Parent is Africa and the Subcategory is South-africa in this instance. Is this something that can be achieved?
See video below for a overview of what my backend of the site looks like. https://www.loom.com/share/9935a07ec7b8422d82528b1882a82890
Thanks so much,
]]>