nav-left cat-right
cat-right
Matthias Pospiech > Web > wordpress > theme modifications

theme modifications

PureType

Code

In header.php I had to disable/delete the following section

<div id="container">
<div id="left-div">
    <div id="left-inside">
        <?php if (have_posts()) : ?>
        <?php if(function_exists('bcn_display')): ?><div id="breadcrump"><?php bcn_display(); ?>
        </div><div style="clear: both;"></div><?php endif; ?>
 
        <?php while (have_posts()) : the_post(); ?>
        <!--Begin Article Single-->
        <div class="post-wrapper">
            <h1 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
                <?php the_title(); ?>
                </a></h1>
            <div style="clear: both;"></div>
            <?php the_content(); ?>
            <div style="clear: both;"></div>        
            <div class="pagenumbers"><?php wp_link_pages(array('before' => '<p>Pages:','after' => '</p>', 'next_or_number' => 'number'));  ?></div>    
            <?php edit_post_link('Edit entry.', '', ' | '); ?>
            <?php if(function_exists('wp_print')) { print_link(); } ?>
            <div style="clear: both;"></div>
        </div>

simply because the styles are still applied, even with not description set, as in my case.

Page numbers and breadcrumps were applied to all php files where necessary. The code is the same as in EarthlyTouch theme.

CSS fixes (added to css rules at end)

<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } 
else { ?>
<p class="pagination">
	<?php next_posts_link('&laquo; Previous Entries') ?>
	<?php previous_posts_link('Next Entries &raquo;') ?>
</p>
<?php } ?>

also (as in many other themes) all occurrences of „text-transform: lowercase;“ were removed.

my own style additions are again in pospiech.css

<div class="pagenumbers">
    <?php wp_link_pages(array('before' => '<p>Pages:','after' => '</p>', 'next_or_number' => 'number'));  ?>
</div>

Seiten: 1 2 3 4 5

Keine Antworten : “theme modifications”

Trackbacks/Pingbacks

  1. test | djovanov.tk - […] The screenshot you see above is actually the exact pagination style we use for long posts that we break…
  2. How to Add Page-Link Tag (Multiple Page Post / nextpage) Support to WordPress | The Buzz Media - [...] The screenshot you see above is actually the exact pagination style we use for long posts that we break…

Einen Kommentar schreiben

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

*

This blog is kept spam free by WP-SpamFree.