Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author lilaeamedia

    (@lilaeamedia)

    We deliberately omitted the author meta data to keep the queries as lightweight as possible. The author id can be retrieved, but for now you will have to modify the template to pull the author bio information yourself.

    Inside the IntelliWidget template loop, you can do something like this:


    global $post;
    echo get_the_author_meta('display_name', $post->post_author);

    Thanks for using IW!

    Plugin Author lilaeamedia

    (@lilaeamedia)

    Hi Dwight,

    We just pushed IW 1.4.0, which includes a new template tag function get_the_intelliwidget_author_meta(‘field’) to retrieve author info. It has not been integrated into any default templates yet. We’ll see if there is any demand for it.

    Thanks, -jf

    Thread Starter dwightmartino

    (@dwightmartino)

    That’s great news. Do you have API info yet? Does it work the same as ‘get_the_author_meta’?

    Plugin Author lilaeamedia

    (@lilaeamedia)

    Similar, but on intelliwidget posts thusly:

    <? the_intelliwidget_author_meta('field'); ?>

    or:

    <? $value = get_the_intelliwidget_author_meta('field'); ?>

    where ‘field’ is the meta field requested.

    Updated docs:

    https://www.lilaeamedia.com/plugins/intelliwidget/#functions-author-meta

    Really not much different than the example I posted before, only now it is built-in.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Displaying author information’ is closed to new replies.