ajaxStardust
Forum Replies Created
-
Forum: Accessibility
In reply to: Trippin on a Hole in Accessibilitywhatever man. you guys made a bad decision. this thread is resolved. have a nice day.
Forum: Accessibility
In reply to: Trippin on a Hole in AccessibilityI seriously can’t believe WordPress was put into production in this state. It’s not my responsibility to ensure it functions correctly.
That hyperlink should NOT direct the user from the page. This is supposed to be an Edit mode. WordPress is so broken since that Gutenberg nonsense. I’m sorry. I know you don’t want to hear that.
The other Definition List plugin has it’s own problems, but at least it doesn’t break wordpress like this one
Indeed, you are correct, @elgameel
I see the developer has been Tip Top in tending to your issue.
Do you know much about coding? I plan to fix it, and re-publish. You can find me on Twitter if you’d like to collaborate. Not many people use the Definition List element, apparently, considering it’s not even part of the “Core” block list.
I don’t know where “Description List” came from. I never heard of that until I used this plugin. I’m sorry. I don’t care if MDC references it as such.
When you look in a dictionary, are you looking for descriptions? when you search a term via google, what is the keyword? you might be able to find info using “describe: ” via search engine, but that’s what we call an “alias”.
??
Sorry. It’s bad nomenclature. No one is going to convince me otherwise.Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 compatible with PHP 8?WordPress allegedly powers the visible internet. It’s powered by PHP. Why is there is no communication between the development communities. Surprising? Sadly, no.
Forum: Accessibility
In reply to: Trippin on a Hole in AccessibilityI was not familiar with the HTML element attribute
contenteditable
.I guess that’s the secret to “Gutenberg”. Seems like it has caused a lot of problems and so called “growing pains” in the community.
That’s all. Thank you.
Forum: Fixing WordPress
In reply to: WP Data printoutThat works.
Thank you!
Forum: Accessibility
In reply to: Trippin on a Hole in AccessibilityNo server. No Javascript. The Bootstrap CSS links remain. Everything else was placed there by WordPress block editor.
EDIT: Correction. The H1 at the top IS NOT placed there by WordPress, and it is NOT editable. No problem here here. I like magic as much as the next guy. Nothing up my sleeve. No extensions (as you can see Edge is in Private mode)I’ve never seen a plain HTML page editable like that before. Just seems weird to me.
I’ll chalk it up to magic.Take the code from the page above, and see for yourself. That’s what I just did.
https://screenrec.com/share/OxGv480CEI
Update:
This is why it’s happening.
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditablecontenteditable=true
why does WordPress add that?
- This reply was modified 2 years, 2 months ago by ajaxStardust.
- This reply was modified 2 years, 2 months ago by ajaxStardust.
Forum: Accessibility
In reply to: Trippin on a Hole in AccessibilityOh. Sorry. I didn’t realize i’d need to specify, or thought i did.
Yeah, I noticed it in a local save of a copy of a “block editor” composition. Oh, wait. I did say that. I missed the part where I said it was a wordpress install.Just seems odd to me that would be the result of basically HTML technically unrelated to a WordPress dependencies, though the primary block was created by WordPress.
Hopefully it’s not indicative of security risk yet unbeknown. Beyond that, i’m not concerned either.
Cheers!
Forum: Developing with WordPress
In reply to: Theme.json – fontFamily fontFace[]Why would you bother me to make that comment? Guy Fieri doesn’t like eggs. What does he do for a living? This is why i don’t participate in these forums.
Forum: Developing with WordPress
In reply to: Custom Theme – Using add_theme_support( ‘custom-logo’ )Hey, @bcworkz ! Hope you are well! I went w/ my brilliant idea about just linking to the customizer. I should have just done that from the beginning! (though I wasn’t able to get it to work as using
add_theme_page
for some reason. Something for another day…) .Check it out. Got the
autofocus[section]
control n everything. hee hee
??we’d talked about the CSS sub-menus in a diff post. That was actually easy as WP already has that in place (i think?). I don’t rem, i was doing a SASS tutorial. –>I know how to do it now, so… LOL!
far from complete in that vid, but that’s what I did, and that’s what they’re getting! Hope they like it. Still have to trim some fat. i burn myself out. AdHd etc (which is why– i promise you– i stay out of forums until i’m really stumped, because… [as he rambles]). You are saintly for engaging me.
I prefer working in PHP– or, you know– logic. For me, w/ front-end / CSS. I find something every five minutes that I don’t like, or that “needs fixing”. So it’s never finished.
Have a great Holiday weekend. Until next time!
??- This reply was modified 2 years, 3 months ago by ajaxStardust. Reason: RESOLVED. Thank you!
Forum: Developing with WordPress
In reply to: Custom Theme – Using add_theme_support( ‘custom-logo’ )I just thought of something. Maybe it’s just supposed to add a link on the “Appearance” tab, from the admin menu itself (e.g. to add a “logo” link there, which i can do). They have the _S theme set to enable the custom-logo functionality “out of the box”. Doesn’t really seem like that’s what they want from the instructions, but maybe that is the solution.
Forum: Developing with WordPress
In reply to: Custom Theme – Using add_theme_support( ‘custom-logo’ )If I were hiring a WP dev today, I’d want to see FSE competence.
@bcworkzI agree with you 100%! Seems kind of silly. It’s like it’s not even up-to-speed w/ the customizer. I think that’s why the guy in Stackexchange referred to it as “out of date”.
I understand that it requires using the
add_settings_field()
/register_setting()
approach to do a “theme settings” page as directed. (presumably, then a custom function would be required for actually placing it as a “logo” for a theme, instead of e.g. pulling an image as should/ could be done with more grace:$custom_logo_id = get_theme_mod( 'custom_logo' ); $logo = wp_get_attachment_image_src( $custom_logo_id , 'full' );
So I get that I can’t expect what I upload with a form field attached to the register_setting() function to be available via the get_theme_mod() function.
My problem is “where is the image” from the old-style “settings page” field i created with register_setting(), with a simple
<input type="file" name="customlogo_file" id="customlogo_field">
?The file name itself goes in the
wp_options
table just fine underoption_name
column but the actual media/ the image itself doesn’t go anywhere to be retrieved. That’s been my issue all along, and what I don’t understand how to do correctly w/ that method.The
add_settings_field()
text fields take the input and store it as desired for the Twitter URL, Addr, Phone, etc. It’s just that image. The image doesn’t upload anywhere using that method. I’ve set folder permissions to 777, and the whole nine. I don’t understand what I’m missing. That’s my problem, not how to get it into the front-end display. (sorry if i wasn’t clear on that)Does WordPress have in-built functions to prevent uploads like that now? I don’t see how that would be the case considering there are examples which do precisely as i’ve attempted. It’s time i’ll never get back (not WordPress, but this exercise). Regardless, I like to know “why?”. just my nature. It’s like getting in your car, and the radio station isn’t where you left it. “why!” lol!
WordPress is really complicated, so from my inexperience, it’s hard to say what is going on. I don’t think that image is going anywhere, but somewhere into the ether (like Chris Griffin depositing money in the bank– “and… it’s gone!”) I don’t know how to check/ debug it. It’s embarrassing.
Thanks for all of your help, @bcworkz
Forum: Developing with WordPress
In reply to: Custom Theme – Using add_theme_support( ‘custom-logo’ )Hey there, @bcworkz . Thanks so much for your reply!
Based on what i’ve learned, I know how to do it correctly (i think) for a “real world” situation, as the logo will display using the following code after uploading it via the customizer.if ( function_exists( 'the_custom_logo' ) ) { the_custom_logo(); }
Problem for my situation, i don’t think that’s the way it’s supposed to be done to “solve” this test:Please create a theme settings page (without using any plugin). Theme settings should include the following-
- Image Upload for Logo
- Phone Number
- Address Information
- Fax Number
- Social Media Links
It’s a so-called “skills test” for a job application. For my own knowledge at this point (as that’s been weeks ago), I just wanted to figure out why I couldn’t get this image part to work, according to my interpretation of the “instructions”.
My breakdown is 1.) How to correctly place the image into the uploads directory using a random form like that, and 2.) then how to link it to work w/
the_custom_logo();
function.Without being able to ask someone, “is this what you’re looking for?”, it’s kind of impossible, and probably a waste of time to be true. I just hate hitting brick walls, personally. I can do it w/ PHP, but I was trying to figure out how to do with WordPress, according to those instructions.
??I wanted to learn for “any” situation, not just some worthless test. I suppose I’ve learned how to do it. I have not learned how to pass that test, sadly.
Forum: Developing with WordPress
In reply to: Custom Theme – Using add_theme_support( ‘custom-logo’ )I’ve been told in StackExchange that my approach is “out of date” as of 2016.
Please see here
He’s basically advising what I was trying in my first post above, isn’t he?
RE:add_theme_support( 'custom-logo' );
- This reply was modified 2 years, 3 months ago by ajaxStardust. Reason: clarity