Posts by ChapterThemes

647 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChapterThemes says

I’m having a really strange problem with a WordPress site i’m working on.

For some reason, when i create new pages with completely different titles etc, it keeps giving it the exact same slug of some other page – and adding “-2” etc. behind it.

For example if i name the page “Themeforest”, wait a second or just save the page, the slug is “Anotherslug” – and everytime it just users “Anotherslug” and “Anotherslug-2” etc.

Anyone?

647 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChapterThemes says

down

You should try the plugins An-themes suggested

647 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChapterThemes says

Why not let people only upload and setup images which need to be in the slider?

Or isn’t it a separate module/post type or something?

647 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChapterThemes says

Maybe you should use val() to send it with the data?

data: $('input[type=\'text\'], input[type=\'hidden\'], input[type=radio]:checked.val()

Just a thought – not tested

647 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChapterThemes says

I don’t think Donations should not be used as a marketing tool. It would create an unfair competition that to my oppinion should only be based on quality.

Making people choosing favors because they maybe like the fact that an item’s earnings will partly be used for charity is not fair against people who do not want to do charity and need all of their earned money.

Getting a special tab for such thing anywhere is just not fair – no place for such thing over here i think.

647 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChapterThemes says

If you do want to go down the route of guaranteed time on the front page then there will need to be 1 of 2 changes made:

1) Reviewers can only accept X number of items per week – this will guarantee time on the front page but will annoy members who join the end of the queue and waiting 2/3 weeks to get accepted

2) Modify the homepage to give more slots for new items OR have a twitter like ajax load, where you can load more items, the older the item is the further down the load it is.

Both have downsides and both have advantages, just means something will have to give to get the guaranteed time

Point 2 sounds nice, but the fact it needs some user action i think you’re better of with letting people browse the category pages like there is now ( like wordpress > creative etc. )

Point 1 is indeed maybe a good option – but instead of letting people wait for aproval for 2/3 weeks, you already could approve an item, and then give them a date when the item will be visible. Like this people also can plan their own promotion stuff in a proper way if they want, since they know exactly when their item will be visible.

But no mather how you do it, waiting for your item to be approved and visible is always a pain since you always want it to be as fast a possible. So every way has indeed his downsides and advantages.

Maybe Envato could check the need for something like this with a survey

647 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChapterThemes says

For example a wordpress developer develop the theme in a month or two and their item only get the exposure of few hours. And sometime when reviewers work slowly it gives some items exposure for five days.

This sounds like a logical and fair thing – but i can imagine it’s a difficult thing to achieve, because maybe sometimes the que is way larger than other days. What if item 34 to 40 have had their preset time of exposure on the frontpage, but there aren’t enough newly approved items – and vice versa, than what? Empty places is not a good idea for the marketplace in general i think.

But yes, if there’s a way to get it the same for every new item that would be ideal.

647 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChapterThemes says

I think what you need is a combination of adding custom checkout fields and the use of javascript/jQuery to show/hide that field.

Now, WooCommerce has hooks to for example add your own shipping fields or adress fields. One hook is for example: woocommerce_checkout_fields.

Which can be used something like this:

add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );

function custom_override_checkout_fields( $fields ) {
    $fields['billing']['extrafield-id'] = array(

        'label'     => __('Extra field', 'woocommerce'),
        'placeholder'   => _x('Extra field', 'placeholder', 'woocommerce'),
        'required'  => false,
        'class'     => array('form-row-wide'),
        'clear'     => true
    );

    return $fields;
}

Then there’re also hooks to save the extra fields with the orders, for example: woocommerce_checkout_update_order_meta.

Something like:

add_action('woocommerce_checkout_update_order_meta', 'my_custom_checkout_field_update_order_meta');

function my_custom_checkout_field_update_order_meta( $order_id ) {
    if ($_POST['extrafield-id']) update_post_meta( $order_id, 'Extra field', esc_attr($_POST['extrafield-id']));
}

Then, to show/hide your extra fields – hide them by default with CSS, and create a jQuery script which shows the extra fields when the right shipping method is selected.

Note that these may not be the hooks you need, but i’m sure there are hooks to add the extra fields to the appropiate section.

Then i think the solution is javascript to show and hide on a certain payment/shipping select method.

good luck!

647 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChapterThemes says

Not going to be much help here, but as for checking that woo commerce exists, wouldn’t it be better to check for the class?
if( class_exists('Woocommerce') )

He’s actually doing it as woocommerce suggests:

http://docs.woothemes.com/document/create-a-plugin/
647 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChapterThemes says

Is this possible?

I see the register cpt and add_object_page functions etc. only adding the class right when ‘dashicons-’ is part of the icon parameter.

Is it possible to use other or add custom fonts to use?

by
by
by
by
by
by