phe.le
Forum Replies Created
-
Thank you. I added the following code to the functions file and it seems to work.
function wpcf7cf_enqueue_scripts_new($cf7form) { if (in_the_loop()) { $unit_tag = 'wpcf7-f'.$cf7form->id().'-p'.$post->ID.'-o'.$global_count; } else { $unit_tag = 'wpcf7-f'.$cf7form->id().'-o'.$global_count; } } add_filter('wpcf7cf_enqueue_scripts', 'wpcf7cf_enqueue_scripts_new');
Hi,
How do I update this function?
Forum: Fixing WordPress
In reply to: Image Uploader IssuesIt looks like there is a permission problem with your self-hosted Windows server. WordPress recommends installing WordPress on Unix/Linux systems. See all the requirements here:
Forum: Plugins
In reply to: [WP Live Search] Bound search result[wp_live_search number=”3″]
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] office365 on godaddy auth errorHi guys,
I just want to give an explanation to whoever out there are still having trouble with GoDaddy hosting and Office 365 emails. One of our clients was having the same problem with contact form 7 and we fixed it.
The problem: WordPress is using wp_mail() function to send out emails. Your Office 365 server rejects them because they are considered spams.
The solution: The plugin author is correct. You must use GoDaddy SMTP relay server to send out emails for them not to be considered as spams. This is from GoDaddy:
“We do not allow you to connect to external SMTP servers from any of our hosted products (including virtual private servers, dedicated servers and cloud servers). You must use your assigned SMTP relay.”
“For sites on cPanel web hosting accounts, you would use localhost as the SMTP relay server is running on the cPanel server itself. You do not need to authenticate into the SMTP server, as the SMTP server authenticates based on the user running the script making the request.”
You just need to activate the Postman plugin (or configure it to use localhost) and it would force WordPress to use localhost SMTP server. Find your server: https://www.godaddy.com/help/what-is-the-name-of-my-hosting-accounts-relay-server-953
If this does not work, you can create an email account from the cpanel and use it for SMTP authentication.
Note 1: You also need to change the email routing option under MX Entry in cPanel to “Remote Mail Exchanger”, so that the email server will route the emails to mailboxes on Office 365 server instead of looking for mailboxes on localhost.
Note 2: You also need to add an SPF record to let Office 365 know that your localhost server is authorized to send emails on behalf of the domain name. It will look something like this: “v=spf1 a mx ptr ip4:50.75.105.175 include:secureserver.net include:spf.protection.outlook.com -all” See this link for more info: https://www.godaddy.com/help/add-an-spf-record-19218
I hope this helps some of you out there.
Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Making uploads requiredI need this as well.
Forum: Fixing WordPress
In reply to: Website Restore after installing latest wordpress updateCan you paste what is currently in your index.php file?
Forum: Fixing WordPress
In reply to: Website Restore after installing latest wordpress updateOpen this in your browser:
view-source:https://www.l12couriers.co.uk/index.htmlAs you can see, there is an index.html file that get to run before WordPress’ index.php file. That’s why you’re seeing the HTML version of the site.
Forum: Fixing WordPress
In reply to: Website Restore after installing latest wordpress updateDid you remove the content of index.php in the WordPress root directory?
Forum: Fixing WordPress
In reply to: Website Restore after installing latest wordpress updateLooks like there is an index.html file in your WordPress installation directory. Just remove it.
Forum: Fixing WordPress
In reply to: Website Restore after installing latest wordpress updateAny link?
Forum: Fixing WordPress
In reply to: Blog Page HelpEverything is an easy fix to some people… I don’t know if you know much about theming, but you can display the full post by using the_content(), then use jquery to hide part of the post, then show the full post when people click on something.
Check this out: https://jedfoster.com/Readmore.js/
This is the original code:
<p id="footer-info"><?php printf( __( 'Designed by %1$s | Powered by %2$s', 'Divi' ), '<a href="https://www.elegantthemes.com" title="Premium WordPress Themes">Elegant Themes</a>', '<a href="https://www.www.ads-software.com">WordPress</a>' ); ?></p>
Forum: Fixing WordPress
In reply to: Where are my subscribers?Hi there,
Asking question like this won’t get you any help. You need to be more clear. What kind subscribers are you talking about?
Forum: Plugins
In reply to: [W3 Total Cache] Page Cache not working with php 5.4Yeah it has something to do with GoDaddy. I downgraded PHP to 5.3 and it worked fine.