Matt Pramschufer
Forum Replies Created
-
Do me a favor and reach out to [email protected], we will need to do some more debugging for you.
Possibly… try to unhide it and see if it shows up. Can you also send me a screen shot of the TEXT view of your settings page where the shortcode is located at.
Hey there,
So it sounds like the shortcode isn’t getting the proper product ID. Is your product set to active and visible in woocommerce? The WooCommerce shortcodes will not show hidden or private products.
Are you using the template functions to wrap your protected content? https://pramadillo.com/documentation/template-functions/
Forum: Plugins
In reply to: [Pay For Post with WooCommerce] translate with wpmlYou should be able to use a WPML shortcode https://wpml.org/documentation/support/wpml-coding-api/shortcodes/ and put that into the protected content message area in the settings.
Forum: Plugins
In reply to: [RSS Control] Tag filtering dont work ANY MOREHey Olli,
For the tag parameter it needs to be a tag ID not the slug, but you can also simply do the following and get exactly what you are looking for https://rohstoff.net/tag/partner/feed/?show_images=true
Anna,
You associate a product with a POST or a PAGE, when someone purchases that product they get access to the content. You are not protecting the product page. Have you watched https://www.youtube.com/watch?v=UEjs8JCknFU
Is this plugin supported anymore?
Forum: Plugins
In reply to: [Pay For Post with WooCommerce] Article and PostYes you can sell virtual and downloadable products with WooCommerce. This plugin will work perfectly for you.
Forum: Fixing WordPress
In reply to: Category box fully expanded since last updateI have the same issue on all sites as well.
Hey @collizo4sky just in case anyone else might be looking for this solution. I looked through your code and was able to achieve this easily with the following code.
add_filter('ppress_core_login_redirect', function($url){ return esc_url( add_query_arg( 'cb', time(), $url ) ); });
Would there be any ramifications on this approach? I have tested and it works perfectly.
Oh rock on! Thank you so much!
Hey @maartenbelmans TagDiv hasn’t gotten back to me yet, but I finally figured it out! If you want to check out the video below, apparently if you do not include the WooCommerce Ratings widget on their template then it does not populate the global $product;
[video src="https://s3.amazonaws.com/pramadillo/pramadillo-2024-05-07-14-36-12.mp4" /]
So long story short, no need to have a discussion about a filter on your plugin, your plugin is fantastic the way it is!
Oh I totally agree! I was being selfish and wanting the filter for my own benefit so I didn’t have to worry about upgrades! Ultimately I am hoping TagDiv will get back to me with a proper solution. However in the meantime, my “hack” works for my needs, and if someone stumbles onto this thread maybe it will help them as well. Again, if I hear anything back from TagDiv with a proper fix, I will be sure to update this thread. Thanks again.
So I haven’t heard back yet from TagDiv, but I was able to get it to work by modifying your display_field_groups function to have the following. It sucks that I have to do this, but was the only way I could do it with what they give me. I was thinking that maybe adding a filter there for $product could be beneficial for other developers/pagebuilders that do not follow standards?
public function display_field_groups() { global $product; if(is_null($product)){ global $td_woo_state_single_product_page; $product = $td_woo_state_single_product_page->get_product(); } if(!$product) return;