GusRuss89
Forum Replies Created
-
Forum: Plugins
In reply to: [Material Design for Contact Form 7] md-fileHi @remykonings28,
It should look like this.
[md-file nofile="Your no file text" btn_text="Your button text"] [file* file-548 limit:1000 filetypes:jpg|jpeg|png] [/md-file]Best of luck 🙂
Angus
Forum: Plugins
In reply to: [Material Design for Contact Form 7] Error after change URL siteThis issue should be fixed in the latest version of the plugin (1.5.18).
Forum: Plugins
In reply to: [Material Design for Contact Form 7] Shortcodes not interpretedForum: Plugins
In reply to: [Material Design for Contact Form 7] Shortcodes not interpretedHi @baileys
It seems like maybe you’re putting the code straight into a page or post? The code is supposed to go into a Contact Form 7 form.
Can you confirm you have the Contact Form 7 plugin activated, and the code is in a Contact Form?
Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Async load causes plugin malfunctionHi @shirkit
I’m not sure why you’re getting that behaviour, but it sounds more to do with CF7 than my plugin.
Here’s a support thread from a few weeks ago also about performance. I recommended using Autoptimize for deferring and concatenating scripts, and there’s also some PHP to dequeue stylesheets etc on pages where you don’t need it.
https://wordpress.org/support/topic/above-the-fold-blocking/
Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] md-text fieltd widthHi @marcinok,
It depends on exactly what you want to do.
If you want to sort your fields into columns, you can upgrade to the pro version which gives layout attributes to all your fields.
If you just want to limit text-field widths, you can add some custom CSS under Customize > Material Design Forms > Custom CSS. Here’s some example CSS.
.mdc-textfield { max-width: 300px; }That will also affect text-areas. If you just want it to be for single-line inputs, you can use this CSS instead.
.mdc-textfield:not(.mdc-textfield--multiline) { max-width: 300px; }Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Error after change URL siteI’ve confirmed this issue is related to Freemius – the part of the plugin that handles payments. I’ve been in touch with Freemius about it and they have already fixed the issue in their development version, which will be available soon. So the next release of this plugin should fix the issue.
If anyone runs into this problem in the mean-time, you can fix it the way that Robert did. I.e.
1. Deactivate the material design plugin on your NEW server
2. Install the Search & Replace plugin
3. Create a PHP file calleddirname.phpand put this in it.<?php echo __DIR__; ?>4. Upload that file to the
wp-content/pluginsdirectory of both your old AND new servers.
5. Navigate to the file in a web browser on both your old and new URLs and leave them open in separate tabs.http://www.myoldurl.com/wp-content/plugins/dirname.php – this will output your OLD site’s
pluginspath
http://www.mynewurl.com/wp-content/plugins/dirname.php – this will output your NEW site’spluginspath
(obviously you change everything before ‘/wp-content’ to your actual site urls)6. In your NEW WordPress, go to Tools > Search & Replace
7. Click “Create SQL File”, then download it when it’s done – this is your backup in case something goes wrong
8. Go to the “Search and Replace” tab, then in the “Search For” box, enter the OLD site’spluginspath (copy it from the tab you left open earlier).
9. In the “Replace With” box, enter the NEW site’spluginspath.
10. Select the “wp_options” table (may have a different prefix than ‘wp_’, that’s fine)
11. Uncheck “Dry Run”, and click “Do Search & Replace”
12. Reactivate the material design plugin – everything should now be fixed!!?
13. DELETE thedirname.phpfile from your old and new serversAny questions ask me directly at angus.russell89@gmail.com
Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Error after change URL siteHi Robert,
Thanks for letting me know about this. I will fix this issue today, and update this thread when I release an update.
Thanks again,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Error after change URL siteHi @4csmedia
Is there any chance I could get wp-admin and cpanel/ftp/ssh (or whatever you use for files) access to your site to debug this?
You can email me the details at angus.russell89@gmai.com. (Do NOT post any login details here). Feel free to use/create a temporary wp-admin account that you can delete later.
Thanks,
Angus- This reply was modified 8 years, 6 months ago by GusRuss89.
Forum: Reviews
In reply to: [Material Design for Contact Form 7] So many advertisementHi @jonson71
This plugin does not insert advertisements. I’m not sure what is happening on your site but am happy to take a look if you send me a link to your website.
Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Error after change URL siteHi @tonisalles
Can I see your website? What is the URL? A couple of suggestions.
First, try uninstalling (not just deactivating) and then reinstalling the plugin. You will not lose any configuration settings by doing this. If this works, please let me know. If it doesn’t work, a few other things to check:
Does deactivating the plugin fix the issue? (if so, please let me know)
Did you update your site url in wp-config.php?
Is your site on the same server, with the same files? If not, make sure to move the plugin files over to the new server in wp-content/plugins.Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Above the fold blockingHi @esyagentur
Try this in your functions.php. It will dequeue all the plugin scripts and styles except on pages with slug ‘contact’ or ‘form’. Change the
ifcondition to suit your pages.function my_dequeue_cf7md_assets() { if( ! is_page( 'contact' ) && ! is_page( 'form' ) ) { wp_dequeue_script( 'md-components-js' ); wp_dequeue_script( 'autosize' ); wp_dequeue_script( 'cf7-material-design' ); wp_dequeue_style( 'cf7md_roboto' ); wp_dequeue_style( 'cf7-material-design' ); } } add_action( 'wp_enqueue_scripts', 'my_dequeue_cf7md_assets', 20 );Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Above the fold blockingHi @esyagentur
All the JavaScript is loaded in the footer, so it won’t block the rendering of any of your page content. You could still defer it with a plugin like Autoptimize if you like, which also allows you to defer all your CSS except for above-the-fold styles.
Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Material Design Not working as expectedHi @bhaktirajdev,
Actually, it looks like your website isn’t loading the plugin CSS and JavaScript.
Does your theme contain
wp_head()andwp_footer()functions in the templates?If so, are you using a caching or minification plugin that needs to be refreshed for the plugin scripts and styles to be included?
Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Material Design Not working as expected