Posts by Smartik

1070 posts
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
+1 more
Smartik says

Thanks for your quick help, do you have a sample site link that you built with this code? or any themeforest theme?

Unfortunatelly no. But it should work, because I did something similar in one of my personal projects, long time ago.

BTW, the WooCommerce is a custom post type, so all you need there is only the WP Codex.

1070 posts
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
+1 more
Smartik says

You can do it with WP_Query.

Here is a quick help.
$args = array(
    's' => 'Keyword to search',
    'post_type' => 'product',
    'tax_query' => array(
        array(
            'taxonomy' => 'product_cat',
            'field' => 'term_id',
            'terms' => array( 'category_id_here' )
        ),
    )
);

$query = new WP_Query( $args );

while( $query->have_posts() ) {
    $query->the_post();
    echo '<li>' . get_the_title( $query->post->ID ) . '</li>';
}
wp_reset_postdata();

Build a form, that will redirect on a page containing this query and use add_query_arg to remember the sesion.

Cheers. ;)

1070 posts
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
+1 more
Smartik says

Show the HTML source as well. Or better create a Fiddle. :)

1070 posts
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
+1 more
Smartik says

I just want to mark that @aron66’s answer is correct.

@miseld, the rating is one.

1070 posts
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
+1 more
Smartik says

Is thr anything wrong?

Of course not, just make sure you use the right word when talking about a TF item. :)

1070 posts
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
+1 more
Smartik says

From affiliates you can earn 30% from the first deposit of the refered user. Here the word deposit is equal to purchase. So, I think is better to illustrate with some examples:

  • Ex. 1: If the user deposit 20$ and even if do not purchase anything, you still get 20$-70% = 6$
  • Ex. 2: If the user purchase an item directly, this will be the item price + 2$. Suppose the item costs 15$, then the user will pay 17$ and affiliate earning will be 5.1$.

Answer to your question. If the user purchase directly the videohive and audiojungle items, you’ll get the affiliate commision for the first purchase, only. That means if the first purchase is from audiojungle and the item costs 6$ you’ll get 1.8$ and nothing for the second purchase from videohive.

I hope it’s clear now.

Best regards, Andrei.

1070 posts
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
+1 more
Smartik says

Hi,

Actually I dont see any design same as trip advisor but you can have a look at this theme

http://goo.gl/hzvsMj Not sure if it fulfill your requirements

Theme? That’s a template not a theme.

1070 posts
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
+1 more
Smartik says
1070 posts
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
+1 more
Smartik says

@CoderBoys,

  • add layer slider
  • Make it full width instead of boxed layout
  • add drop down menu, i recommend Mega Menu
Not valid points and they have nothing to do with the rejection.

@simpletechs, you nust work on the following:

  • Typography
  • Spacing
  • Color scheme

Right now it looks like a free theme. Just ask yourself, what does “premium” word means. :)

Best regards, Andrei.

1070 posts
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
+1 more
Smartik says

Is that a real problem? Buyer bought your theme, he can do whatever he need. If you don’t want to support it because of religion, then at least tell him to use Envato Studio.

The buyer bought a license to use the theme, not the theme itself. And because is a license he must follow the item usage rules.

by
by
by
by
by
by