Title: ivode's Replies | WordPress.org

---

# ivode

  [  ](https://wordpress.org/support/users/ivode/)

 *   [Profile](https://wordpress.org/support/users/ivode/)
 *   [Topics Started](https://wordpress.org/support/users/ivode/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ivode/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ivode/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ivode/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ivode/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ivode/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Link categories the “before” formatting](https://wordpress.org/support/topic/link-categories-the-before-formatting/)
 *  [ivode](https://wordpress.org/support/users/ivode/)
 * (@ivode)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/link-categories-the-before-formatting/#post-497257)
 * Well it hacls the core, but to get the functionality you want (and I wanted) 
   is fairly simple. Change the following 2 lines in links.php.
 * Line 552:
 * `'<li>',"</li>","n",`
    to `$cat['text_before_link'],$cat['text_after_all'],$cat['
   text_after_link'],`
 * Line 533:
 * `sort_desc, list_limit`
    to `sort_desc, list_limit, text_before_link, text_after_link,
   text_after_all`
 * Now the before and after tags you put into link categories will show up in the
   code for each link in that category.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Replacing Index with Archive Page](https://wordpress.org/support/topic/replacing-index-with-archive-page/)
 *  Thread Starter [ivode](https://wordpress.org/support/users/ivode/)
 * (@ivode)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/replacing-index-with-archive-page/#post-192887)
 * Ok, for anyone who wants to know, here is how I solved my problem. In “wp-blog-
   header.php” under the Template Redirection code section, I replaced the code 
   as follows:
 * else if ( is_home() && get_home_template() ) {
    header(“Location: [http://webroot/archives/category/general/&#8221](http://webroot/archives/category/general/&#8221););//
   include(get_home_template()); exit; }
 * Now when WordPress goes to the main page, it redirects to the archive page. Not
   elegant but it works well. And best yet, you can navigate to previous entries
   unlike the other display one category solutions out there.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Replacing Index with Archive Page](https://wordpress.org/support/topic/replacing-index-with-archive-page/)
 *  Thread Starter [ivode](https://wordpress.org/support/users/ivode/)
 * (@ivode)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/replacing-index-with-archive-page/#post-192886)
 * Ok, for anyone who wants to know, here is how I solved my problem. In “wp-blog-
   header.php” under the Template Redirection code section, I replaced the code 
   as follows:
 * else if ( is_home() && get_home_template() ) {
 * //include(get_home_template());
    exit;
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Replacing Index with Archive Page](https://wordpress.org/support/topic/replacing-index-with-archive-page/)
 *  Thread Starter [ivode](https://wordpress.org/support/users/ivode/)
 * (@ivode)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/replacing-index-with-archive-page/#post-192881)
 * Thanks for any help you have.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Replacing Index with Archive Page](https://wordpress.org/support/topic/replacing-index-with-archive-page/)
 *  Thread Starter [ivode](https://wordpress.org/support/users/ivode/)
 * (@ivode)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/replacing-index-with-archive-page/#post-192880)
 * Still not what I am looking for. Maybe it is easier to ask this….
 * How does WordPress initialize the index page? I have wodpress setup in a subdirectory
   of my site. So there is an index.php in the web root that basically calls “wp-
   blog-header.php” in the wordpress directory. But I cannot find in the “wp-blog-
   header.php” file where the index page is loaded.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Replacing Index with Archive Page](https://wordpress.org/support/topic/replacing-index-with-archive-page/)
 *  Thread Starter [ivode](https://wordpress.org/support/users/ivode/)
 * (@ivode)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/replacing-index-with-archive-page/#post-192833)
 * Yes, that is what I am trying to do. And yes, doing a search does bring back 
   a few posts about such a thing. I have actually coded the index page to show 
   one category with no problem.
 *  The issuess arise when trying to navigate to previous posts. Since the coding
   simple excludes posts that are not in the specific category, it does not list
   previous entry pages correctly. Instead when you go to a previous entries page,
   it lists many of the same entries.
 * What I would like is to reset my index page to show the exact same page as the
   the category archives page. But I am not smart enough to figure that one out.

Viewing 6 replies - 1 through 6 (of 6 total)