Reputation
604
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
8 23
Newest
 Yearling
Impact
~66k people reached

Nov
8
comment Plugin: Relative URL to images in another folder accessed inside a JS file
HOLY CRAP! I have been searching for this solution for so long! Thank your for sharing
Sep
19
comment Custom WP_Query Not Displaying Anything
do you have a template called content-page-fullwidth? What happens if you replace get_template_part( 'content', 'page-fullwidth'); with the_content(); ?
Sep
18
comment custom loop issue
I used the attached media button in the editor to add the audio. It makes an audio html tag in the content. The other way I found that could work to get the url is by using get_post_meta(get_the_ID()); this produces an array that has the data I want, I just haven't been able to figure out how to access the array yet.
Sep
17
comment custom loop issue
The loop does work. If I add the_content(); then I get what should be there. I attached an audio file to the post and I am trying to get just the url of the file. instead, the content returns an audio tag with all the information some of which I want.
Sep
16
comment custom loop issue
No joy there. Good suggestion though.
Aug
15
comment can't get errors
Thanks for the tips. Still not working.
Aug
11
comment how to include js in widget?
yes, I thought about doing it that way. I just thought maybe there was another method that I didn't know about. In the End, that is what I did. this seems to have accomplished what I wanted.
Jun
28
comment problem getting audio url
I do have debugging turned on. I am not receiving any error messages
Jun
28
comment problem getting audio url
all are public, all are published, all have audio files attached. If I remove the foreach that gets the urls, then all 6 show up.
Jun
28
comment where to change text for header?
I was editing the wrong file. When you change the dimensions in custom-header.php which is located in the inc folder, it changes automatically. In my question. I wanted to change the text not the actual dimensions of the image.
Mar
13
comment debugging js scripts
My issue seems to have resolved itself. I added some versions to the scripts rather than leaving it blank and that seems to have gotten them working.
Feb
24
comment debugging js scripts
I am going to take things back to the beginning to when they were working with the script tags in the header. Then I will fix things up the way you suggested by only using the wp_enqueue_function and then I will edit my post above. Give me some time to make that change. Thank you for your comments. I have found them to be helpful.
Feb
17
comment debugging js scripts
why would I get a bunch of errors saying TypeError: $ is not a function when using enqueue but I don't get any of that when using a script tag. I just don't understand why putting a script in the header works just fine yet using enqueue to do the same thing causes type errors.
Feb
17
comment debugging js scripts
I will try the wp_script_is function to see if all of them are working. I do believe they are all enqueued. I counted.
Feb
17
comment debugging js scripts
Thanks for the comments. I am working on your suggestions. I added to my question above to show more. I have tried setting the version to false in both the register and enqueue; however, the version is still there in the source code. I am calling everything from the functions.js file, wp_debug is set to true. I do not get any php errors. I have got some in firebug now and I think it might be related to the dreaded document.ready(function stuff. I have tried many different ways of wrapping these functions to get them to work
Jan
16
comment How to add category to: 'wp-admin/post-new.php'?
I thought by adding the code into functions.php that when I tick a category, it would add that parameter to the end of the string like in the photo above. I am trying to add a metabox to only a specific category. Then I will use $_GET to test if I am in the correct category to load the metabox. When I tried the code and tried to replicate what is in your photo above, nothing happened. All I got was wp-admin/post-new.php. I am trying to get wp-admin/post-new.php?post_cat=audio
Jan
16
comment How to add category to: 'wp-admin/post-new.php'?
I tried this solution by pasting the code into my functions.php file and it didn't work. Am I missing something? Do I need to do more like call the function to make it do the job?
Jan
15
comment getting post data in functions.php
no joy. I really don't understand this. I have this code working in a different theme on another install. Maybe something else is going on. I will have to look into it further
Jan
15
comment getting post data in functions.php
says Post not found in global space
Jan
15
comment getting post data in functions.php
no, unfortunately it isn't working. It's like the post variable is empty. The errors are gone but the metabox does not show in any category