rocketpig3
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] Disallowing calculation when fields not filled inA: The message is displayed when the form is being submitted or the field loses the focus without ticking any choice.
This does not occur for my radio select fields unfortunately, even with that HTML field script in use.
Do you mind if I email you the URL?
Forum: Plugins
In reply to: [Calculated Fields Form] Disallowing calculation when fields not filled inOK @codepeople that makes sense.
Is it possible to make radio select fields display a red “This field is required” notice when not filled in?
On my form, this message will appear when I have not selected one of the checkboxes in the checkbox field, but leaving the radio selects blank will not force the form to print a message, even though they are required and have the asterisk.
I have tried unchecking “Allow untick choices” but this has not worked.
Thanks.
Forum: Plugins
In reply to: [Calculated Fields Form] Disallowing calculation when fields not filled inThanks @codepeople.
So if I wanted to use option one, but include an error message like “Please fill out all required fields”, I would have to have this as an HTML field and then show it based on the IF statement, is that correct? Or is there a better way of doing it?
Thanks.
Forum: Plugins
In reply to: [Simple Author Box] Stopping template changes with updatesI’m just not sure how these changes work.
This code will add the author title:
function custom_author_html() { return "<span>Author of this post:</span>"; } add_filter('sabox_author_html', 'custom_author_html');
This makes sense.
So what would I add to my functions.php to replace line 26 in the template with this, as per the second thread?
$sab_author_link = sprintf( '%s', esc_html( get_the_author_meta( 'display_name', $sabox_author_id ) ) );
Something like:
function custom_author_html() { $sab_author_link = sprintf( '%s', esc_html( get_the_author_meta( 'display_name', $sabox_author_id ) ) ); } add_filter('sabox_author_html', 'custom_author_html');
I feel like this is incorrect. Maybe it isn’t.
Thanks.
Forum: Plugins
In reply to: [Simple Author Box] Stopping template changes with updatesThanks. Do I need to do anything to specify where the code is placed? Also, will this work for replacing line 26 with this code?
$sab_author_link = sprintf( '%s', esc_html( get_the_author_meta( 'display_name', $sabox_author_id ) ) );
- This reply was modified 5 years, 4 months ago by rocketpig3.
Hi,
I didn’t want to post my URL here (can’t edit posts) so I emailed it to [email protected] – if that’s the wrong email address please let me know.
The grid can be found at the bottom of the homepage.
Thanks so much!
Forum: Plugins
In reply to: [Autoptimize] Autoptimize removing GA content experiment codeThanks Frank, the noptimize tags worked a treat.
Forum: Themes and Templates
In reply to: [GeneratePress] Logo padding on mobileThat did the trick, thanks so much!
Forum: Themes and Templates
In reply to: [GeneratePress] Logo padding on mobileSorry I’m just on a local environment (XAMPP) at the moment as I’m not quite ready to make the site live. Should that code be working? I’ve used Simple CSS to make other minor changes to the theme. If you need to see the site what would be the best way to share it? I’ve messed with free webhosting before and it was a real pain.
Is there a method to alter the padding on all devices to see if that solves the problem? It’s a bit to much for my liking on the desktop version too.
Thanks.