chloeponee
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Add input labels to wp-comment formThanks for the swift response. I understand the nesting, but I don’t know how to translate that into PHP as I’m working from the comments.php file in WordPress rather than HTML/CSS.
Here are the relevant lines:'author' => sprintf('<label for="author">'. __('Naam') . ' <span class="required">*</span><input placeholder="%s" id="author" name="author" type="text" value="%s" %s/>' , esc_attr(__('Naam', 'loc_canon')) , esc_attr( $commenter['comment_author'] ) , esc_attr($aria_req) ), 'email' => sprintf('<label for="email">'. __('E-mailadres') . ' <span class="required">*</span><input placeholder="%s" id="email" name="email" type="text" value="%s" %s/>' , esc_attr(__('E-mailadres', 'loc_canon')) , esc_attr( $commenter['comment_author_email'] ) , esc_attr($aria_req) ),
I added the following before each of the two input tags:
'<label for="author">'. __('Naam') . ' <span class="required">*</span>
Forum: Developing with WordPress
In reply to: Add input labels to wp-comment formThanks George.
I just managed to add those two labels in using some of the PHP guidance here https://wpengineer.com/2214/adding-input-fields-to-the-comment-form/. That’s why you can see them.
However the labels seems to not appear correctly on my laptop (Chrome): https://app.gemoo.com/share/image-annotation/568516413579104256?codeId=vJ9abOeqzoKob But they look fine on yours?
What would be a better way to nest those labels?- This reply was modified 1 year, 1 month ago by chloeponee.
Forum: Developing with WordPress
In reply to: Add input labels to wp-comment formThanks for your reply. I tried the plugin but it seems incompatible with my version of WordPress/my theme so I removed it again.
I tried following the PHP procedure, but my script looks different to the one in the tutorial, so I don’t know how to change it so I can add input labels and asterisks.This is how my PHP file looks: https://app.gemoo.com/share/image-annotation/568515191098871808?codeId=vJ9abOeqzoKob&origin=imageurlgenerator
I managed to add ‘labels’ in, but they are not linked to/sitting above the input fields: https://app.gemoo.com/share/image-annotation/568516413579104256?codeId=vJ9abOeqzoKob
Any idea how to add input labels and asterisks? I don’t understand why this is not the WP default..
- This reply was modified 1 year, 1 month ago by chloeponee.
Forum: Developing with WordPress
In reply to: Content displaying in one column, instead of twoHmm… That dynamically injected inline styling unfortunately comes from my theme which is from 2016 and it doesn’t exist anymore, so I can’t get any support on that.
Not sure how I can target this inline styling to change it ?? Is it something I could find in a php file?Forum: Developing with WordPress
In reply to: Content displaying in one column, instead of twoIn that case, I think it might be my inspect panel messing things around. Thanks for checking and confirming it’s all good ??
Forum: Developing with WordPress
In reply to: Content displaying in one column, instead of twoHi, thanks for your reply.
ChloeCake is my own customised version of a commercial theme called ‘Enoki’ which I bought back in 2016. However, it is not available/supported anymore, so I am not able to contact the creator for support which I have tried before joining this forum.
I emailed Themecanon for another query a few months ago, but I haven’t had any response.Forum: Developing with WordPress
In reply to: Translating Mailchimp validationsI’m not using the Mailchimp plugin but the website itself. Thanks for sharing that link, I’ll post this query on the Mailchimp support forum instead.
Forum: Fixing WordPress
In reply to: Unable to load wp-admin due to high resource spikesHi, thanks for your reply.
I’ve talked to my host, but they couldn’t help me any further and just proposed to upgrade my hosting..The odd thing is, is that my main domain is not affected, both the website itself and the wp-admin side.. It’s just my subdomain. And this started suddenly last month.
I installed protective plugins against spam on both websites, including wordfence, cleantalk and a few more.
Forum: Fixing WordPress
In reply to: WP admin extremely slowI just noticed that the issue only occurs on my two personal devices (laptop and phone) that I have been using the past 4 months to edit and manage my subdomain.
When I log into wp-admin on my friend’s laptop, everything seems to work ok..
I tried clearing my cache with WP cache, but I’m still not able to use wp-admin on my personal devices. Of course I also tried different browsers and private windows, but no luck.
Anything else I could try?
You help is very much appreciated!
Forum: Fixing WordPress
In reply to: WP admin extremely slowThanks, however I already tried removing all my plugins, which didn’t solve the issue. Because my wp-admin keeps loading in certain areas, I’m unable to access (new) plugins and change their settings.
I had a look at my usage logs and it looks like I hit my I/O resource limits, even though I don’t have any visitors on my test website and I am not using many plugins anymore.
I think the culprit is this error:lsphp:l/public_html/test01/wp-admin/admin-ajax.php/
I googled this issue but I still haven’t been able to resolve it (eg by disabling Heartbeat API and disabling xmlrpc..
I’ve spent hours trying to fix this, but I’m at my wits end! I also contacted my hosting provided but they just told me to up my hosting package, even though I know I’m not (purposefully) using many resources..- This reply was modified 1 year, 3 months ago by chloeponee.
Forum: Developing with WordPress
In reply to: How to fix z-indexI have the same issue now with targeting the border of the input fields. I tried the following two selectors:
#firstname-pw6qk{}
And
.widget_block .style-container-shortcode input[type=text]{}
However they both don’t work. Any idea what else I could target? I’m still a beginner ??
Forum: Developing with WordPress
In reply to: How to fix z-indexThat worked, thank you! ??
Forum: Fixing WordPress
In reply to: Subdomain website suddenly replaced by main domainManaged to solve it by putting back my old wp-config and cache files from a backup I made last month!
Forum: Fixing WordPress
In reply to: Comment section input fields disappearedThat’s it! :facepalm:
Glad that’s sorted then!
Thanks both for your quick response!Forum: Fixing WordPress
In reply to: Missing editing options for postsTurns out I forgot to activate a theme-specific plugin! Doh!