Jonas Xander
Forum Replies Created
-
Forum: Plugins
In reply to: [Related Posts by Sovrn] Changed thumbnail size, regenerated, now no imagesSilvo, it could be due to my custom theme.
Before attempting just your settings, I reverted back to native values of the plugin (reverted changes done in config.php and the vertical-m.css), and the thumbnails were out of place.
The only thing I didn’t change was the thumbnail settings on Settings > Media (I kept them at 200×150 in the experiment). But as stated by Joe, that probably didn’t make a difference.
In either case, all good, it works when I do it my way (config.php and vertical-m.css changes).
The error could well be on my end, but for the purposes of improving your plugin, if you wish, that is, you can ask for my URL, just contact me at
jpaportugal*at*gmail*dot*com
Forum: Plugins
In reply to: [Related Posts by Sovrn] Changed thumbnail size, regenerated, now no imagesCool, good to know, Silvo.
I’ve done it the hard way, so no need to go back myself, but that link will prove useful to other people who can do so easier following your instructions.
Those instructions by the way, don’t work for me, as my thumbnails aren’t square (eg, 333×333), they’re rectangular (eg, 200×150). I just tried reverting the changes I did and just adding the custom code into the Advanced Settings and it messed up my theme.
All good though, I just reverted back to the changes I did on config.php and vertical-m.css.
Forum: Plugins
In reply to: [Related Posts by Sovrn] Changed thumbnail size, regenerated, now no imagesHi Joe and Silvo.
Joe explained the issue pretty well, I was looking for a way to fix this, and to add to what Joe wrote, here’s what you need to do to customize the thumbnail sizes of related posts.
First, go into the plugin’s config.php (pluginNameFolder/config.php) these lines to whatever width or height amount you want (I chose 200×150, native was 150×150).
define('WP_RP_THUMBNAILS_NAME', 'wp_rp_thumbnail'); define('WP_RP_THUMBNAILS_PROP_NAME', 'wp_rp_thumbnail_prop'); define('WP_RP_THUMBNAILS_WIDTH', 200); define('WP_RP_THUMBNAILS_HEIGHT', 150); define('WP_RP_CUSTOM_THUMBNAILS_WIDTH', 200); define('WP_RP_CUSTOM_THUMBNAILS_HEIGHT', 150);
Then, either go to the plugin’s folder pluginNameFolder/static/themes/vertical-m.css and change the widths and/or heights of “ul.related_post li” and “ul.related_post li img” or, better yet, go to the plugin options on your dashoard and there will be an Advanced Settings section where you can change the previous values to the width or height you wish. In my case I changed them to 200×150 as well, and just in case, I went into Settings > Media and chose 200×150 as the thumbnail size.
Hope that helps the lurkers and everybody else.
Ok, thank you for the clarification.
Yep, see above ??
Yes, I was in the wrong settings.
EDIT: It works, thanks. Just retrieved my sandbox API username, password and signature and it took me to paypal for a test.
By the way, I noticed[…]
EDIT2: Yes, I cut it off so I could edit the post quickly, so that you wouldn’t spend time looking for something that was my error. I edited this post previously writing that it “still didn’t work”, but then I FINALLY found my sandbox credentials here: https://developer.paypal.com/webapps/developer/applications/accounts and had to come here to edit the post.
EDIT3: Ok, so I noticed a warning that I’m using both Paypal and Paypal Express Checkout (after enabling Paypal Express Checkout in WooCommerce Settings). Is it ok to have both? It seems to be working for me.
Hi angelleye, I went to WooCommerce > Settings > Checkout > Paypal ( this is where I also have my API credentials, API username and API password). In there I set “Activate logs”, then tried to buy the product and received this email.
There is a problem with your PayPal Express Checkout configuration. SetExpressCheckout API call failed. Error Code: 10002 Error Severity Code: Error Short Error Message: Authentication/Authorization Failed Detailed Error Message: You do not have permissions to make this API call
I think I entered my API credentials right, but apparently I’m not?
EDIT: I may have to create a new API? Should it be a REST or Classic API? I’m using WooCommerce Subscriptions, but I’m also accepting manual payments (majority are manuals).
Forum: Plugins
In reply to: [WooCommerce] Weight and region based shipping?radam2k, I’ve accomplished what I needed with a Table Rate Shipping v2, it’s a WC extension.
Thanks for the recommendation though.
Slobodfan and aliendna51, perhaps there is no option in the plugin dashboard, but you could alter it on the php template or the plugin itself?
Here’s a thread that might help.
Forum: Plugins
In reply to: [WooCommerce] Add to cart buttons not aligningterrytsang’s solution works fine, tankh you. Change around the height to fit your theme if you think the height is too big or too small.
Forum: Plugins
In reply to: [WooCommerce] How to make Product Categories widget expandable/collapsableBolivares, I’ve been searching for something like this as well, and I was a little surprised WC wouldn’t add this on their own.
Like you, I wanted to display, on my sidebar widget, the categories and subcategories in an accordion (collapsable/expandable) fashion.
So after some digging, I found a way. Here’s what you can do.
Get jQuery Accordion Menu;
Create a menu with all Woocommerce categories and sub categories;
Go to Widgets, drag the jQuery Accordion Meny into a sidebar;
Choose the menu you created earlierForum: Plugins
In reply to: [Achievements for WordPress] Sports league leaderboard?Thank you for clarifying, Paul.
Forum: Plugins
In reply to: [Achievements for WordPress] Sports league leaderboard?Paul, thanks for the reply.
I’m still not sure how do those websites show their rankings, https://imgur.com/xq0H3pj
Do you think it’s pulling data from some API or external website? Would this be possible with your plugin?
Forum: Plugins
In reply to: [WP Job Manager] Warning: sprintf() [function.sprintf]: Too few argumentsHey Mike, thanks.
You were right. I opened the .po on Poedit and searched for that line (line 276), and indeed, there was an extra character in there, so instead of:
%s
There was:
%2$s
I corrected it back to
%s
as per the original version, and no more errors popped up.Forum: Plugins
In reply to: [WP Job Manager] Warning: sprintf() [function.sprintf]: Too few argumentsMike, my WP is pt_PT (European Portuguese). Does this mean your plugin doesn’t work with latin characters? Just wondering.