eatonw
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Share: navigation links with page numbersHere is an example of what you need to add to your style.css to make things looking nice.
.tablenav { font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 13px; } .tablenav-pages{ font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 11px; } .tablenav-pages a { font-size: 11px; padding: 2px 5px 2px 3px; background: #fff; border-right: solid 1px #000; border-left: solid 1px #000; border-top: solid 1px #000; border-bottom: solid 1px #000; } .tablenav-pages a:visited { font-size: 11px; padding: 2px 5px 2px 3px; border-right: solid 1px #000; border-left: solid 1px #000; border-top: solid 1px #000; border-bottom: solid 1px #000; } .tablenav-pages a:hover { padding: 2px 5px 2px 3px; border-right: solid 1px #000; text-decoration: none; border-left: solid 1px #000; border-top: solid 1px #000; border-bottom: solid 1px #000; } .tablenav-pages span { padding: 2px 5px 2px 0px; color:#6666; /* I don't want spans to have border. Otherwise, you may delete the comment. border-right: solid 1px #000; border-left: solid 1px #000; border-top: solid 1px #000; border-bottom: solid 1px #000; */ } .tablenav-pages .on { padding: 2px 5px 2px 3px; border-right: solid 1px #ccc; font-size: 11px; color:#000; border-left: solid 1px #000; border-top: solid 1px #000; border-bottom: solid 1px #000; }Forum: Fixing WordPress
In reply to: no navigation to the next pageMichaelH,
I should apologize that I didn’t take your suggestion seriously just because Binni tried and failed.
The problem is now resolved! It even had nothing to do with the themes; rather, it was due to an “evil” plugin: Adhesive. It was on the top of my plugin list, and everything went back normal after I simply deactivated it.
I will tag this post as “resolved”.
Thanks!
Forum: Fixing WordPress
In reply to: no navigation to the next pageWell, in the admin page of comments, the navigation links are present.
Forum: Fixing WordPress
In reply to: no navigation to the next pageI think Binni said that the problem persists even if he disable all plugins and use the default theme.
And thanks Binni, I just noticed the navigation links don’t show up either in my wp-admin page of posts. This seems not related to themes or plugins.
Forum: Fixing WordPress
In reply to: no navigation to the next pageIt seems that the functions called in the following code in the original index.php of my theme(s) cannot acquire a correct initial value.
<p><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>As long as I used the nav link created by the newly added code to navigate to the second page or the earlier ones, the function previous_posts_link() started to work, in a wrong way, but “next entries” did show up. However, the function next_posts_link() has never worked.
Forum: Fixing WordPress
In reply to: no navigation to the next page<p> <div class="navigation"> <div class="alignleft"><?php echo "<a href='?paged=".($paged-1)."' >« Previous Page</a>"; ?></div> <div class="alignright"><?php echo "<a href='?paged=".($paged+1)."' >Next Page »</a>"; ?></div> </div></p>Forum: Fixing WordPress
In reply to: no navigation to the next pageSorry, something is wrong with the above code. They should be:
<p>
<div class=”navigation”>
<div class=”alignleft”><?php echo “« Previous Page“; ?></div>
<div class=”alignright”><?php echo “Next Page »“; ?></div>
</div></p>Forum: Fixing WordPress
In reply to: no navigation to the next pageThe problem is temporarily resolved!
Zeronex,
Thanks a lot! Although your code didn’t work, but it motivated me to check what was going on. I found the navigation of my blog pages uses “?paged=xxx? rather than “/page/xxx”. Hence I modified what you provided as follows.
`<p>
<div class=”navigation”>
<div class=”alignleft”><?php echo “« Previous Page“; ?></div>
<div class=”alignright”><?php echo “Next Page »“; ?></div>
</div></p>`This now works. Although I haven’t figured out what’s wrong in the function next_posts-link() and previous_posts_link() yet, there is now a clue to locate the issue and fix it.
Best regards!
Forum: Fixing WordPress
In reply to: no navigation to the next pageZeronex,
Thanks! But this doesn’t work.
Forum: Themes and Templates
In reply to: How to customize pre-installed widgets?Any help?
Forum: Fixing WordPress
In reply to: no navigation to the next pageI see. Hope someone would help solving this annoying problem.
Best.Forum: Fixing WordPress
In reply to: no navigation to the next pageHi MichaelH,
Actually, I was wrong. My directory looks like web-root/my domain name/blog folder/wp-content.
Is this a problem? But the issue wasn’t there before the upgrading.
Thanks,
EatonForum: Fixing WordPress
In reply to: no navigation to the next pageBtw, I just used the default permalink structure.
Regards.
Forum: Fixing WordPress
In reply to: no navigation to the next pageIn my case, it’s installed in a folder in the webroot.
Forum: Fixing WordPress
In reply to: no navigation to the next pageHost: Dreamhost
OS: Debian Linux
Mysql 5
PHP 5I’m using WP 2.7.1 now but the problem arouse after I upgraded to 2.7 or 2.6.
Thanks!