NormalWebEditor
Forum Replies Created
-
Forum: Plugins
In reply to: [footnotes] Footnote numbering out of orderI’m also having this problem, and I’d rather not change plugins. Does anyone know what’s wrong? You can see that they are out of order on this page: https://thenormalschool.com/anything-will-be-easy-after-this-by-bethany-maile/
For example, it goes 20, 21, 35. Any help would be greatly appreciated.
Forum: Fixing WordPress
In reply to: next_post_link and category pagesIt works! Thanks so much!
Forum: Fixing WordPress
In reply to: next_post_link and category pagesHmm… Well here’s my code:
<h1>Nonfiction</h1> <?php query_posts('category_name=nonfiction&showposts=4'); while (have_posts()) : the_post(); // do whatever you want ?> <div id="post"> <div id="thumb"> <?php preg_match_all("/(<img [^>]*>)/",get_the_content(),$matches,PREG_PATTERN_ORDER); for( $i=0; isset($matches[1]) && $i < count($matches[1]); $i++ ) { echo $beforeEachImage . $matches[1][$i] . $afterEachImage;}?> </div> <div id="pcontent"> <h2><?php the_title(); ?></h2> <p><em><?php the_time('F jS, Y') ?></em></p> <p><?php ob_start(); the_content('Read the full post',true); $postOutput = preg_replace('/<img[^>]+./','', ob_get_contents()); ob_end_clean(); echo $postOutput; ?></p> </div> </div> <?php endwhile; ?> <div id="more"> <p><?php next_post_link('%link', 'More Nonfiction', TRUE, $in_same_term = TRUE); ?></p>
I’ll admit that I’ve never looked at the standard template hierarchy, but–now that I have–I can’t seem to make heads or tails of my problem. To reiterate, I just want the page to display the older posts on the same page template that the original nonfiction posts appear. Why, when I click on “More Nonfiction” does it revert to the index.php template? How do I stop that from happening? I have tried making category-nonfiction.php and also category-4.php (the cat id) and also page-179.php (it seems to display the extra posts at ?p=179). What am I doing wrong?
Forum: Fixing WordPress
In reply to: next_post_link and category pagesI’m not using a theme. I’m using wordpress as a CMS for a website I designed myself.
Forum: Fixing WordPress
In reply to: next_post_link and category pagesI’m not using a template. I’m assuming I would need to create a functions.php file and add… what to it?
Forum: Fixing WordPress
In reply to: wp_nav_menu exclude not workingGot it working… I feel dumb. Thanks so much for the help.
Forum: Fixing WordPress
In reply to: wp_nav_menu exclude not workingI’ve tried creating a custom menu but it didn’t change anything. Maybe because the theme I’m using defines its menu differently? I’m a total newbie so I don’t know.
Forum: Fixing WordPress
In reply to: News Posts On Numbered PagesThanks!
Forum: Fixing WordPress
In reply to: News Posts On Numbered PagesIt’s my own theme. I simply integrated wordpress with my already existing website.