WebTrooper
Forum Replies Created
-
I’d like to second the motion for a more streamlined solution. I guess the issue is that, since Composite Products creates a standalone product type, it cannot use the options available in the variable product type. I would suggest adding variable product functionality to Composite Products, by default. If no variables are created for a product, it remains a simple product. Maybe a plugin can be created to add a Variables layer on top of the Composite Products plugin, much like the Composite Products Conditional Images plugin. It’s just a thought. Any developers up to the challenge? 🙂
- This reply was modified 2 years, 6 months ago by WebTrooper.
Forum: Reviews
In reply to: [Advanced Custom Post Types] Please Honor Your Refund PolicyUPDATE: July 16 and much like this negative review, no response whatsoever. I don’t care so much about the $49 that I’ll never see again. I can afford it. I just can’t stand a rip off. I strongly recommend you do NOT buy their product. That’s all I have to say on the matter.
- This reply was modified 2 years, 10 months ago by WebTrooper.
Forum: Fixing WordPress
In reply to: Permalinks set to /%postname%/ still adds -2 to numeric urlsThank you, TP. It seems I used numbers as titles (and slugs) in the past, but apparently I remember wrong because it’s not possible. Anyway, that link led me to the plugin, https://ww.wp.xz.cn/plugins/allow-numeric-stubs/ I don’t need paginated posts so hopefully it’s still works with current wordpress. Gonna give it a try. Thanks again! 🙂
Try using get_wp_user_avatar.
I don’t know any more than that, just trying to add custom css when I saw your question, so hope that points you in the right direction.
Forum: Plugins
In reply to: [Simple User Avatar] Trying to get property ‘id’ of non-objectThank you Matteo.
This is the best replacement for Gravatar because of it’s simplicity. I was using WPMU Dev’s Avatar plugin (https://github.com/wpmudev/avatars) but it creates a separate admin page for avatars and I have to use CSS to hide the original Gravatar fields in the user profile page. Your avatar plugin seems to work very well. I’m just concerned about the warning and possibly some issue I haven’t seen yet.
There will always be somebody who doesn’t know what they’re doing, doesn’t bother trying to learn how to use a plugin, and blame the plugin. I’ve been using Kirki for many years and I can attest that it is very stable if one takes the time to learn it. Which, by the way, is not very difficult to do — follow the documentation and ask questions when you don’t understand something. @aristath has taken the time to explain things and I greatly appreciate that and all the outstanding work he has done in developing this wonderful plugin.
That would be awesome if it’s possible. I know if anyone can do it, you can. 😀
Looking at google fonts api, it appears such an option is not possible. The only practical way I can achieve this is by grabbing a list of all the fonts and remove those that are too gaudy for main content. Or trust that bloggers on my network will use common sense? Well, looks like I have my work cut out for me.
Merry Christmas back at ya!
Thanks Aristeides, you rock! 😀
I wish these forums allowed us a few minutes to edit our posts… hint, hint automattic! 🙂
The output I get is as follows:
Font Family: %s
Variant: %s
Subsets: %s
Font Size: %s
Line Height: %s
Letter Spacing: %s
Color: %sI don’t think it’s my code because I changed from the sample only what’s needed, and var_dump gives me the expected results
array(12) {
[“font-family”]=>
string(11) “Roboto Slab”
[“variant”]=>
string(3) “700”
[“font-size”]=>
string(4) “16px”
[“line-height”]=>
string(3) “1.3”
[“letter-spacing”]=>
string(3) “1px”
[“subsets”]=>
array(4) {
[0]=>
string(12) “cyrillic-ext”
[1]=>
string(5) “greek”
[2]=>
string(9) “latin-ext”
[3]=>
string(10) “vietnamese”
}
[“color”]=>
string(7) “#333333”
[“text-transform”]=>
string(4) “none”
[“text-align”]=>
string(4) “left”
[“font-backup”]=>
string(0) “”
[“font-weight”]=>
int(700)
[“font-style”]=>
string(6) “normal”
}Forum: Reviews
In reply to: [Media Library Folders] Seems pointlessIf you have hundreds or even thousands of media items and can’t use the search because you don’t remember the name of the one you’re looking for, it’s nice to have them neatly sorted in folders.
Forum: Fixing WordPress
In reply to: WP_Customize_Cropped_Image_Control, flex_width, flex_heightIf anybody needs to know, this is a bug introduced in version 4.9
It appears to be caused by code changes to make the resizer keep aspect ration when dragging the cropper while pressing the [Shift] key. I submitted an bug report and it’s being looked into.
Forum: Fixing WordPress
In reply to: WP_Customize_Cropped_Image_Control, flex_width, flex_heightIt doesn’t just appear squashed, the image actually is squashed.
Since posting this I also tried with the standard custom header and it does the same thing — with flex-height and flex-width set to false I can still change the height and width independently, and the resulting image is squashed or stretched to the cropped size. I should not be able to change them independently. They should always remain proportional.
UPDATE: I found a post mentioning to use
'type' => 'color-alpha'and that gave me the opacity slider, but js_vars was still not working. So I removed js_vars and simply used my postMessage.js file to handle the live update. This works.