Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Lisa,

    Well it’s normal, because once you enter a page or post, WordPress use a specific page template.

    To explain, you go in your site.com and all is ok.

    But THEN, if you enter a page or post, the output is controlled by theme. For instance – yoursite.com/theme/mynameoftheme/single.php

    If trouble, you would have to modify yoursite.com/theme/mynameoftheme/style.css

    to fully change what is displayed.
    That is if you use the general theme building.

    I’m not clear sorry, but it is the way, depends what kind of theme you use,

    Hi Lisa,

    Well it’s normal, because once you enter a page or post, WordPress use a specific page template.

    To explain, you go in your site.com and all is ok.

    But THEN, if you enter a page or post, the output is controlled by theme. For instance – yoursite.com/theme/mynameoftheme/single.php

    If trouble, you would have to modify yoursite.com/theme/mynameoftheme/style.css

    to fully change what is displayed.

    That is if you use the general theme building scheme.

    I’m not clear sorry, but it is the way, depends what kind of theme you use,

    I will add that archive and categories are in general controlled by files:

    archive.php
    category.php

    Both display a loop of what they find in database. Then, you can control the style by CSS.

    Thread Starter Lisa-beauty

    (@lisa-beauty)

    I am confused this is also my coding on my archives and catergories

    <?php
    /*
    Template Name: Lisa-beauty.co.uk
    */
    ?>

    <?php get_header(); ?>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class=”headpostedin”><?php the_time(‘l, F jS, Y’) ?> </div>

    <div class=”content” id=”post-<?php the_ID(); ?>”>” rel=”bookmark” title=”<?php the_title_attribute(); ?>”><div class=”headtitle”><?php the_title(); ?></div>

    <div class=”postmetadata”></div>

    <?php the_content(__(‘CONTINUE READING…’)); ?>

    <?php the_tags(‘Tags: ‘, ‘, ‘, ‘
    ‘); ?>

    <div class=”headposted”><?php comments_popup_link(‘0’, ‘1’, ‘%’); ?> comments</div>

    <?php echo DISPLAY_ULTIMATE_PLUS(); ?>

    <?php comments_template(); // Get wp-comments.php template ?>

    <?php endwhile; else: ?>

    <?php _e(‘Sorry, no posts matched your criteria.’); ?>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    mtransitions.com

    I’m wanting to put content in the sidebar area cannot see how this is done.
    Have switched to a new theme, “so simple” which is great but turning out to to be so simple to figure out.

    Thread Starter Lisa-beauty

    (@lisa-beauty)

    The plugin Ultimate Social Media PLUS has messed up my theme as soon as I deactivate it. Before the plugin it was fine, what do I do?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Archives and categories’ is closed to new replies.