Nice design but a few bugs
-
Love this design, really outstanding but it’s buggy.
1- Since I upgraded to 2.8, change header image leads to a blank page when uploading a new graphic. Clicking on the browser’s back button show the changes.
2- no “older posts” navigation at the bottom of the index page.
Cheers,
Gene
-
For the navigation on the index page change in the index.php :
<!– Pagination –>
<?php endwhile; ?>
<div id=”post-nav”>
<?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?>
</div><!– /post-nav –>
<!– Pagination end –>With :
<!– Pagination –>
<?php endwhile; ?><div class=”navigation”>
<div class=”alignleft”><?php next_posts_link(‘« Older Entries’) ?></div>
<div class=”alignright”><?php previous_posts_link(‘Newer Entries »’) ?></div>
</div>
<!– Pagination end –>And the pagination works. At least for me it did.
Good luck
I will make this an update for my next tweaking of the theme this week… thanks for the heads up on this! Plus I see WP 2.8 is released now so time for me to make sure this theme works in 2.8 and also will test the pro version as well.
Hi PyroCode
thanks for the heads up on this!
You’re welcome!
I’ve upgraded to 2.8 and your theme works well.
Regards,
Martijn ValkThanks Valkie, I changed the code and it works great.
Now, I’d love to add an “edit” link in the post area and pages without going to the backend simply to correct a typo. Tried a few thing but to no avail.
Thanks again,
GeneNow, I’d love to add an “edit” link in the post area and pages without going to the backend simply to correct a typo.
I think you must be at PyroCode for this. He’s the developper. I’m just a user.
I was looking for this also. Maybe………. I find something.
Regards, Martijn
OK. That was easier than expected. I know it isn’t the nicest solution but it works and it is only visible as Admin.
Regards, Martijn
Find in index.php round line 18, 19, 20 :
<td id=”mainbody”><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id=”postwrap-<?php the_ID(); ?>” class=”post”>
<h2 >” class=”title” title=”<?php the_title(); ?>”><?php the_title(); ?></h2>Change it to :
<td id=”mainbody”><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id=”postwrap-<?php the_ID(); ?>” class=”post”>
<h2 >” class=”title” title=”<?php the_title(); ?>”><?php the_title(); ?> <?php edit_post_link(__(‘Edit’), ‘<class=”editpost”>’); ?></h2>And for the single post page replace in single.php on line 19 :
<h1 >” class=”title” title=”<?php the_title(); ?>”><?php the_title(); ?></h1>
With :
Regards, Martijn
Thanks Martijn,
I used the <?php edit_post_link(__(‘Edit’)); ?> so it would show at the bottom of posts (and pages) instead of next to the title.
line 22 in index.php:
<div class="post"><?php the_content('<span></span>'); ?><?php edit_post_link(__('Edit')); ?></div>
line 25 in single.php:
<?php endwhile; ?><?php edit_post_link(__('Edit')); ?>
line 21 in pages.php:
<div class="post"><?php the_content('<span></span>'); ?><?php edit_post_link(__('Edit')); ?></div>
Also, not only Admins get to see it but also Editors.
My solution may not be perfect but works well being that it can also be placed in pages.
Cheers,
GeneHi Gene,
I’ve also tried that but I didn’t like the edit button at the bottom.
You’re totally right that editors also see the link. I meant that it isn’t that ugly if you’re not seeing the link ??
I also found a solution that the sidebar is visible after a search. Interested?
Greetings,
MartijnHey Martijn,
I also found a solution that the sidebar is visible after a search. Interested?
Sure, I just noticed that search results go for the page-wide template, I would like the sidebar in there.
LOL, seems that we both love this theme (which is outstanding) and love to modify the heck out of it. I’ve been playing around with the CSS, changed the sidebar color (along with the div. graphics), etc.
You may see it here.
Cheers,
GeneSomeone is getting creative ??
Anyway, now that I finished the pro version of this theme (evening shade), I think it’s time I do a full upgrade version of Pixel Blogging. So thanks for the notes and ideas presented here!
Sorry for responding so late. The block is the complete search.php including the edit buttons. You know how to change that ??
<?php
/**
* Pixel Blogger Free Theme
* Designed by Pixel WebMedia
* https://www.pixelwebmedia.ca
*/get_header() ?>
<table width=”960″ border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td id=”mainbodytop”> </td>
<td class=”spacer”> </td>
<td id=”sidebartop”></td>
</tr>
<tr>
<td id=”mainbody”>
<?php if (have_posts()) : ?>
<h1 class=”pagetitle”>Search Results</h1>
<?php while (have_posts()) : the_post(); ?>
<div id=”post-<?php the_ID(); ?>” class=”post”>
<h2 >” class=”title” title=”<?php the_title(); ?>”><?php the_title(); ?> <?php edit_post_link(__(‘Edit’)); ?></h2><div class=”date”><?php the_time(‘j F Y’) ?> <?php comments_number(‘No Commented’,’one Commented’,’% Commented’); ?> Categorized Under: <?php the_category(‘, ‘) ?></div>
<div class=”entry”>
<?php the_excerpt(); ?>
</div>
</div>
<?php endwhile; ?>
<?php else: ?>
<h2 class=”center”>Not Found</h2>
<p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
<?php endif ?>
</td>
<td> </td>
<td id=”sidebar”><?php get_sidebar(); ?></td>
</tr>
<tr>
<td id=”mainbodybottom”> </td>
<td class=”spacer”> </td>
<td id=”sidebarbottom”> </td>
</tr>
</table>
</div>
</div>
</div>
<?php get_footer(); ?>Hi Martijn and thanks for sharing the above code.
Thanks again,
Gene
- The topic ‘Nice design but a few bugs’ is closed to new replies.