Posts by ThemeBuddies

196 posts
  • 4 Years of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
+1 more
ThemeBuddies
says

I am curious what the best way to start a new WordPress layout is. For example. Say that someone gave me a fully coded HTML layout. All I have to do is code it into WordPress. I usually start by taking the 2014 or 15 theme, gut it and code my theme using one of those as the backbone. This leaves the problem that I usually have to spend significant time coding the default stuff like the galleries, comments….bla, bla,bla.

I am looking for a better way. A responsive way that doesn’t have a framework that I will need to disable. I am trying to get away from the bloated admin panels with a billion options that you have to spend weeks figuring out how to use. I think the customizer and a great page builder might be able to solve my option menu issues.

so, how do you start?

196 posts
  • 4 Years of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
+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.

196 posts
  • 4 Years of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
+1 more
ThemeBuddies
says

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

196 posts
  • 4 Years of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
+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.

196 posts
  • 4 Years of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
+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);
196 posts
  • 4 Years of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
+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?

196 posts
  • 4 Years of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
+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.

196 posts
  • 4 Years of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
+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.

196 posts
  • 4 Years of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
+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?

196 posts
  • 4 Years of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
+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:

by
by
by
by
by
by