sarahclose
Forum Replies Created
-
Great! I see the feature BUT what I also need is the ability to access it via a Gutenberg block or a dynamic content module, so when building a template for a blog post, for example, I can opt to display the featured video in the header rather than just the featured image. Right now, I only see block options for a featured image – not a featured video. If I don’t upload a featured image but instead designate a video, will the featured image block display my video? Thanks!
That’s great news. Thanks for the update!
Excellent. I’ll test it out when the new release comes. Thanks!
Hi – related in a sense, but not really. It’s true that only one box’s CSS would be listened to (as in, I could not !important my custom CSS rule above the one that was written into the PHP file that was taking effect). The larger problem was that the author-boxes.php file would only read the first instance’s avatar status, and if the first instance had no avatar, it went ahead and treated every instance as though it had no avatar from a custom-style perspective (the else parameter was to deploy a flex: 1 style), even when the second instance DID have an avatar. I wonder if simply removing the !important part of that else custom-style parameter calling the flex: 1 would allow the user’s own custom CSS to then take effect. But again… seems like the larger problem is that the PHP file shouldn’t really ignore the second instance’s avatar status and replace it with the first instance’s. If that makes sense.
Just wanted to say that after 6 hours sleuthing this, I figured it out. Basically, I was using 2 author shortcodes on a page. The first one was set to list just the author’s name under the post title, with no avatar. The author box at the bottom of the page was set to show the avatar and the bio of the author.
There is a $custom_style in the PHP file for author boxes that stipulates that if there is no avatar used, the CSS rule for flex: 1 goes into effect, basically making sure that it bumps the name / bio over all the way to fill up where the avatar would go. What happened is that the FIRST shortcode in use on the page was set to no avatar, which deployed the flex: 1 rule… except when the second shortcode was read, which DID have an avatar, it was too late – the CSS rule was already read inline, turning my author box with the avatar into a 2 column flex: 1 situation.
I solved this by simply adding an avatar to the first display use, and then using display: none to hide it – thereby fooling the PHP back into thinking that the avatar argument was set to false.
A long 6 hours of trying to figure this out, but there ya go. I would like to suggest that maybe you figure out a way for this not to happen. It seems logical to me that someone might want to use both types of shortcodes on a single post or page – the name only, no avatar, at the top with the title, and the full bio & avatar after the post content.
If I have completely missed something about how this should have worked, please let me know!
Well, that’s the one that changes when I select any of your other default Author Box types. The only one that doesn’t work is the custom box. And that bio was only entered in using your plugin. And the author selected doesn’t exist on anything but your plugin.
Yes, if I add the shortcode, I then see 2 boxes. The test box and the default box. I only want the test box, and I don’t want to have to put the shortcode in… See here: https://dbtest.fullcyclecreative.com/hello-world/
Sure – see here: https://dbtest.fullcyclecreative.com/wp-content/uploads/2023/04/www_screencapture_com_2023-4-12_09_03.mp4
I have created a box called Test Box. You can see how it displays with uppercase author name and box shadow. I set that as the box to use. But it does not display.
Hi – yes, I am seeing same issue. I can send you a temporary admin login link to see the issue I’m describing, but I need an email address. I have tried deactivating plugins – same problem persists. I also tried generating the theme template, but that didn’t seem to do anything. If you can get me a support email, I’ll send you the login link & hopefully you can figure out what’s happening. Thank you!
Hmm. No cache plugins. All other changes populate instantly. It’s just when I select the new author box I created as opposed to the default ones. I’m not noticing any other plugin-related conflicts. This isn’t a premium function? I will try to recreate the issue on another dev site so I can show you – the one I’m on now isn’t one I can add you to in order to check. Thanks!