Mithun Raval
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: PHP error, unable to view in editorHi,
This is syntax error. open function.php files in active themes go to line no 347.
Might be you missed “}” include in PHP comment section or this is extra added.
Please check it and remove it or comment it.. Hope it’s work for you.
>> Access functions.php (FTP)
-> With the FTP credentials (username and password) to connect to your FTP server (the host).
-> Locate Functions.php by following the directory structure given below:
-> [WordPress Root] > wp-content > Themes > [current_theme] > functions.php.
-> Download the file and edit the file with the editor of your choice (by adding the required code).
-> Upload the file to update the theme with changes made to the file.>> Access functions.php Through WordPress Admin
-> Log in or sign in WordPress as administrator.
-> Select “Appearance > Editor” from the sidebar.
-> In the editor, select the theme which you want to edit from “Select theme to edit” drop-down menu.
-> Locate and double-click “Themes Functions (functions.php)” under “Theme Files”, “Templates” section.
-> Make the desired changes to the file and click “Update File” to reflect the changes made to the file.Hope it’s work for you.
Thank you
Forum: Fixing WordPress
In reply to: Password Protected PagePlease check your page with the inspact element on the browser. JavaScript error has affected to the password box or might be few CSS. Once, you will resolve it then it’s will work for you.
Forum: Fixing WordPress
In reply to: Password Protected PageHi,
You can achieve password protect page functionality using WordPress default feature “WordPress password protect page”
When you have completed the editing of the post content then, check visibility section on right side of the page, click the “OK” button. You should now see your post’s new setting, e.g., Visibility: Password Protected. Remember: a setting change does not take effect until you click the “Publish” button (or “Update” if the post is already published.)
Hope it’s working for you if you need to more details on it then please visit below link.
Link: Password Protection featuresForum: Fixing WordPress
In reply to: Theme with Good score on Looading Speed and SEOHello @nunungsetyawan,
For the better site performance(speed and SEO) you need to use below-listed plugins.
SEO:
https://ww.wp.xz.cn/plugins/wordpress-seo/Speed(anyone):
https://ww.wp.xz.cn/plugins/wp-super-cache/
https://ww.wp.xz.cn/plugins/w3-total-cache/Thanks
Forum: Fixing WordPress
In reply to: Unable to Log In, Rogue ScriptForum: Fixing WordPress
In reply to: Unable to Log In, Rogue ScriptHello @csweativ,
it’s “Autolinker” Plugin issue. Follow below steps
Step 1: Disable temporary plugin
IN FTP: Go wp-content >> plugins >> Autolinker and Rename (Autolinker to Autolinker_bk).After this, you can able to log in.
Step 2:
Disable Plugin automatic updates in WordPress by adding this line of code in your wp-config.php file:add_filter( 'auto_update_plugin', '__return_false' );Step 3: Reverse Step 1:
IN FTP: Go wp-content >> plugins >> Autolinker_bk and Rename (Autolinker_bk to Autolinker).Forum: Fixing WordPress
In reply to: Thankyou Pageadded below code on current theme function.php files.
add_action( 'woocommerce_thankyou', 'bbloomer_redirectcustom'); function bbloomer_redirectcustom( $order_id ){ $order = new WC_Order( $order_id ); $url = 'http://yoursite.com/custom-url'; if ( $order->status != 'failed' ) { wp_redirect($url); exit; } }get theme function files: Appearance >> Editor >> select current Theme >> Functions file and paste above code or change above code as per your site.
More information refer: https://businessbloomer.com/resolved-woocommerce-redirect-custom-thank-page/
Forum: Fixing WordPress
In reply to: Thankyou PageHello @krawat731,
I recommended Please use the plugin which I have suggested. it’s better for you.
if you use the plugin then you no need to add “Child Theme” or not add code on function file. it’ easiest way to achieve functionality.Thank you.
Forum: Fixing WordPress
In reply to: Thankyou PageHello @krawat731
Here is two option to change the thank you page text.
1) custom way, add below code on theme function files.
/** * Custom text on the receipt page. */ function isa_order_received_text_thank_you( $text, $order ) { $new = $text . ' A receipt has been sent to you via email.'; return $new; } add_filter('woocommerce_thankyou_order_received_text', 'isa_order_received_text_thank_you', 10, 2 );2) use below-listed plugin
-> https://ww.wp.xz.cn/plugins/custom-thank-you-page-for-woocommerce/
-> https://ww.wp.xz.cn/plugins/wc-custom-thank-you/Hope it’s work for you, if not then please let me know here.
- This reply was modified 8 years, 8 months ago by Mithun Raval.
Forum: Developing with WordPress
In reply to: next_post_link not limiting by categoryHello
Try below code, Hope this works for you!
next_post_link( '%link','<span class="meta-nav">«</span>', true, ' ', 'category' );- This reply was modified 9 years, 4 months ago by Mithun Raval.
- This reply was modified 9 years, 4 months ago by Mithun Raval.
Forum: Developing with WordPress
In reply to: Posttype TemplateHello ubwayxpresso,
Please check below links it helps you for the creating the post type and post type template.
Post type:
Link: https://developer.ww.wp.xz.cn/reference/functions/register_post_type/Custom post template:
Link: https://developer.ww.wp.xz.cn/themes/template-files-section/custom-post-type-template-files/
Forum: Plugins
In reply to: [AMP] Images not showing in AMP when viewed on www.google.com/amp/..No Not yet, We still faced this issue.