vicchi
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Biographia] [Plugin: WP Biographia] WP-Biographia placement and quirksHi Matt,
1) The plugin doesn’t seem to like the profile avatars we have. It’s not resizing them to the size specified on the admin page, and when I manually add one that’s the correct size (100×100), the image appears anchored to the bottom right corner of the frame rather than centered. We’re using a plugin called ‘User Photo’ rather than the one you suggest, but I tried that one and it did the same thing. (This one allows for non-square avatars, all of which I’ll have to switch out later; I wanted to get this sorted first.)
I’ve not come across this before, but having said that there’s multiple author image plugins out there. Can you look at the source for the Biography Box as it’s rendered in the browser and reply back with it? That way I can look and see whether there’s a code issue, a CSS issue or something else.
2) The “More Posts” link in the last line of the profile is linking to that post’s URI. However, when I briefly switched to icons instead of text links, the icon correctly directed to the author page.
Now this is really helpful. I’ve had a couple of reports of this happening but haven’t been able to either reproduce it or to track it down. This gives me a bit more insight into what might be happening. Leave this one with me and I’ll try and crack it.
3) I’d like to move the Biographia box down the page a bit, directly under the sharing links. Is there a line I can add to the single.php instead of using the automatic placement? The file doesn’t like the shortcode you provided for manually adding to posts.
Phew. This one is easier to solve. The problem (or less well known drawback) is that shortcodes are designed to work within the WordPress Loop, in other words, inside the post or page content that is returned by either the
the_content
orthe_excerpt
filters. Outside of the WordPress Loop, WordPress doesn’t know to run the shortcode expansion function over rest of the content and so if you just put something along the lines of …echo '[wp_biographia]';
… into either a theme template file or your theme’s
functions.php
file the shortcode will (probably) never be expanded and will (probably) just be echoed verbatim.What you need to do is to explicitly tell WordPress to run the shortcode expansion along the lines of …
do_shortcode('[wp_biographia]');
… and the shortcode should be expanded correctly. You can either do this directly in the theme’s template files or, a better way is to find if your theme or if WordPress provides an action which is fired at the point in the page/post content where you want the Biography Box inserted and use the call to
do_shortcode
in the action’s hook function from within your theme’sfunctions.php
. This isn’t just limited to the default[wp_biographia]
shortcode, you can use this approach with any of the attributes that the shortcode supports; which are documented here: https://www.ads-software.com/extend/plugins/wp-biographia/other_notes/4) This probably won’t affect our site, but the Vimeo tick box won’t stay ticked. It switches back off when I save the admin settings.
That definitely sounds like a bug; I’ll look into this.
-Gary
Forum: Fixing WordPress
In reply to: [WP Biographia] [Plugin: WP Biographia] Author Page1) I would like to make a Page with all my authors listed in their own individual boxes. However currently it only allows me to have the profile of the person who creates the page (hence me)….is there a way around this? I tried plugins that would allow multiple publishers to the page but it didn’t work.
The
[wp_biographia author]
shortcode can help you with this. This is documented in the Other Notes section of the README and as part of the plugin’s page on the WordPress Plugin Repository, which says this …<snip>
If the author attribute is omitted, which is the default, the shortcode assumes it’s being used within the WordPress Loop and will display the Biography Box once for the current post’s, page’s or custom post type’s author.Specifying a user’s login name as the author attribute overrides this behaviour and allows multi-user sites to use the plugin to create a contributors page, where you use the shortcode as
[wp_biographia user="login-name"]
once for each of your site’s authors that you want to appear, replacing “login-name
” with a valid login name for one of your authors.You call also use the author attribute in wildcard mode, specifying the author’s login name as
*
as[wp_biographia author="*"]
; this will then loop over all of the authors that have logins on your site, displaying the Biography Box once for each author, ordered alphabetically by login name.
</snip>2) Whenever I click the More Posts button it directs me back to the same page instead of to all the other posts of that individual user….am I missing something?
This sounds like a bug that was fixed in v2.4.1 of the plugin, are you running the latest version of the plugin, v2.4.3?
-Gary
This is now present in v2.4.1 which I’ve just pushed to the SVN repository.
-Gary
This is now fixed in v2.4.1 which I’ve just pushed to the SVN repository.
-Gary
This is now fixed in v2.4.1 which I’ve just pushed to the SVN repository.
-Gary
Yup. That’s another bug. Just fixed it now.
-Gary
Looking at this right now …
Consider it a feature requested. Probably one for v2.5 rather that v2.4.1 I think as I want to get v2.4.1 out the door pronto.
-Gary
Good catch; another thing for v2.4.1 I think.
-Gary
Yup. That’s a bug. Expect v2.4.1 to appear real soon now, just as soon as I track down what I did wrong.
-Gary
Forum: Plugins
In reply to: [WP Biographia] Display user_contactmethods added outside of WP BiographiaHi Travis … err … should there be more to that last post of yours? ??
-Gary
Forum: Plugins
In reply to: [WP Biographia] [Plugin: WP Biographia] wp_biografia shortcode not parsed(scratches head) … that’s odd, but at least it’s working for you now, which is the main thing. If this happens again then please let me know and we’ll see if there’s something we can track down.
-Gary
I’ve been mulling on this a bit more and I think I’ll add this to the next version of WP Biographia, which will probably be v2.5.
-Gary
Forum: Plugins
In reply to: [WP Biographia] [Plugin: WP Biographia] wp_biografia shortcode not parsed@blig … any progress on this issue on your side?
-Gary
Forum: Plugins
In reply to: [WP Biographia] [Plugin: WP Biographia] Removing link to author page…A configuration option to do just this is in v2.4 of WP Biographia which I’ve just pushed to the WordPress Plugin Repository.
-Gary