kevin heath
Forum Replies Created
-
Forum: Plugins
In reply to: [WP eCommerce] Complete rewrite with no documentation == stay awayHi
I don’t think you need too much documentation. Now that wp ecommerce is custom posts you can do a lot of what you need using standard wordpress development and codex.
All you’ve got to do is find the hooks to use.
Kevin
Forum: Plugins
In reply to: WP e-Commerce working with WP Version 3.1.1Well I’m pretty happy with the way wp-e-commerce 3.8 runs.
I’ve had no problems with it, just tweaked a few files to get extra functionality and there’s lots of power with wp-ecommerce being custom posts.
If you know your way around wordpress then I don’t think there’s much to worry about.
kevin
Forum: Fixing WordPress
In reply to: does wordpress now search all custom posts types by defaultHi Mark
thanks for that. It’s just that I vaguely remeber that I used the post type all option at one stage to include wp-ecommerce products in the search but I just could not remember which function file I played around with ??
Good to know that custom post type is now searched by default.
thanks
kevinForum: Fixing WordPress
In reply to: 2 problems with calling author commentsOK no problem I’ve sorted both situations out. phew.
This is the code to diplay the last 10 comments made for an author that you can put on author.php
Obviously if you want more than 10 comments to show then change the LIMIT number to whatever you want.It looks like that the default comment excerpt is set to 20 words which may be a little to small. I’m guessing Ill need to sort out a fnction to change it as I don’t want to change wp core files. Hope the code is of use to someone.
<? if(get_query_var('author_name')) : $curauth = get_userdatabylogin(get_query_var('author_name')); else : $curauth = get_userdata(get_query_var('author')); endif; $querystr = " SELECT comment_ID, comment_post_ID, post_title, comment_content FROM $wpdb->comments, $wpdb->posts WHERE user_id = $curauth->ID AND comment_post_id = ID AND comment_approved = 1 ORDER BY comment_ID DESC LIMIT 10 "; $comments_array = $wpdb->get_results($querystr, OBJECT); if ($comments_array): ?> <ul> <? foreach ($comments_array as $comment): setup_postdata($comment); echo "<li><a href='". get_bloginfo('url') ."/?p=".$comment->comment_post_ID."'>Comment on ". $comment->post_title. "</a><br />". get_comment_excerpt() . "</li>"; endforeach; ?> </ul> <? endif; ?>
Forum: Plugins
In reply to: Custom Header Overriding Image on Product Pagethis is a seriously much better way to deal with it
https://www.pramudita.com/duplicate-header-on-wp-e-commerce.html
kevin
Forum: Plugins
In reply to: Custom Header Overriding Image on Product PageYou could try this which works for my child themes of twentyten.
You will probably have to change the theme call to the one that you use.
It does not stictly solves the problem but resizes the custom header on the single product page to 1 pixel by 1 pixel so that it is not noticable.add_filter('twentyten_header_image_height','my_header_height'); add_filter('twentyten_header_image_width','my_header_width'); function my_header_height($size){ return 1; } function my_header_width($size){ return 1; }
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Field (PostName)use this plugin add on
https://www.ads-software.com/extend/plugins/contact-form-7-dynamic-text-extension/
check to make sure it’s not the problem with internet explorer browser.
if your page works ok with firefox or chrome then you need to use the fix posted above to tackle a bug to work with IE.
kevin
Hi
I have a hack available for doing that if you need it.
https://wildlifenews.co.uk/2011/using-shortcodes-in-wp-ecommerce-3-8/Forum: Plugins
In reply to: WP e-commerce – how to get products onto WP pageHi
if it’s onto actual wordpress posts and pages you want to put the product on then wp ecommerce 3.8 adds an additional button to your tinymce editor.
it amy be in the top row and looks like a couple of credit cards. if you mouse over it comes up saying add a category. It’s not just categories though you can add the short code for different products as well.
hope that helps
Kevin
Forum: Plugins
In reply to: need a plugin to remove categories in URL for WP 3.0 and Higherhi
I’m probably being a bit silly but have you tried using custom structure in your permalinks settings?
or does the FV plugin over-rule these settings?
Kevin
This is the first time i#ve come across problems with microkid.
I think it’s a great plug-in. I’ve never had any problems with it.
microkids code is pretty sound as far as I can see. I went through it when I modified it to display thumbnails and to set a maximum number of links on reciprocal posts.I have alomost 40 plugins operating on one of my sites without any conflicts. The only thing i can think of causing any problems is theme compatibility.
It’s always worth testing by switching your theme back to the default 2010 wordpress theme and trying to use the plugin.
Kevin
Forum: Plugins
In reply to: The Best E-Commerce Plugin for WP3Hi
I like the wp ecommerce 3.8 now that it’s moved over to custom posts types it’s so easy to mod and give it real power.
do a few mods and you really will like it. I’ve added a tinymce to the additional descriptions field to help with the styling of my products. I’ve also done a mod to allow me to add shortcodes to the product page so I can use loads of different plugins such as nextgen. I’ve also done a quick mod to allow microkid related posts plugin to work.If you want to blur the lines between shop and blog and get close integration then wp ecommerce is the way forward – but you will need a few tweaks to the code to release it’s power.
Kevin