mantish
Forum Replies Created
-
chetan0412, here’s what I did:
First, replace all instances of country(ies) to state(states)
Second, delete all functions or lines where sync_states is mentioned
Third, change display_state_groups() function into this:
function display_state_groups() { global $woocommerce; $number = $this->state_group_no; $base_country = $woocommerce->countries->get_base_country(); for($counter = 1; $number >= $counter; $counter++) { $this->form_fields['states'.$counter] = array( 'title' => sprintf(__( 'State Group %s', 'woocommerce' ), $counter), 'type' => 'multiselect', 'class' => 'chosen_select', 'css' => 'width: 450px;', 'default' => '', 'options' => $woocommerce->countries->get_states( $base_country ) ); } }hope it works for you
Hi,
I modified the plugin to do what you need. It took me a couple of hours.
I only need to sell in one country so it wasn’t too difficult. Making it work for several countries would be more complex.
I’m not sure where to post all the code…is there a way to send messages to other users?
Forum: Plugins
In reply to: [Wiki] Template problemyou can use this, inside the page.php template in order to customize the template for the wikis, like choosing a different sidebar.
if (get_post_type( get_the_ID() ) == 'incsub_wiki'){@samdlaw – you just have to copy the function into the functions.php file of your theme. Add the code posted by Ron, so it works properly.
Hi evilplan,
I’m sorry to hear that it isn’t working for you.
You can find the instructions in Other notes section.I think your problems may be related with CSS. When you set it to show the title or the excerpt, the width of the li.apc_item has to be declared, so the carousel works properly.
If you still have problems, you can check for conflicting CSS from your theme or some other plugin.Hi,
It should be possible.
When you say “custom category”, do you refer to a taxonomy or a regular wordpress category?
Can you post your code, so we can see of something is wrong?Hi dgodot,
I made some changes to the function and now it’s working for me.
Here’s the code:function ds_sitewide_tags_get_comments_num($count) { global $blog_id, $wpdb, $post; $tags_blog_id = get_sitewide_tags_option( 'tags_blog_id' ); if( !$tags_blog_id || $blog_id != $tags_blog_id ) return $count; //guid format is http://{blogid}.{postid} list( $post_blog_id, $post_id ) = explode( '.', substr($post->guid, 7)); $wpdbobj = clone $wpdb; $wpdb->blogid = $post_blog_id; $wpdb->set_prefix( $wpdb->base_prefix ); $r = $wpdb->get_var( "SELECT comment_count FROM $wpdb->posts WHERE ID=$post_id" ); $wpdb = clone $wpdbobj; if (is_null($r)) return 0; return $r; }Hi Vasyl,
you were right. I created a new page and that one is shown, however the other ones are still not showing. I got no errors in the log.—
I checked your code and I think I fonud the problem. It’s in the query that gets posts without category (mvb_model_ajax.php line 641). I think the error is produced because wp_term_relationships table is connected with wp_links and wp_posts, and there are some posts with the same id as some links. However I don’t know how to fix it…
—
I deleted all links in my install and now the pages list works fine!! I think it could be a solution as long as you don’t use links in your blog
Hi,
We’re not actevily developing the plugin right now, but we try to fix any bugs and give support.I just checked the plugin with the WordPress 3.3.1 and still seems to be working fine on my tests. Loop works as expected…
If you give us more details, we may reproduce the bug. Are you using a widget or a shortcode or a php function? Can you share the code with us? Is yout site online where we can check it?
Hi,
This isn’t possible with the plugin right now.
We hadn’t thoght of the plugin as a navigation replacement.Maybe in a future version we could add something that would let you use it that way. Thanks for teh suggestion
Forum: Plugins
In reply to: [Ajax Post Carousel] Add Date in Ajax Post CarouselHi,
Right now this isn’t possible, but we’ll keep it in the wish list for a future versionYeah, it doesn’t
Now I’m using custom post types.Yeah, anyway you can do it would be great.
I’ll be looking forward to an update.
Thanks a lot!Forum: Plugins
In reply to: [Ajax Post Carousel] [Plugin: Ajax Post Carousel] Filtering by taxonomyHi nilesh.
I’m not sure if I understand you…you can choose whether to display the excerpts of the posts in the carousel. There’s an option in the widget, as well as in the other methods.Forum: Plugins
In reply to: [Ajax Post Carousel] [Plugin: Ajax Post Carousel] Filtering by taxonomyYou must set the width of .apc_item in your CSS.
It is also recommended that you set the height.
Also, the area where the carousel is inserted should be wide enough so all the items can fit horizontally