ewroman
Forum Replies Created
-
Forum: Hacks
In reply to: Widget Options Saved, But Not Displaying On Sitetry to change this
add_action( 'widgets_init', 'odai_author_widget_register' ); function odai_author_widget_register() { return register_widget( 'OdaiAuthorWidget' ); } class OdaiAuthorWidget extends WP_Widget { function __construct() { parent::__construct('odai_author_widget_', 'Odai Author Widget', array('description' => __( "Displays post author's Gravatar photo and biographical info", 'text_domain' ),) ); }
to this
add_action( 'widgets_init', 'odai_author_widget_register' ); function odai_author_widget_register() { return register_widget( 'WP_Widget_Odai_Author_Widget' ); } class WP_Widget_Odai_Author_Widget extends WP_Widget { function __construct() { parent::__construct('odai_author_widget_', 'Odai Author Widget', array('description' => __( "Displays post author's Gravatar photo and biographical info", 'text_domain' ),) ); }
Forum: Plugins
In reply to: [Euro FxRef Currency Converter] how to include inside a pageok I have found the solution;
<?php echo do_shortcode(“[currency amount=’1′ from=’EUR’ to=’TRY’ show_from=false round=false append=” round_append=” iso=false]”); ?>
try this.
if (wpsc_category_id() == 6) { // do the stuff }
Forum: Fixing WordPress
In reply to: wp E-commerce not showing all picsare images exist?
check upload folder for images you want. also check for other sizes of an image.
e.g. you have uploaded an image (imageA.jpg) and wordpress makes different sizes (sizes that you configured on settings page) of same image. ( imageA.jpg, imageA-40×40.jpg, imageA-120×100.jpg … )
may be images that your code needs arent exist. (eg. you see “imageA.jpg” in your folder but code needs imageA-40×40.jpg)
Forum: Plugins
In reply to: [plugin: wp e-commerce] Impossible to change languagefor wp ecommerce, language file name is like that;
wpsc-nl_NL.po wpsc-nl_NL.mo
and for wp-config.php file
define('WPLANG', 'nl_NL');
should be like this.
I think you forget the wpsc prefix.
try this.Forum: Plugins
In reply to: [WP eCommerce] Conflict between 3.8.9.1 and JetPackI have uninstalled jetpack 2.0, and installed jetpack 1.9.2 version.
then I deactivated all plugins (including wp e-commerce).
Activated jetpack 1.9.2, autoritized it.Activated wp e-commerce then,
Activated all other plugins.Now I can see products page and can use jetpack.
Turning jetp(b)ack solved for now.
(I dont think to try other solution)Forum: Plugins
In reply to: [WP eCommerce] Conflict between 3.8.9.1 and JetPackI also have same problem.
Asked my host for problem, he says jetpack runs with cgi mode, with fastcgi mode you cannot connect.
I didnt try to turn my settings (I will ask host to change mode from fastcgi to cgi). maybe we get a solution.