CoderScissorhands
  • Member for 5 years, 1 month
  • Last seen more than 1 year ago
  • Somewhere
2 answers
7 votes
4k views
Can't extract and set SVG dimensions
Accepted answer
10 votes

I solved it!!! The filter in fix #3 (above) wasn't working because of the third condition of this if statement that triggers the dimension extraction and attachment: if (is_array($image) && ...

View answer
2 answers
2 votes
3k views
SVG image upload stopped working
Accepted answer
2 votes

By default, WP does not allow SVG uploads, and you should get that error. Preventing SVG uploads is a security feature (which I explain below). I can't help you debug your function, because that is ...

View answer
2 answers
1 votes
4k views
Stylizing external SVG files with jQuery and CSS
Accepted answer
1 votes

I have found two imperfect but functional solutions, each with its own limitations. Please note, before you can employ either of the solutions, you will need to enable SVG uploading to your page ...

View answer
2 answers
1 votes
1k views
How to identify which template WordPress's default search-form retrieves in my theme
Accepted answer
0 votes

I don't have an answer specifically about how to ID the template of the search page, but this solution will allow you to ID the template of mostly any page you are viewing, including the search page (...

View answer
2 answers
0 votes
834 views
How to edit/replace Parent functions.php function in Child Theme to add "Walker" class
0 votes

I realized an easier approach that worked that involved editing my child's header.php file Inside child's header.php file find all calls to the wp_nav_menu containing function called ...

View answer
3 answers
0 votes
2k views
Simple way to style posts of a single category differently in the loop and in single
0 votes

I found a solution that is generalizable (meaning you can use it for other categories without needing to write specific code for each), but you do have to add a bit of code to the index.php file and ...

View answer
3 answers
1 votes
565 views
Send to different single pages by category when multiple categories exist
0 votes

I think what you could do is set up a if/else statement in your index.php that calls the single .php files as template parts. Importantly you would want to put the joint condition ( blue and red) as ...

View answer
2 answers
3 votes
991 views
Identifying the priority of style.css so I can make a small CSS file load last
0 votes

The Dependency Solution One functional solution I found and successfully tested came from @helgatheviking's answer to this question. This solution involves setting a dependency on small CSS file (...

View answer