Forums

Account Manager, Project Manager, Writer, Muslim, Father, Entrepreneur, Cook

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 74 total)
  • Author
    Posts
  • in reply to: Basic Templates #1516
    Nadir Keval
    Keymaster

    Typical template files include:

    comments.php
    comments-popup.php
    footer.php
    header.php
    sidebar.php

    in reply to: Basic Templates #1515
    Nadir Keval
    Keymaster

    Or, 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.

    in reply to: Basic Templates #1514
    Nadir Keval
    Keymaster

    style.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.

    in reply to: Template Files List #1512
    Nadir Keval
    Keymaster

    single-{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.

    in reply to: Template Files List #1511
    Nadir Keval
    Keymaster

    index.php
    The main template. If your Theme provides its own templates, index.php must be present.

    in reply to: Template Files List #1510
    Nadir Keval
    Keymaster

    rtl.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.

    in reply to: Template Files List #1508
    Nadir Keval
    Keymaster

    style.css
    The main stylesheet. This must be included with your Theme, and it must contain the information header for your Theme

    in reply to: Functions File #1505
    Nadir Keval
    Keymaster

    Note 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

    in reply to: Functions File #1504
    Nadir Keval
    Keymaster

    The 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.

    in reply to: Functions File #1503
    Nadir Keval
    Keymaster

    Enable 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.

    in reply to: Theme Stylesheet #1497
    Nadir Keval
    Keymaster

    Adding 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.

    in reply to: Theme Stylesheet #1496
    Nadir Keval
    Keymaster

    Follow 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.

    in reply to: Web Design #1492
    Nadir Keval
    Keymaster

    Trollololol
    That should go to Global Off Topic in my opinion.

    in reply to: Web Design #1491
    Nadir Keval
    Keymaster

    yes look at the strength and positioning of the dot, the way it just brings your focus to that one element.
    True genius

    in reply to: Installing Theme #1471
    Nadir Keval
    Keymaster

    No 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.

Viewing 15 posts - 46 through 60 (of 74 total)
Back to top