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

    (@vicchi)

    Hi … it looks like your theme is pulling both the excerpt and the main content of each post and so the plugin is appending the Biography Box to both of these, hence you’re seeing two instances of the Biography Box and not one.

    Depending on your perspective, this is either as designed or a design flaw. I had the former in mind when I wrote the plugin originally, but there are a lot more themes out there now that use excerpts. You’ll be able to adjust this from the plugin’s configuration settings in the next release but for now there’s two things you can try.

    Firstly, and hopefully preferably, you can remove the plugin’s the_excerpt filter, with the following code (caveat: I’m on family vacation right now and can’t actually try this out, but it should, in theory, work).

    remove_action('the_excerpt', array(WP_Biographia::get_instance(), 'insert'));

    If that doesn’t work, let me know and we’ll look at the second option, which is a bit more hacky.

    -Gary

    Thread Starter banjob33

    (@banjob33)

    Hi There Gary,

    Hope your enjoying your vacation

    Where am I supposed to put this piece of code too please ( in between your cocktails at the pool side ) lol

    Thank you

    Helen

    Plugin Author vicchi

    (@vicchi)

    You’ve got two main choices … the first is to edit your theme’s functions.php file and place the code just before the closing ?> PHP tag. But editing your theme’s files isn’t ideal; your changes may be lost when a theme upgrade arrives.

    The second (and most preferable) choice is to use another plugin to manage customisations such as this outside of your /wp-content directory, which has the advantage of making your changes theme and plugin independent. There’s several plugins to do this; I use WP Customiser, which manages script (PHP), CSS and Javascript customisations, but it’s worth pointing out, for the sake of transparency, that the reason I use this plugin is that I wrote it!.

    -Gary

    Thread Starter banjob33

    (@banjob33)

    Thanks for your help here Gary but this is way too techie for me just to get a bio box.

    Think I will look elsewhere

    Thanks you anyway

    Helen

    Plugin Author vicchi

    (@vicchi)

    Sorry to hear that … this will be a configurable feature in the next version of the plugin, which is coming out soon-ish.

    -Gary

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to get it NOT do dispaly in the middle of my content’ is closed to new replies.