Posts by DanyDuchaine

210 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

I’ve had issues with shortcode loops messing with the main loops.

If you have trouble with new WP_Query($arguments) try just using the simple $posts = get_posts($arguments); then loop over the $posts array.

edit, not sure what dd_set_query is but that could be causing the problem. Also if you do the above get_posts() loop you will have to use things like foreach($posts as $post){ get_permalink($post->ID); ... because normal template tags won’t work.

Thanks DT! In fact I found the problem, I had this : dd_set_query($portfolio_query);

Wich I removed and everything work well :)

210 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

I am also experiencing a bug with my blog shortcode where the pagination (by kriesi) is rendered on top of the posts, instead to be on the bottom.

Here’s the loop : http://snippi.com/s/9mqdrwb

210 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

Ok so here is one loop I have in my portfolio shortcode : http://snippi.com/s/0pzi40n

When I use this exact loop code in the index.php just to test it, everything work fine but when it’s in a shortcode it doesn’t.

I suspect it’s the “endwhile/endif” being place before the “return $output;”

What it does is that it display the code normally but then add a new box with all of the post’s content under .. pretty damn frustrating.

Do you guys have any idea what’s happening?

210 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

I think if you make the standards to high, you will eventually end up with a marketplace where only a few designers will be able to make the grade. If that happens, then you will find more and more designs that are similar because I would believe that every designer has his/her own style. I don’t think the standards should be raised. In business, you let the marketplace decide such things. If the customers want to buy what you would consider a lower quality theme, let them. If they want to buy the higher quality theme, let them do that. Nothing is stopping you elite designers from upping the bar yourselfs. It does create more competition for you. But like you say, if you design is truly great, let the marketplace buy it.

That make a lot of sense.

210 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

ic.. or you can take advantage and get lots of themes accepted yourself and make good $ ;)

It’s not about the money.

The thing is .. it’s always been harder and harder to get theme approved over the time .. and it’s normal. If you take a look at theme uploaded 2 years ago .. they would never be approved today.

I just think it’s been a while since that bar raised a little bit .. I am not talking about drastic change .. just make it slightly higher.

But maybe I’m wrong and every theme approved belong there. I don’t know.

210 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

What is really low sales? Less then 100 the first month?

Well it’s not much about sales but maybe some kind of variety .. I think that some theme with low sales but unique design/features will sell in the long run .. but right now with the volume of theme approved, TF could be a little bit more strict.

Just a little bit you know, like .. approve 10% less theme than what is approved right now .. or even just 5% less …

210 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

That is pretty awesome :)

210 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

I am amazed by the number of themes uploaded and approved everyday on TF. Things sure changes in 2-3 years :)

I also see a lot of them with really low sales so I am wondering, maybe it would be good to have higher standards now that we have a LOT of themes on the market?

What do you guys think?

210 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

What about wp_enqueue_script( ‘jquery’ ); ? And don’t forget to set jQuery as a dependency for any scripts that are jQuery based.

Ah, that was it. I just looked at the way I was doing it on other theme and it was there, no idea why I take this off this time.

How do you set jQuery as “dependency” ?

210 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

how did you enqueue jquery?

In my functions.php I did this :

function cdfScripts() {

wp_register_script('tabs', get_template_directory_uri() . '/js/tabs.js'); 
wp_register_script('twitter', get_template_directory_uri() . '/js/twitter.js');
wp_enqueue_script('tabs');
wp_enqueue_script('twitter');

}

add_action(‘wp_enqueue_scripts’, ‘cdfScripts’);

by
by
by
by
by
by