• I need to place the “wp-loginout” function in the top right corner of the “header” section in the “twenty twenty-one” theme. Currently I can insert this function as a block inside the page, however in this theme there is no access to edit the “header” section. Is there a way to place this?

Viewing 1 replies (of 1 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi @jaumenik – there are a couple of steps to adding a login/logout link in the header in this classic theme.

    Step 1create a child theme. This ensures that your theme-file changes won’t be overwritten every time there’s a theme update. (There are also several child-theme plugins if you don’t want to create it manually.)

    Step 2 – in your child theme, place the function where you want it to be displayed.

    Let me know how it goes or if you need more detailed help.

Viewing 1 replies (of 1 total)
  • The topic ‘Create “wp-loginout” function in header’ is closed to new replies.