bowoolley
Forum Replies Created
-
Forum: Plugins
In reply to: [New User Approve] User Approved, but Not Able to Log In – 4.6 Update Issue?Same problem.
Forum: Themes and Templates
In reply to: [Hueman] Use my own placeholder imageIt sounds like the easiest thing to do is replace the default images in the main folder, and just upload them again with each update… 🙂
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Login/logout widget with subscription infoI should note that I currently have two widgets, one for login/logout and the other for subscriptions.
I would like to add a checkbox to the login/logout widget so that current users don’t have to type their email address in a separate box – thus ensuring that all of their user info for the site is coordinated. (If someone uses a different email address to subscribe from the one they used to sign up to the site, it will cause confusion…)
Forum: Themes and Templates
In reply to: [Hueman] Use my own placeholder imageHere’s the exact content of the child theme’s functions.php (with domain name changed):
<?php //do not remove this load_template( get_template_directory() . '/functions/init-core.php' ); /* Write your awesome functions below */ // use custom image placeholder add_filter( 'hu_placeholder_thumb_src' , 'my_image_placeholder'); function my_image_placeholder($src) { $src= 'http://www.-domain-.com/wp-content/themes/-childtheme-/img/placeholder.png'; return $src; }Forum: Themes and Templates
In reply to: [Hueman] Use my own placeholder imageI can’t actually post a link to the site, since it’s a closed community… But I’ll try to explain better.
The above code is in functions.php in my child theme (but I changed “thumb-medium” to “placeholder”.)
The placeholder image is in the child theme, in a folder called “img”.
There are no other images or files in the child theme (except style.css).The “You may also like” section uses thumb-medium. The new placeholder image, which is in the child theme, shows up fine:
….com/wp-content/themes/-mychildtheme-/img/placeholder.png
The widgets use thumb-small. The image source still shows:
….com/wp-content/themes/hueman/assets/front/img/thumb-small.png
The category page uses thumb-standard. The image source is:
….com/wp-content/themes/hueman/assets/front/img/thumb-standard.png
So for some reason, the only size that’s being affected is thumb-medium.
Forum: Themes and Templates
In reply to: [Hueman] Use my own placeholder imageI did indeed.
Forum: Themes and Templates
In reply to: [Hueman] Use my own placeholder imageWell, I tried that – duplicated thumb-medium, renamed it “placeholder”, changed the code. I also did a regenerate thumbnails. The medium size shows up fine, the other two are still referring to the file in the Hueman folder instead of to the child theme…
Forum: Themes and Templates
In reply to: [Hueman] Use my own placeholder imageFollow-up: The code did indeed work. Typical newbie error (and I’ve been making WordPress sites since 2008) – I hadn’t activated the child theme. Sorry.
New issue: the custom image shows for “medium” thumbs (that’s the image I directed the url to), but not widget or small. I’m not sure what to change / add.
Thanks for your help!
Forum: Themes and Templates
In reply to: [Hueman] Use my own placeholder imageHi – thanks for the welcome!
Well, I’ve tried the code in my child theme’s functions.php, and refreshed browsers, checked the link… I know I’m missing something. Here’s the code:
<?php //do not remove this load_template( get_template_directory() . '/functions/init-core.php' ); /* Write your awesome functions below */ // use custom image placeholder add_filter( 'hu_placeholder_thumb_src' , 'my_image_placeholder'); function my_image_placeholder($src) { $src= 'http://www.mydomain.com/wp-content/themes/mychildtheme/img/thumb-medium.png'; return $src; }I’ve changed the names of domain and theme to protect the innocent… 🙂
Glad to hear it! It’s nice to have a quick response.
I’ll do that, thanks.
Forum: Plugins
In reply to: [Easy Testimonials] Link to individual testimonial from listJust thought I’d clarify: It would be marvelous to have shortcode options when outputting the list on a page, like:
“client_with_link” that would let the visitor click to see all testimonials (or quotes, in my case) by that client/author, or
“testimonial_with_link” that would link the content of the outputted item to the individual testimonial (quote in my case) for commenting.
I don’t use the “title” field, as quotes are usually just text+author.
I don’t know if this would be useful for actual testimonials, but it sure would be great for anyone using the plugin for a collection of items like quotes! And it would make the plugin multi-purpose as well.
Forum: Plugins
In reply to: [Easy Testimonials] Link to individual testimonial from listHi – finally have a little time to work on the site again. What I’m really looking for is an option to link either the title, author, or content to the post itself so people can comment on it. I still can’t seem to get the “read more” to work, but it’s not exactly what I’d like in any case.
I don’t really have the skills to easily create this option myself; do you suppose it’s something that could be included in the plugin at some point?
Forum: Plugins
In reply to: [ImageInject] Wikimedia CommonsI wish I knew how to code, I’d offer to give a hand. It’s a great plugin! Here’s hoping you’ll have the time / desire to keep it up.
Forum: Plugins
In reply to: [Easy Testimonials] Link to individual testimonial from listI’ve tried a bunch of things, but none of the changes take effect. I’m offline for a couple of days, but will get back to it this weekend. Thanks so far… 🙂