WordPress.org

Ready to get started?Download WordPress

Forums

WP Biographia
[resolved] change WP Biographia position (11 posts)

  1. 87arya
    Member
    Posted 1 year ago #

    Hi,
    here's my problem: on my website I want to change the biography position and set it under the social buttons.
    http://arteinfermento.com/2012/10/16/entrare-a-far-parte-del-cirque-du-soleil-nulla-di-piu-difficile/

    How can I do this?

    http://wordpress.org/extend/plugins/wp-biographia/

  2. vicchi
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Look under the Admin tab in the plugin's settings; if you tweak the the_content priority settings you should be able to make WP Biographia's the_content filter hook fire later than your social buttons plugin's the_content filter hook, thus positioning the Biography Box under the social buttons.

    -Gary

  3. 87arya
    Member
    Posted 1 year ago #

    Unfortunately it doesn't work. I set it even on 2 but the biography is still above the social buttons (the Jetpack ones).

  4. vicchi
    Member
    Plugin Author

    Posted 1 year ago #

    OK. I see what the problem is now ... there's two points I want to make here ...

    1. You didn't tell me what plugin you were using to create your social buttons on your site, so I made the assumption that whatever plugin you were using was hooking into the_content at priority 10, which is the WordPress default. Now that I know you're using Jetpack this makes life easier. This is the reason I wrote the WP Biographia Problem Or Question? Please READ This First post on this forum and made it sticky. If I'd have known that you were using Jetpack for your social button I could have given you a more precise answer immediately, rather than having to make certain assumptions about your environment.

    2. As I said in my previous reply Look under the Admin tab in the plugin's settings. There's some help text there, just above where you change the Content Filter Priority that says this ...

    A lower priority will cause the plugin's filters to fire earlier. A higher priority will cause the plugin's filters to fire later.

    By setting your the_content filter priority to 2 you've ensured that the Biography Box the_content filter hook will fire almost at first level of priority. You don't want to decrease the priority, you want to increase the priority, as the plugin's help text says.

    Now that I know that you're using Jetpack, I can see from the source code that Jetpack fires the the_content filter for social buttons at priority 19. So you'll need to set your WP Biographia the_content filter priority at a number at least 1 higher than 19. On my test site, I've set this to 20. Take a look at this post - http://test.vicchi.org/2012/09/24/map-wars-are-apples-maps-really-that-bad/ - you can see that the social buttons from Jetpack now appear before WP Biographia's Biography Box, which is, I believe, what you want to achieve.

    Apologies if I sound tetchy or snarky in this reply, but I support WP Biographia in my spare time and have spent quite a bit of time and effort trying to make the support process as easy for me and for you as I possibly can; that's the reason that there's a reasonably large set of FAQs for the plugin and that's the reason why I wrote the sticky post for the forums, so we can get to the end result that we both want as quickly as possible, and that's to get your site working the way you want it.

    -Gary

  5. 87arya
    Member
    Posted 1 year ago #

    I dit it! Finally it works as I want :D
    Can I say that I love you? :D
    Thank you very much Gary!

  6. vicchi
    Member
    Plugin Author

    Posted 1 year ago #

    Can I say that I love you? :D

    Yes you can! I no longer sound tetchy or snarky. Glad you were able to get the result you wanted.

    -Gary

  7. MattAlgren
    Member
    Posted 1 year ago #

    Hi Gary. Thought I'd add this here instead of starting a new thread. I'm having trouble with placement as Fjonka did. For reference, we spoke earlier this year in this thread, and the site in question is here. Using WordPress 3.4.2 and just updated to Biographia 3.3.0 with a Wootheme, if that makes any difference. I saw that there were a couple settings for Woo, but they don't seem to apply to our installation. Settings-wise, we're pretty much default installation.

    We've been using shortcode specified in the previous thread, specifically <?php echo do_shortcode('[wp_biographia]') ?> since we're pulling the code outside the loop. As soon as I upgraded to 3.3.0, the single posts won't load on the site. It just keeps trying to load with no success and none of the page rendering. Left it for ~5 minutes with no apparent success. I tried on different computers with different browsers and the problem persisted unless I deactivated the plugin or deleted the shortcode from single.php. Shortcode on our About page is still working fine.

    I switched to general installation and it's working, but as Fjonka, we'd like to pull the box back down the page under the share buttons (hard-coded AddThis, not Jetpack) and nRelate plugin links. I attempted the solution above, but decreasing the priority incrementally to 100 didn't budge it. I just tried the variation <?php echo do_shortcode('[wp_biographia mode="configured"]') ?> from the notes on the plugin page, but had the same problem.

    Any idea what we can do? Any help you can provide would be appreciated.

  8. vicchi
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Matt ... which theme is it you're using? Is it publicly downloadable or is it premium/paid for.

    In the meantime, rather than the (slightly hacky) call to do_shortcode you might want to try the wpb_the_biography_box template tag which is new in v3.3.0 to see if that has any effect. See http://wordpress.org/extend/plugins/wp-biographia/other_notes/ or http://www.vicchi.org/codeage/wp-biographia/6-template-tags/ for documentation.

    When you say the share buttons are hard-coded, where does this happen? In your theme's templates?

    I think I'll need to see the theme itself, plus any customisations you've made to really work out what's going on here.

    -Gary

  9. MattAlgren
    Member
    Posted 1 year ago #

    Using Continuum. Paid, sadly. Just tried <?php wpb_the_biography_box ($mode, $user, $prefix, $name, $role, $type, $order); ?> and had the same results. Eternal loading, nothing rendered. Even tried <?php if (function_exists('wpb_the_biography_box')) wpb_the_biography_box ($mode, $user, $prefix, $name, $role, $type, $order); ?>. Still nothing.

    The share buttons html code is plunked down in single.php, same as the biographia call. A bit of javascript in the footer.

  10. vicchi
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Matt,

    I'm not sure what to suggest. If I understand you correctly, you had a call to the plugin's shortcode embedded in your theme's single.php template. Prior to v3.3 it worked. Post v3.3 it hangs.

    If you fall back to one of the WordPress stock templates it works with v3.3 (my reading of you saying switched to general installation).

    You haven't said whether there's been any other theme or plugin upgrades around the same time.

    Without being able to replicate this on my local testing installation, there's not a lot else I can do here. As I hope you appreciate, I can't pay for a premium theme just for testing purposes.

    I hate to say it but I think we've hit a brick wall ...

    -Gary

  11. MattAlgren
    Member
    Posted 1 year ago #

    Hi Gary,

    I totally understand. We're gearing up for a redesign, and since this seems to be related to the (extensively modded) theme that we're hoping to get rid of fairly soon, we've decided to drop back to the previous version of the plugin for the time being. Don't want us (or you, especially) putting time and energy into an anomalous, short-term problem.

    Thanks for the plugin and for being so responsive!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.