ActiveDen

Posts by pogoking

690 posts
  • Has been a member for 4-5 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 10 and 49 users
pogoking says

I don’t believe it’s needed local, as I bought 2 themes last week, and both are online only docs (open the local documentation html and it opens the website (uses a meta redirect).

Now you’ve got me confused. :( Can someone from staff chime in and confirm this?

690 posts
  • Has been a member for 4-5 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 10 and 49 users
pogoking says

Thanks for your replies! I think I will include a basic documentation in the theme package to satisfy ThemeForest requirements and will add a huge info box at the top with link to my WordPress-based knowledge base with more advanced topics in it.

BTW I think that the offline documentation requirement should be cancelled. If someone works on a website he probably should be connected to the internet. Docs for WP themes can be pretty complex and it’s easier to maintain them online with a CMS.

690 posts
  • Has been a member for 4-5 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 10 and 49 users
pogoking says

Hello everyone!

Is it now allowed to upload a theme with documentation in online-only form? I will be uploading a theme with pretty complex documentation and maintaining all the files offline will be a huge pain in the ass. Last time I released a theme there was this requirement to include documentation in the theme package. I hope that this has changed now!

690 posts
  • Has been a member for 4-5 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 10 and 49 users
pogoking says

In the theme that I am now developing I decided to use a pure JavaScript solution and used a script called Picturefill. It mimics the proposed picture HTML element. The WP Retina plugin is great, but its only downside is that it only supports retina images, not responsive images. There’s no need to load a 1500px wide image on a mobile device that would otherwise need a 540px wide image. Loading such a huge image on, let’s say, iPhone 4 would not only eat a lot of bandwidth and take a lot of time, but can also dramatically decrease the performance of your website.

690 posts
  • Has been a member for 4-5 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 10 and 49 users
pogoking says

Right now the Extended Licence doesn’t grant you any redistribution rights. To include a plugin with a theme you have to make an arrangement with the plugin author outside the marketplaces.

690 posts
  • Has been a member for 4-5 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 10 and 49 users
pogoking says

And if any one feels like they want to try something else feel free to ask me. I will be the first buyer for theme. :D

Hello Erunix, could you please contact me via contact form on my profile page? Don’t want to hijack this thread and there is no way to contact you. :)

690 posts
  • Has been a member for 4-5 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 10 and 49 users
pogoking says

Sorry, I assumed you were talking about WordPress. :) Don’t know about Magento, though, but if it is bundled with it’s own version of jQuery then I think the situation would be similar to WordPress.

690 posts
  • Has been a member for 4-5 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 10 and 49 users
pogoking says

Not really as you should never deregister WordPress’ jQuery.

690 posts
  • Has been a member for 4-5 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 10 and 49 users
pogoking says

Oh, I know what might be wrong. The ‘_wp_page_template’ returns the file name with ’.php’ at the end, e.g. ‘template-portfolio.php’, while the get_template_part function accepts the template name without ’.php’ at the end. You will have to strip that part and you’ll be good to go.

690 posts
  • Has been a member for 4-5 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 10 and 49 users
pogoking says

Well, you get duplicated posts because you run the loop twice… You have pretty much answered your question. You just have to either modify the main query or run a custom one, like this:

$args = array(
    'post_type' => 'page'
);

$page_query = new WP_Query( $args );

if ( $page_query->have_posts() ) : while ( $page_query->have_posts() ) : $page_query->the_post();

$template = get_post_meta( $post->ID, '_wp_page_template', true );

// If the page doesn't have any template assigned - display the default page template
if ( $template == 'default' )
    $template = 'page.php';

get_template_part( $template );

endwhile;
endif;

That’s pretty much it.

by
by
by
by
by