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

theme modifications

Simplism

Screenshots

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 no content inside.

In home.php I had to disable the ‚heading-content‘ div section because it is replaced in functionality by the breadcrump

In the main css file I applied the following changes

<?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 } ?>

The color was changed, because for me the contrast of the normal text was too low.

All further css additions are in a seperate file:

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