loru88
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Parameter -f [email protected]I just found a better solution, it doesn’t need to hack core
add_action('phpmailer_init', function($phpmailer){ $phpmailer->Sender = $phpmailer->From; });place it in your functions.php 🙂
Forum: Plugins
In reply to: [Contact Form 7] Parameter -f [email protected]Hi
I recently had your same problem with tophost and contact form
the problem is from tophost, it blocks every mail sent without that parameter.
I have resolved by hacking the wordpress core:
open wp-includes/class-phpmailer.php
search the line with
public $Sender = ”;
at about line 97, this is an empty string, put your email instead and save the changement.
now you will receive email, phpmailer automatically set the -f parameter when this string is not emptywould be great to put a hook filter to control the value of that variable because at every wordpress upgrade you have to rewrite your email
ok thanks, now it work fine, but it isn’t well explained that there is an order to respect. the only problem now is the email never arrive to destination….
Sorry for the delay, me too I have WP_DEBUG on true
I have done this form
<label for="name">Nome</label> [text* id:name your-name tabindex:1] <label for="email">Email</label> [email* id:email your-email tabindex:2] <label for="subject">Oggetto</label> [select* id:subject menu-subject "Info generali" "Preventivo" tabindex:3] <p>Messagio<br /> [textarea your-message 40x10 tabindex:4] </p> <p>[submit "Send" tabindex:5]</p>it show me totally 6 notice, 4 about select.php and the last 2 about submit.php
and the html select tag isn’t printed, so the subject cannot be selectableForum: Plugins
In reply to: count only current user posts status instead of allok thanks anyway johnpeters2011 😀
I don’t remember on where source file on the net, but I read that the class WP_List_Table will bel hookable in future version, maybe the developers are still working on this.
Do you know where is the file that count the number of post queried?Forum: Plugins
In reply to: count only current user posts status instead of allSomeone can help me?…
Forum: Fixing WordPress
In reply to: disabling the RSS Feed for CMS solutionvery thank!
this code work but it remove all the feed
<?php remove_action( 'wp_head', 'feed_links_extra', 3 ); // Display the links to the extra feeds such as category feeds remove_action( 'wp_head', 'feed_links', 2 ); // Display the links to the general feeds: Post and Comment Feed remove_action( 'wp_head', 'rsd_link' ); // Display the link to the Really Simple Discovery service endpoint, EditURI link remove_action( 'wp_head', 'wlwmanifest_link' ); // Display the link to the Windows Live Writer manifest file. remove_action( 'wp_head', 'index_rel_link' ); // index link remove_action( 'wp_head', 'parent_post_rel_link', 10, 0 ); // prev link remove_action( 'wp_head', 'start_post_rel_link', 10, 0 ); // start link remove_action( 'wp_head', 'adjacent_posts_rel_link', 10, 0 ); // Display relational links for the posts adjacent to the current post. remove_action( 'wp_head', 'wp_generator' ); // Display the XHTML generator that is generated on the wp_head hook, WP version ?>and what about if I want to remove only the comments feed?
I don’t need them and I don’t want them