Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all 115298 articles
Browse latest View live

open external products in new tab

$
0
0

Hey

im updating outdated template files on my site and the last one is;

Divi-child/woocommerce/single-product/add-to-cart/external.php version 2.1.0 is out of date. The core version is 3.4.0,

i am using this to open the links in a new tab by adding the target=”_blank” here in my current outdated file

<p class=”cart”>
” rel=”nofollow” class=”single_add_to_cart_button button alt” target=”_blank”><?php echo esc_html( $button_text ); ?>
</p>

BUT, when i update with the latest version of this file and try and add the target+”_blank” it is not working. any ideas why?

this is the full code for the updated file;

<?php
/**
* External product add to cart
*
* This template can be overridden by copying it to yourtheme/woocommerce/single-product/add-to-cart/external.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @package WooCommerce/Templates
* @version 3.4.0
*/

defined( ‘ABSPATH’ ) || exit;

do_action( ‘woocommerce_before_add_to_cart_form’ ); ?>

<form class=”cart” action=”<?php echo esc_url( $product_url ); ?>” method=”get”>
<?php do_action( ‘woocommerce_before_add_to_cart_button’ ); ?>

<button type=”submit” class=”single_add_to_cart_button button alt” target=”_blank”><?php echo esc_html( $button_text ); ?></button>

<?php wc_query_string_form_fields( $product_url ); ?>

<?php do_action( ‘woocommerce_after_add_to_cart_button’ ); ?>
</form>

<?php do_action( ‘woocommerce_after_add_to_cart_form’ ); ?>

thanks


Plugin Doesn’t Display

$
0
0

Hi – Just installed and activated the plugin, but it fails to show up on my homepage or anywhere else on my site. I’m wondering if my website theme is somehow conflicting with the plugin?

Reply To: [Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp] GDPR Compliant

Reply To: [AMP for WP – Accelerated Mobile Pages] I cant set custom frontpage

all content disappeared

Reply To: [Elementor Page Builder] Display JavaScript on Elementor

$
0
0

This is beyond the scope of this support

Reply To: [WP User Avatar] Database Error after Update

$
0
0

Hello,
Have you enabled wp-debug at wp-config.php file? If you have enabled this we suggest you make it disable. Please try this and let me know if you still face any issue.

Right now I am not getting any notice on your site.

Thanks

Reply To: [User Submitted Posts] send an e-mail to user when post is published?

$
0
0

Glad to help. The plugin already provides this feature. Check out the settings under “Email Alerts” 🙂


Reply To: [Ultimate Member – User Profile & Membership Plugin] Time out error

$
0
0

Hi there,
I currently have no caching or cDNA activated on my site. I have updated and not seen any change.

Reply To: [Collapse-O-Matic] Doesn’t collaps equations with symbols

$
0
0

view your shortcode with the editor in Text mode not Visual mode.
Be sure you always past copied shortcodes in text mode.

Reply To: [EU Cookie Law] new cookie law requirement YES/NO selection

Reply To: [TablePress] Javascript not working

$
0
0

Hi Tobias,

unfortunatelly it did not work either 🙁

I’ll try to see if i can use any other way to display this information.

Thank you,
Martina

Reply To: [WooCommerce Instagram Product Photos] Change position of the feed

$
0
0

Hello,

Thanks for getting in touch with us.

In our current version of the plugin, this functionality is not available.

When we will implement this we will notify you of the same.

Let us know if you have any other query.

Thank You,
Multidots.

Reply To: [Contact Form 7] reCAPTCHA Integration causing messages to be marked as spam

$
0
0

Hi @takayukister, I’m having the same problem as the 2 people before.

I have tried your suggestion to @evanjenkins and it has made no difference.

My list of plugins includes Yoast, and W3 Total Cache, among many others, but it still didn’t work after changing theme and disabling all plugins but Contact Form 7 and Contact Form 7 Captcha.

I’ve tried about 3 or 4 alternatives that add reCAPTCHA and all produce the same result.

When I remove the [recaptcha] tag, the form submits immediately.

Thanks

Error while saving settings on front-end

$
0
0

Hello.
Im getting error when im trying to save setting on front-end. What could cause the problem?


Reply To: [Easy Forms for MailChimp] Woocommerce integration incompatibility with One Page Checkout?

$
0
0

I’m in MacOS:

– It DOES work in Chrome
– It does NOT work in Firefox

I don’t like Javascript xD

Reply To: [User Access Manager] GDPR compliance

$
0
0

We are also very interesting in this topic. Are there any informations yet?
Thx

Reply To: [WooCommerce Product Attachment] woo product attachment not translate with wpml

$
0
0

Hello,

Thanks for getting in touch with us.

In our current version of the plugin, WPML is not supporting.

We are planning to give plugin fully WPML compatible in near future.

Definitely, we will notify you when we will implement this functionality.

Let us know if you have any other query.

Thank You,
Multidots.

Reply To: [Realtyna Organic IDX plugin + WPL Real Estate] Layout Questions on Property Page

$
0
0

Hi,

Thanks for your feedback.

1- The URL can be configured. Please check this KB article: https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/668/

2- There is another layout in WPL PRO that you can use. Please check it here: https://wpl28.realtyna.com/theme28/properties/1-Loft-7707-S-43rd-Pl-Arizona-85042-2-Bedrooms-3-Bathrooms-USD46-741/ You can enable this layout by getting help from this guide: https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/725/

3- Regarding “At a Glance” section, you can apply styles using the existing classes but if you like to change the classes, you should override the activity layout in your child theme and modify the content. Almost everything in WPL is customize-able but it needs basic knowledge about HTML / PHP and WordPress.

Please let us know if there is anything else we can help you with.

Regards,
Realtyna Support Team

Reply To: [Floating Links – Fancy Top Bottom & Next Previous Post Links] Expand and collapse the toolbar

$
0
0

Hi @paulbarrett1952,

Hope you will be doing good today 🙂

When you click on X the icon does change maybe on your site js is conflicting.

Share your site URL so I will check what is causing the problem.

Thanks!

Viewing all 115298 articles
Browse latest View live




Latest Images