• Resolved Bootje

    (@bootje)


    Hi

    I’m making a website about an association. In the page “board members” (or other name), I want to list automatically the list authors:

    <?php wp_list_authors(‘exclude_admin=1’ ); ?>

    How could I do this if it’s a standard page and the rest of the page is html?

Viewing 4 replies - 1 through 4 (of 4 total)
  • shahar

    (@shahar)

    You mean that the rest of the page content is done via the WYSIWYG editor?

    Thread Starter Bootje

    (@bootje)

    Yep.

    I would like to write some information on that page about the board members of our association. This will be written in the WYSIWYG editor, but then I would like to list also the authors (with the amount of posts they’ve written).

    <?php wp_list_authors(‘exclude_admin=1&optioncount=1&hide_empty=0’); ?>

    I would like to write this small piece of code somehow in my WYSIWYG editor, but I don’t know if this is possible.

    Samuel B

    (@samboll)

    you can use code in posts or pages with a plugin

    https://www.ads-software.com/extend/plugins/exec-php/

    Thread Starter Bootje

    (@bootje)

    Thanks, looks something like I need.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘php code in one page’ is closed to new replies.