WordPress.org

Ready to get started?Download WordPress

Forums

plugins say "put code in template" what is template? and where in the template? (2 posts)

  1. incogneato
    Member
    Posted 7 years ago #

    Hi a lot of plugins say to put the code in "the template"

    But which file is "the template" (please tell me like this so i can find it on computer: wp-content/admin/template.php or whatever)

    now once i find this template, where is the right spot to put it? the plugs im using are for the right side navigation menu (where archive, categories, etc is located)

    THANK YOU!

  2. moshu
    Member
    Posted 7 years ago #

    All the files in your wp-content/themes/theme_name_here/ directory - are template files.

    A theme (any theme) is built up by several template files:
    http://codex.wordpress.org/Theme_Development#Theme_Template_Files_List

    If the "thing" should appear in the sidebar, most likely you have to put the code in the sidebar.php of your active theme.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags