saurav.rox
Forum Replies Created
-
Forum: Plugins
In reply to: [Payment Gateway Plugin for PayPal WooCommerce] Redirection ProblemHi,
Thanks for the reply.
I was wondering if I could end up being one of the contributors of the plugin so that my profile would also show some contribution to this widely used plugin.But anyways thank you for considering me to keep my name there in the changelog.
Waiting for new version.
Regards,
Forum: Developing with WordPress
In reply to: PHP and Jquery Ajax Batch Processing Big dataThank you @a2hostingrj for replying.
The time limit is set maximum. I have already changed the default 30 seconds.
The problem is I am not fetching data from database. If I had been working with database then may be I would be diving the data into chunk may be using Primary Id and all.
I don’t know how to do in the situation where you don’t know how big of the data you are dealing with.
I still believe this can be achieved using Php and jquery ajax.
Can you please elaborate the points you have mentioned above?Thank you.
Forum: Plugins
In reply to: [WooCommerce] Problem using woocommerce and color swatch@fernashes
I was out for some days. I have edited my question. Can you please take a look?
I have a website where I am importing products from printful.com. I am using WooCommerce Variation Swatches for variable products color swatches. I don’t know why some of the products shows the registered colors in the drop-down inside Attributes tab – https://drive.google.com/open?id=1nJ5kluN4A8iuIrJuJeDZK9EdRePKZeR5. However, some of the products shows textarea instead of select dropdown for the color options – https://drive.google.com/open?id=1cQTSregl5OVJahPws7Xnc-G8X1Y7WtYX.I guess this is the reason why color dropdown is displayed instead of swatches in the single product page (the products having textarea for colors in the backend) – https://drive.google.com/open?id=1reDDaqthvgWH9qPIth6CB1GX3F2CoPef. I want to display swatches instead of drop-down in the single product page. I am new WooCommerce user.
Any help would be more than appreciable.
Forum: Developing with WordPress
In reply to: Page template added via plugin not saved in GutenbergHello @bcworkz,
Many thanks for replying.
The function was not pasted properly in my question above. So, below is my full correct code. I am adding page templates via plugin so that it can be assigned to a page. I am not adding files to themes. I am just providing base path to the plugin’s template file (template-destination.php)that I am adding. If someone adds a page with page template Destination Template then that page will use template-destination.php.
Can you please elaborate on this: It looks like your theme or something is doing extra validity checking? Can you please point me what I am doing wrong in the code?
Below is my full correct code:
/** * Destination template. */ function wpte_get_destination_template( $template ) { $post = get_post(); $page_template = get_post_meta( $post->ID, '_wp_page_template', true ); if( $page_template == 'templates/template-destination.php' ){ $template_path = locate_template( array( 'template-destination.php' ) ); if(!$template_path) { $template_path = BASE_PATH . '/includes/templates/template-destination.php'; } return $template_path; } return $template; } /** * Destination template returned. */ function wpte_filter_admin_page_templates( $templates ) { $templates['templates/template-destination.php'] = __( 'Destination Template','' ); return $templates; } /** * Destination template added. */ add_action( 'wp_loaded', array( $this, 'wpte_add_destination_templates' ) ); function wpte_add_destination_templates() { if( is_admin() ) { add_filter( 'theme_page_templates', array( $this, 'wpte_filter_admin_page_templates' ) ); } else { add_filter( 'page_template', array( $this, 'wpte_get_destination_template' ) ); } }
Forum: Reviews
In reply to: [WP Edit Menu] Time Savior For Me!Hello @thewpranger,
Thank you so much for your rating as well as comments. I would love to add more handy features in the upcoming versions.
Regards,
Forum: Developing with WordPress
In reply to: Custom author page for custom roleThank you. Now, it seems to work.
Forum: Developing with WordPress
In reply to: Custom author page for custom roleThanks for the reply. But may be this code will be useful for logged-in users.
Forum: Developing with WordPress
In reply to: Using Firebase to push notification from WordPressThanks for explaining. By your explanation it seems I am going in the opposite direction.
As you said There’s no way for WP to determine the token on its own, by this do you mean I can connect Android to WordPress but not from WordPress to Android?
Also, can you please make me clear how can I manage that scenario? How can I start?
My requirement is to show the notification to App users if any action is taken in WordPress site. Is it even possible?
Thank you again.Forum: Developing with WordPress
In reply to: Using Firebase to push notification from WordPressHello @bcworkz,
Thank you so much for replying.
I was very confused so I contacted one of my buddy who is an Android developer.
I was thinking to push notification to firebase from WordPress so that android app grabs it. But it is very complicated as device token is a part of another platform and I am trying to use it in WordPress which makes no sense.
Is there anyway you can recommend that I can connect WordPress with Android so that android app grabs and shows push notification to the app users?
This is the scenario:
WordPress (push notification) -> Firebase -> Android (grab notification from firebase)
Example: show notification in android device if someone comments on any post.
Your help is really appreciated.
Thanks again.
Forum: Everything else WordPress
In reply to: Plugin Version List not ShownHello,
Thanks for replying.
I am the developer of the plugin. That is my plugin. I don’t why the drop down of available versions is not not shown in the plugins page like other plugins. I don’t know what I am missing.
??
Forum: Plugins
In reply to: [2C2P Redirect API for WooCommerce] Can i use this plugins to HBL bankFor those who are having problems, I have integrated successfully and wrote a blog here
Might be helpful for other developers.
Forum: Plugins
In reply to: [2C2P Redirect API for WooCommerce] integration problemFor those who are having problems, I have integrated successfully and wrote a blog here
Might be helpful for other developers.
Forum: Plugins
In reply to: [2C2P Redirect API for WooCommerce] integration problemHello @sakarbhusal,
Can you please share some codes or documentations some where? Will be truly helpful for developers like us in future.For now can you please explain how to check test payment? I am developing it as well.
Thank you.
Forum: Reviews
In reply to: [WP Edit Menu] OutstandingHello @frederickremonrobinson,
Thank you for your feedback and appreciation.
I look forward to make it even better and bigger with more functionality.
Kind regards,
Forum: Plugins
In reply to: [2C2P Redirect API for WooCommerce] integration problem