joshgarner
Forum Replies Created
-
Forum: Themes and Templates
In reply to: My Very First Theme, And a Few QuestionsScratch that, sorry. It appears that that is used to ensure that HTML is not placed into the field.
Forum: Themes and Templates
In reply to: My Very First Theme, And a Few QuestionsMark,
In this code, there is a part that “sanitizes” the input. I assume this is to help with the apostrophes causing issues. I just have a quick question. In the code currently is:
// Say our text option must be safe text with no HTML tags $input['sometext'] = wp_filter_nohtml_kses( $input['sometext'] );
So, I would have to add one for each input I create, yeah? This is relating to the first link you sent. I already like this method a lot better. It’s a little cleaner and easier for me to understand what’s going on.
Forum: Themes and Templates
In reply to: My Very First Theme, And a Few QuestionsAwesome. Thanks, Mark. Let me check that out.
Forum: Themes and Templates
In reply to: My Very First Theme, And a Few QuestionsHey esmi,
Thanks, I think that is what I’m looking for. At least it seems to be. I’m still learning PHP as I go, so it’s a bit out of my ability at the moment. I think what I’m looking at, according to the descriptions is using
esc_html( $text )
but I’m just not sure how to implement it yet. But I’m pretty sure that’s exactly what I’m looking for. Thanks, esmi.
Forum: Themes and Templates
In reply to: My Very First Theme, And a Few QuestionsYeah, that’s bugging the hell out of me right now. It appears any time there’s a quotation (“) or apostrophe (‘) input into any of the fields on my admin theme options page.
There are a few threads out there dealing with the same issue, but they all revolve around specific plugins. I’m apparently going to have to dig pretty deep to fix that as I am very novice in the ways of PHP.
Man, it sure is ugly though.
Forum: Themes and Templates
In reply to: My Very First Theme, And a Few QuestionsWell, I wish I could take credit for the aesthetics, but it was that of a friend’s. I just broke it up, made it a WP theme and added some functionality (I’ve always been partial to “business” type themes).
But thank you very much for the complements. I’m really enjoying myself, and the community is pretty B.A.
Forum: Themes and Templates
In reply to: My Very First Theme, And a Few QuestionsThat helps a lot actually. Thanks a ton. And thanks for the compliment.
This is exactly the type of stuff I need. I’ll have most if not all of this done by tonight.
Thanks again. I appreciate it.
Forum: Themes and Templates
In reply to: Looking for Tuts, but don't know the proper term to searchAwesome, thank you, Josh. I appreciate it.
Forum: Themes and Templates
In reply to: Looking for Tuts, but don't know the proper term to searchIn point of fact, I believe it will. Thank you very much, deew.
Forum: Themes and Templates
In reply to: Looking for Tuts, but don't know the proper term to searchMy apologies. This is what I was looking for. Sorry.