Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author vicchi

    (@vicchi)

    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

    Thread Starter 87arya

    (@87arya)

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

    Plugin Author vicchi

    (@vicchi)

    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 – https://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

    Thread Starter 87arya

    (@87arya)

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

    Plugin Author vicchi

    (@vicchi)

    Can I say that I love you? ??

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

    -Gary

    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.

    Plugin Author vicchi

    (@vicchi)

    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 https://www.ads-software.com/extend/plugins/wp-biographia/other_notes/ or https://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

    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.

    Plugin Author vicchi

    (@vicchi)

    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

    MattAlgren

    (@mattalgren)

    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!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘change WP Biographia position’ is closed to new replies.