Posts by ThemeBuddies

195 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ThemeBuddies
says

Why are you calling it with the priority of 999? A wild guess is that the issue is there, get rid of that and let it use the default priority ( 10 ).

I did that because I have googled the crap out of this issue and one article suggested doing that to change when it loads.

195 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ThemeBuddies
says

Thank you everyone for your comments. I am going to start over with the javascript and give it another try.

195 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ThemeBuddies
says

@greenline, yes, I do have the wp_head and wp_footer in my theme

@billyF, I tried changing the functions as you pointed out. That didn’t work

@agusmu, zero change in changing to the code to match your suggestion. Still the exact same amount of issues. I would love to know what it is about the enqueue function that just breaks javascript.

195 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ThemeBuddies
says

can anyone tell me why when I use a script tag to load all javascript files things work perfectly fine but when I take those script tags out of the head and use wp_enqueue_script I get a bunch of TypeError: $ is not a function errors and the site crashes?

Is there a trick that I am missing?

I enclosed them in a function. Below is an example of my code

function bliss_jsscripts(){ if( !is_admin()){ wp_register_script('supersized', get_template_directory_uri() . '/js/supersized.3.2.6.js',array('jquery'), false, false); wp_enqueue_script('supersized','','',false,false); } } add_action('wp_enqueue_scripts', 'bliss_jsscripts', 999);
195 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ThemeBuddies
says

I am working on a theme and I am building my own widget that will have the option to include a few different sliders. What I want to know is how to include the javascript. If the slider isn’t present, there is no need to enqueue the js. So, in the widget, is it against the “rules” to enqueue the js from the widget? So in this case, there could be a js inserted in the middle of the page.

Is there another way to handle this issue?

195 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ThemeBuddies
says

not that it matters or that anyone would care but I hate the white background. It strains the eyes to look at it.

195 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ThemeBuddies
says

what I envision for this goes like this.

1. I find a PSDonline here that I like. 2. I buy it and code it for the fun of it 3. I put that finished, coded site online on my own personal store 4. A customer comes along and purchases the finished coded site for 100.00 bucks or more 5. I come here, purchase another license of the PSD and leave the site on my store.

Every time I would sell a site that I added to my store, I would have to come here and buy a new license. Once you purchase the license, you are buying the right to use it for commercial purposes.

195 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ThemeBuddies
says

When is it a good idea to justify text? Is this something I should do with post content? Is it better to just let it flow and break up when it chooses based on the width of the container or could I justify it? Is there a good design rule that can be applied here?

195 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ThemeBuddies
says

I too am now an Avada buyer. I have joined thousands of other and have finally taken the plunge. Does this get me into any exclusive clubs? :bigwink:

195 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ThemeBuddies
says

I am working on a theme and I have a need to check for a specific value of the default WordPress category widget. If the user un-checks the option to show category post count, I need to hide styles. I figured that the information would be stored in the meta data table or something like that and I thought I had read somewhere that there is a plugin to show all the values so that you don’t have to go hunting them down in the database. Does anyone know what I am talking about?

by
by
by
by
by
by