Forum Replies Created
-
AuthorPosts
-
Nadir Keval
KeymasterTypical template files include:
comments.php
comments-popup.php
footer.php
header.php
sidebar.phpNadir Keval
KeymasterOr, it can be divided into modular template files, each one taking on part of the workload. If you do not provide other template files, WordPress may have default files or functions to perform their jobs. For example, if you do not provide a searchform.php template file, WordPress has a default function to display the search form.
Nadir Keval
Keymasterstyle.css
index.php
Both of these files go into the Theme directory. The index.php template file is very flexible. It can be used to include all references to the header, sidebar, footer, content, categories, archives, search, error, and any other page created in WordPress.Nadir Keval
Keymastersingle-{post-type}.php
The single post template used when a single post from a custom post type is queried. For example, single-books.php would be used for displaying single posts from the custom post type named “books”. index.php is used if the query template for the custom post type is not present.Nadir Keval
Keymasterindex.php
The main template. If your Theme provides its own templates, index.php must be present.Nadir Keval
Keymasterrtl.css
The rtl stylesheet. This will be included automatically if the website’s text direction is right-to-left. This can be generated using the the RTLer plugin.Nadir Keval
Keymasterstyle.css
The main stylesheet. This must be included with your Theme, and it must contain the information header for your ThemeNadir Keval
KeymasterNote for deciding when to add functions to functions.php or to a specific plugin: You may find that you need the same function to be available to more than one parent theme. If that is the case, the function should be created in a plugin instead of a functions.php for the specific theme. This can include template tags and other specific functions. Functions contained in plugins will be seen by all themes
Nadir Keval
KeymasterThe default WordPress theme contains a functions.php file that defines many of these features, so you might want to use it as a model. Since functions.php basically functions as a plugin, the Function_Reference list is the best place to go for more information on what you can do with this file.
Nadir Keval
KeymasterEnable Theme Features such as Sidebars, Navigation Menus, Post Thumbnails, Post Formats, Custom Headers, Custom Backgrounds and others.
Define functions used in several template files of your theme.
Set up an options menu, giving site owners options for colors, styles, and other aspects of your theme.Nadir Keval
KeymasterAdding print-friendly styles is highly recommended.
You can include a print stylesheet with media=”print” or add in a print media block in your main stylesheet.Nadir Keval
KeymasterFollow CSS coding standards when authoring your CSS.
Use valid CSS when possible. As an exception, use vendor-specific prefixes to take advantage of CSS3 features.
Minimize CSS hacks. The obvious exception is browsers-specific support, usually versions of IE. If possible, separate CSS hacks into separate sections or separate files.
All possible HTML elements should be styled by the Theme, both in post/page content and in comment content.
Tables, captions, images, lists, block quotes, et cetera.Nadir Keval
KeymasterTrollololol
That should go to Global Off Topic in my opinion.Nadir Keval
Keymasteryes look at the strength and positioning of the dot, the way it just brings your focus to that one element.
True geniusNadir Keval
KeymasterNo worries, this thread will also remain open, welcoming any/all feedback from the community, in case someone does have an accurate solution for you.
For future reference, you can always interact directly with the author here. The link takes you to the item’s Comments section, where you can also browse previous posts for information/troubleshooting.
If you need any additional assistance, don’t hesitate to ask. Good luck.
-
AuthorPosts