Muhammad Ismail
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7 - Dynamic Text Extension] CF7_URL adding 443 in URLSame here, i am getting same issue.
URLs being shown with :443 port
We are on Kinsta host, could be static cache as issue?Forum: Plugins
In reply to: [CMB2] V 2.5.0 upgrade issue with Text EditorHi Justin & Michael,
Sorry for delayed response.
and THANKS a TON for this release.
Yes it has fixed our issue and new release working fine even on a site not on 5.0 WP yet.
Thanks again for your kind support and AWESOME work!!!
Forum: Reviews
In reply to: [Horizontal Line Styles] Didn’t work for meHi Bob,
If you still having issue? Can you please start a topic in support, I can look into it and see what issue could be that you faced. As sometimes themes styles overwrite the HR rules stylings.
PS. You can choose the styles in Dashboard > Appearance > HR Line Styles
i.e. yourdomain.com/wp-admin/themes.php?page=wmhr_styles_settings
- This reply was modified 6 years, 6 months ago by Muhammad Ismail.
Forum: Plugins
In reply to: [WooCommerce] How to delete sku from product pageWe have this true/false option we can set to hide/show SKU .
wc_product_sku_enabled
src:
https://docs.woocommerce.com/wc-apidocs/function-wc_product_sku_enabled.htmlTo use it, add following in your theme’s functions.php file:
add_filter( 'wc_product_sku_enabled', '__return_false' );
Above code will disable SKU for both Admin and Front-end.
If you want only to disable it for Front-end product page only, you can add following custom function:
function wm_hide_product_page_skus( $enabled ) { if ( ! is_admin() && is_product() ) { return false; } return $enabled; } add_filter( 'wc_product_sku_enabled', 'wm_hide_product_page_skus' );
- This reply was modified 6 years, 7 months ago by Muhammad Ismail.
Forum: Fixing WordPress
In reply to: cant update my websiteWow! Thank you Artur! I found about your solution from another thread.
You were right, it was that line in my wp-config file.This site I was working on had been on Godaddy, and they have this setting in the wp-config. I removed it and now all working fine.
Thanks!
Wow! Thank you Dawn!
This site I was working on had been on Godaddy, and they have this setting in the wp-config. I removed it and now all working fine.
Thanks!
Forum: Fixing WordPress
In reply to: Store non WP web-pages in WP directory?In the WordPress root you can create any file or folder, and it will be available from the from Domain/URL as WordPress rewrite rules make sure that it does not apply for the URLS if physical file or folder on the root is present.
Forum: Fixing WordPress
In reply to: Image IssuesHi,
Two things I can add here…
1. WordPress tries to optimize JPG images on upload
2. As you already optimize images just fine as per your needs.
I suggest you disable WP’s compression/optimization for images.In your functions.php file for the theme you might add this code:
add_filter( 'jpeg_quality', create_function( '', 'return 100;' ) );
See these links about WordPress feature regarding this:
https://developer.www.ads-software.com/reference/hooks/jpeg_quality/Hope it solves your images issue. If you still see issue please update this thread. You might need to upload image again to test this new code to see if it was compression related.
In the Headers already sent error, you see this line
/themes/twentytwelve-child/functions.php:28
It is outputting something on some WP hook which is executed way earlier on the page generation stage which creates this headers already sent error.
You may look into that code , or add that code in this thread so we can see what it is trying to do, could be some WP function which might needed new parameters or something…
- This reply was modified 7 years, 9 months ago by Muhammad Ismail.
Forum: Fixing WordPress
In reply to: Website not displaying correctlyGreat, you may mark this thread as resolved.
Forum: Fixing WordPress
In reply to: User database searchYou will need a custom solution I think coded as custom plugin.
However as you already know how to protect a page in the wordpress, so on that page you might simply include a Google Spreadsheet/Form and let the users update the items and you get notifications, very easy solution if you can go with Google Sheets.
Forum: Fixing WordPress
In reply to: Disabling plugin breaks siteAlso you may need to see if it is caching issue.
And also WordPress Yoast have some functions , theme authors might call in their themes like one I have used recently in a project was about getting Primary Category term selected. So maybe that is breaking the site when plugin is no more there. You might look into Php error log if you find any hint there…
Forum: Fixing WordPress
In reply to: Removing ShortcodesWhat you are looking here is a search replace within all posts.
WordPress does not offer any native search replace for content within the posts. You might look into some Plugin which may offer such feature but before you do that, you should take full backup of your database just in case anything gets messed up.
I found these two search/replace plugins via google search
https://www.ads-software.com/plugins/better-search-replace/https://www.ads-software.com/plugins/search-and-replace/
Disclaimer: I have not used above plugins, please be very careful with any search/replace operations, you must have backup for your database just in case.
Forum: Fixing WordPress
In reply to: Image Wrap Around strangeLooks like your theme does not have standard WP classes used to align images.
You will see that WordPress has added alignleft class to your image but looks like your theme does not have any styling for that class.
In your theme’s css or in customizer CSS box, you may add following WordPress standard classes for Image alignment i.e.
img.alignright {float:right; margin:0 0 1em 1em} img.alignleft {float:left; margin:0 1em 1em 0} img.aligncenter {display: block; margin-left: auto; margin-right: auto} a img.alignright {float:right; margin:0 0 1em 1em} a img.alignleft {float:left; margin:0 1em 1em 0} a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
More info: https://codex.www.ads-software.com/Styling_Images_in_Posts_and_Pages
Forum: Fixing WordPress
In reply to: hide page title and keep distance from headerPlease remember, in the CSS when you do apply , display: none, it does not take any space on the page i.e. the margin-top you have there will not be applied.
So if you want the title not be visible but take all the space it takes when visible. You need to use visibility instead of display property i.e. You might try :
`h1.page-title {
margin-top: 200px;
visibility: hidden;
}