Rahul Dharecha
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] any url having checkout is redirect to checkout pageHello Andrew
Thank you for your replay/help.
In my .htaccess file i have only worpdress default code.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressand this redirect happens to only cart and checkout page. for other page i got 404 page.
Thank you
Rahul DharechaForum: Plugins
In reply to: [Subscriptions for WooCommerce] Change first renewal dateHello @markhf
Thank you for your replay
What if i want to update dates programmatically instead of manually? is there in trick for this ?
I have write code to update “_next_payment” and “_schedule_next_payment” meta date to next Friday so first time next payment date is set to next Friday.
But after 1st renewal cycle next payment date is not increase by one week, instad it is set to date of after 9 days.
For example if i place order today, becuase of my code next payment date is set to next friday (22th june 2018). but after renewal from this date next renewal date is set to (1st july 2018). but it should be 29th june 2018
Thank you
Forum: Plugins
In reply to: [Subscriptions for WooCommerce] How to test Subcription for one week or month@markhf
Thank you for replaying.
I tried manual renewal of order, but it did not change next payment date of order. shop order is created in woocommerce order section. but next payment date did not updatedForum: Fixing WordPress
In reply to: Video not showing in homepageThere may be a problem when you paste the link in your post editor.
Check code by clicking to text on right corner of editor. (https://prnt.sc/hzhsen)there should be only you tube link like “https://www.youtube.com/watch?v=vop_aAuE_sY”
Thanks.
Forum: Fixing WordPress
In reply to: duplicate subscriber rolesIf you have existing users assigned with role ‘Subscriber’, they will loose their roles and will be assigned as None.
//check if role exist before removing it if( get_role('subscriber') ){ remove_role( 'subscriber' ); }
I would suggest, please take backup of your database, to be on safer side.
- This reply was modified 7 years, 1 month ago by Rahul Dharecha.
- This reply was modified 7 years, 1 month ago by Rahul Dharecha.
Forum: Fixing WordPress
In reply to: NON STOP EMAILIf you know file structure of your project
goto public_html/wp-content/theme/your-thrme/function.phpand put bellow code at end of file
add_filter( ‘auto_core_update_send_email’, ‘__return_false’ );
Or you can install bellow plugin
https://www.ads-software.com/plugins/stops-core-theme-and-plugin-updates/Or you can just login to admin panel of your site and change admin email
Forum: Fixing WordPress
In reply to: duplicate subscriber rolesBoth roles that you have specified are different (check spelling).
To remove user role use put bellow code in function.php
//check if role exist before removing it
if( get_role(‘Subcscriber’) ){
remove_role( ‘Subcscriber’ );
}once your role is removed, delete above code from your function.php file
- This reply was modified 7 years, 1 month ago by Rahul Dharecha.
Forum: Fixing WordPress
In reply to: how to change or remove Post navigationGoto your themes single.php and find and Comments “the_post_navigation” function code (for twentyseventeen theme).
It is recommended that you create child theme and then override this single.php file.
- This reply was modified 7 years, 4 months ago by Rahul Dharecha.
- This reply was modified 7 years, 4 months ago by Rahul Dharecha.
Forum: Fixing WordPress
In reply to: Adding Embed code to WPIt seems like you have echo code in header.php file of your child theme. this is one of the correct way to adding our custom code to theme.
As you said you have added code to your child theme this is not dangerous to your site.