Title: line's Replies | WordPress.org

---

# line

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Links to previous News entries are not working](https://wordpress.org/support/topic/links-to-previous-news-entries-are-not-working/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/links-to-previous-news-entries-are-not-working/#post-383476)
 * Does anyone have any ideas on this?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Links to previous News entries are not working](https://wordpress.org/support/topic/links-to-previous-news-entries-are-not-working/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/links-to-previous-news-entries-are-not-working/#post-383319)
 * here is what the code ends up looking like from line 244 to // end while
 * would thie effect the previous links?
 * `
    if ($the_link != "http://") { $output .= '<a href="' . $the_link . '"' . $
   rel . $title . $target. '>'; }
 * if (($row->link_image != null) && $show_images) {
    if (strstr($row->link_image,'
   http')) { $output .= "<img src="$row->link_image" $alt $title />"; if ($show_description&&(
   $desc != '')) { $output .= $between . $desc; }
 * } else { // If it's a relative path
    $output .= "<img src="" . get_settings('
   siteurl') . "$row->link_image" $alt $title />";
 * if ($show_description && ($desc != '')) {
    $output .= $between . $desc; } } }
   else { $output .= $name . $between . $desc; }
 * if ($the_link != "[http://&quot](http://&quot);) {
    $output .= '</a>'; }
 * if ($show_updated && $row->recently_updated) {
    $output .= get_settings('links_recently_updated_append');}
 * if (($row->link_image != null) && $show_images) {
    if ($show_description && (
   $desc != '')) { $output .= $between; } }
 * $output .= "$after n";
    } // end while
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Links to previous News entries are not working](https://wordpress.org/support/topic/links-to-previous-news-entries-are-not-working/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/links-to-previous-news-entries-are-not-working/#post-383247)
 * take a look at this post from when i was modifying links.php
 * [http://wordpress.org/support/topic/55157?replies=19](http://wordpress.org/support/topic/55157?replies=19)
 * that has the info on what i have changed.
 * currently the previous entries link takes me here:
    [http://www.terminaldusk.com/page/2/](http://www.terminaldusk.com/page/2/)
 * I think it is supposed to go here:
    [http://www.terminaldusk.com/category/news/page/2/](http://www.terminaldusk.com/category/news/page/2/)
 * Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Links to previous News entries are not working](https://wordpress.org/support/topic/links-to-previous-news-entries-are-not-working/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/links-to-previous-news-entries-are-not-working/#post-383128)
 * I figured that might have altered the previous post links?
 * Any ideas?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [why can’t people comment on my pages?](https://wordpress.org/support/topic/why-cant-people-comment-on-my-pages/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/why-cant-people-comment-on-my-pages/#post-317616)
 * I added `<?php comments_template(); ?>`
    to my page: [http://www.terminaldusk.com/dev/?page_id=8](http://www.terminaldusk.com/dev/?page_id=8)
 * and it shows the box to type a response.
    I want to show the links for comments,
   so they are not listed on this page but they show as a link like they do on posts.“
   Add a comment”, and they click the link to comment.
 * Any Ideas?
    Thanks for helping me out with this!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [why can’t people comment on my pages?](https://wordpress.org/support/topic/why-cant-people-comment-on-my-pages/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/why-cant-people-comment-on-my-pages/#post-317591)
 * Thanks! im still a bit confused.
    What do i add?
 * I want to to look like the commets or posts, where it shows the number of comments
   and you click the link to read the comments.
 * Here is my code for my page.
    ` <?php /* Template Name: Discog */ ?> <?php get_header();?
   >
 * <div id="content" class="narrowcolumn">
    <h1><?php the_title(); ?></h1> <?php
   if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id
   ="post-<?php the_ID(); ?>"> <div class="entry"> <?php the_content('<p class="
   serif">Read the rest of this page &raquo; '); ?> <?php link_pages('<strong>Pages:
   </strong> ', ' ', 'number'); ?> </div> <p class="postmetadata"> <?php edit_post_link('
   Edit this page'); ?>
 *  </div>
    <?php endwhile; endif; ?> </div> <?php include ("sidebarDiscog.php");?
   > <?php get_footer(); ?>
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [sidebar links modifications to links.php?](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/page/2/#post-312347)
 * Thanks! looks perfect! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [sidebar links modifications to links.php?](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/page/2/#post-312249)
 * I got it figured out! here is what the code ends up looking like from line 244
   to // end while
 * `if ($the_link != "http://") {
    $output .= '<a href="' . $the_link . '"' . $rel.
   $title . $target. '>'; }
 * if (($row->link_image != null) && $show_images) {
    if (strstr($row->link_image,'
   http')) { $output .= "<img src=\"$row->link_image\" $alt $title />"; if ($show_description&&(
   $desc != '')) { $output .= $between . $desc; }
 * } else { // If it's a relative path
    $output .= "<img src=\"" . get_settings('
   siteurl') . "$row->link_image\" $alt $title />";
 * if ($show_description && ($desc != '')) {
    $output .= $between . $desc; } } }
   else { $output .= $name . $between . $desc; }
 * if ($the_link != "[http://&quot](http://&quot);) {
    $output .= '</a>'; }
 * if ($show_updated && $row->recently_updated) {
    $output .= get_settings('links_recently_updated_append');}
 * if (($row->link_image != null) && $show_images) {
    if ($show_description && (
   $desc != '')) { $output .= $between; } }
 * $output .= "$after n";
    } // end while
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [sidebar links modifications to links.php?](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/#post-312235)
 * ok that fixed the exploded page but it’s still showing double
    $desc for upcoming
   releases and no $desc for current playlist
 * here is the code it produces now
 * `<div id="sidebar">
    <li class="pagenav"> <h2>Pages</h2> <ul> <li class="page_item"
   ><a href="http://www.terminaldusk.com/dev/?page_id=2" title="About">About</a>
   </li> </ul> </li> <h2>Upcoming Releases</h2> <div class="upcomingReleases"><a
   href="http://www.terminaldusk.com/discog/" title="TD004 : Wisp : Building Dragons"
   ><img src="http://www.terminaldusk.com/images/releases/TD004_40x40.jpg" alt="
   TD004" title="TD004 : Wisp : Building Dragons">TD004 : Wisp : Building Dragons
   </a>TD004 : Wisp : Building Dragons</div> <div class="upcomingReleases"><a href
   ="http://terminaldusk.com/discog" title="TD003 : Line 47 / EmotionalJoystick :
   Meet Uptown"><img src="http://www.terminaldusk.com/images/releases/noImage_40x40.
   jpg" alt="TD003" title="TD003 : Line 47 / EmotionalJoystick : Meet Uptown">TD003:
   Line 47 / EmotionalJoystick : Meet Uptown</a>TD003 : Line 47 / EmotionalJoystick:
   Meet Uptown</div> <h2>Current Playlist</h2> <li>Lackluster</li> <li>Not Breathing
   </li> <li>V/A</li> <li>V/A</li> <li>Rusuden</li> <li>V/A</li> <li>The Orb</li
   > <li>Intricate</li> <li>Shifted Phases</li> <li>[A]pendics Shuffle</li> </div
   >
 * Thanks! again! 🙂
 * [http://www.terminaldusk.com/dev/](http://www.terminaldusk.com/dev/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [sidebar links modifications to links.php?](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/#post-312217)
 * in the admin, where you can specify what comes before, in between, and after 
   a link
 * Admin > Links > Link Categories
    on this page in the formatting section.
 * 🙂 thanks for helping me with this 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [sidebar links modifications to links.php?](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/#post-312213)
 * Im not sure what to do, i have placed the `</div>`
    in the after link?
 * also it’s not showing the descriptions for the playlist
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [sidebar links modifications to links.php?](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/#post-312209)
 * well i have not changed anything.
    I placed your code and now i have this???
 * Im confused,
 * i dont think it is placing the after code for the upcoming releases links, which
   is `</div>`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [sidebar links modifications to links.php?](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/#post-312205)
 * this is the code being generated:
 * `<div id="sidebar">
    <li class="pagenav"> <h2>Pages</h2> <ul> <li class="page_item"
   ><a href="http://www.terminaldusk.com/dev/?page_id=2" title="About">About</a>
   </li> </ul> </li> <h2>Upcoming Releases</h2> <div class="upcomingReleases"> <
   a href="http://www.terminaldusk.com/discog/" title="TD004 : Wisp : Building Dragons"
   ><img src="http://www.terminaldusk.com/images/releases/TD004_40x40.jpg" alt="
   TD004" title="TD004 : Wisp : Building Dragons">TD004 : Wisp : Building Dragons
   </a>TD004 : Wisp : Building Dragons <div class="upcomingReleases"><a href="http://
   terminaldusk.com/discog" title="TD003 : Line 47 / EmotionalJoystick : Meet Uptown"
   ><img src="http://www.terminaldusk.com/images/releases/noImage_40x40.jpg" alt
   ="TD003" title="TD003 : Line 47 / EmotionalJoystick : Meet Uptown">TD003 : Line
   47 / EmotionalJoystick : Meet Uptown</a>TD003 : Line 47 / EmotionalJoystick :
   Meet Uptown <h2>Current Playlist</h2> <li><strong>Rusuden</strong></li> <li><
   strong><strong>V/A</strong></strong></li> <li><strong><strong><strong>[A]pendics
   Shuffle</strong></strong></strong></li> <li><strong><strong><strong><strong>Lackluster
   </strong></strong></strong></strong></li> <li><strong><strong><strong><strong
   ><strong>V/A</strong></strong></strong></strong></strong></li> <li><strong><strong
   ><strong><strong><strong><strong>Not Breathing</strong></strong></strong></strong
   ></strong></strong></li> <li><strong><strong><strong><strong><strong><strong>
   <strong>V/A</strong></strong></strong></strong></strong></strong></strong></li
   > <li><strong><strong><strong><strong><strong><strong><strong><strong>Shifted
   Phases</strong></strong></strong></strong></strong></strong></strong></strong
   ></li> <li><strong><strong><strong><strong><strong><strong><strong><strong><strong
   >The Orb</strong></strong></strong></strong></strong></strong></strong></strong
   ></strong></li> <li><strong><strong><strong><strong><strong><strong><strong><
   strong><strong><strong>Intricate</strong></strong></strong></strong></strong>
   </strong></strong></strong></strong></strong></li> </div>
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [sidebar links modifications to links.php?](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/)
 *  Thread Starter [line](https://wordpress.org/support/users/line/)
 * (@line)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/sidebar-links-modifications-to-linksphp/#post-312196)
 * I have placed all the code in from you last post and it has made my site go all
   out of wack.
 * take a look: [http://www.terminaldusk.com/dev/](http://www.terminaldusk.com/dev/)
 * the first and second post worked, that third one made everything go haywire.
 * thanks! maybe i implemented it wrong?
    does it mater if i have div’s wrapping
   the upcoming releases ?
 * thanks again!
 * PS!!!!!
 * I have link category upcoming releases set to generate:
    `<div class="upcomingReleases"
   >` before `</div>` after
 * I have playlist set to generate:
    `<li><strong>` before `</strong> :&nbsp;` in
   between `</li>` after

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