enricotv
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Date _format_ not workingSolved, sorry
Forum: Plugins
In reply to: [Contact Form 7] Email submitted converted in UPPERCASE except email and urlHi,
I tried with this code change but the form is not submitted when clicking submit. Where is the problem?
Thank you
add_filter( 'wpcf7_mail_tag_replaced', function( $replaced, $submitted, $html, $mail_tag ) { if ( is_string( $submitted ) ) { $replaced = strtoupper( $submitted ); } if ( 'EMAIL' == $mail_tag->field_name() ) { if ( is_string( $submitted ) ) { $replaced = strtolower( $submitted ); } } return $replaced; }, 10, 4 );
Forum: Plugins
In reply to: [Contact Form 7] Email submitted converted in UPPERCASE except email and urlThank you,
I’ve read the link but unfortunately I’m newbie with php so I don’t know precisely the syntax and tags. Could you please help me in a little more detail?
Thanks a lot
Forum: Plugins
In reply to: [OneSignal - Web Push Notifications] Is it possible to delay a notification?Hello,
is there no workaround to do it by modifying the plugin code in my installation?
Thank you for your reply
EnricoForum: Plugins
In reply to: [OneSignal - Web Push Notifications] Is it possible to delay a notification?I’ve found this
https://documentation.onesignal.com/docs/sending-notifications#step-3-scheduling
but I would like the notifications of published articles of a certain category to be postponed in 90 daysThank’s nK,
i solved the problem, it was a conflict with permalink managerThe problem is with permalink manager, slugs not recognized
Another idea would be to duplicate the widget and leave one unchanged and make the change to the wpr-grid.php to the other.
Kind regards- This reply was modified 2 years, 6 months ago by enricotv.
Thank you @rubeushagrid13,
unfortunately it does not work because the widget is present in several pages visible both by logged in and not with different types of posts and categories.
I think the best strategy is to go and modify the code under the ‘options’ in order to have the choice “Current logged in user” as well as the names of the users.$this->add_control( 'query_author', [ 'label' => esc_html__( 'Authors', 'wpr-addons' ), 'type' => Controls_Manager::SELECT2, 'multiple' => true, 'label_block' => true, 'options' => Utilities::get_users(), 'separator' => 'before', 'condition' => [ 'query_source!' => [ 'current', 'related' ], 'query_selection' => 'dynamic', ], ] );
Kind regards
I added the code above but I actually only see the posts of the current user while I need those of the site admin to show as well
I found it on wpr-grid.php of the royal plugin, but I think entering that code will affect every widget on the site, I’m doing it wrong?
Thank you Nick
for your reply, but where should I go to look for this code?
On functions.php or in a template page? if I add it to functions.php it will take effect on every page of the site- This reply was modified 2 years, 6 months ago by enricotv.
Thanks @matheusfd
I’m not sure I understand your instructions well, however, I’ll try my hand.
Where should I save the /givewp-iframes-styles.css file? In my theme’s directory?
Is it necessary to rewrite all the css instructions of give-sequoia-template-css or only the ones that I am interested in replacing?
.give-donor-dashboard-donor-info__avatar, .give-donor-dashboard-tab-menu a:first-child, .give-donor-dashboard-logout {
display:none; }Enrico
- This reply was modified 2 years, 7 months ago by enricotv.
- This reply was modified 2 years, 7 months ago by enricotv.
- This reply was modified 2 years, 7 months ago by enricotv.
- This reply was modified 2 years, 7 months ago by enricotv.
- This reply was modified 2 years, 7 months ago by enricotv.
- This reply was modified 2 years, 7 months ago by enricotv.
- This reply was modified 2 years, 7 months ago by enricotv.
- This reply was modified 2 years, 7 months ago by enricotv.
I specify that the dashboard is in a page via shortcode with accent color customized.
- This reply was modified 2 years, 7 months ago by enricotv.
Forum: Plugins
In reply to: [Contact Form 7] Default value from a php functionI also have a javascript function that returns the number like the php function, so I could use that if it’s more simple