Title: LearnWebCode's Replies | WordPress.org

---

# LearnWebCode

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom Excerpts – Removing "Continue Reading" Link](https://wordpress.org/support/topic/custom-excerpts-removing-continue-reading-link/)
 *  Thread Starter [LearnWebCode](https://wordpress.org/support/users/learnwebcode/)
 * (@learnwebcode)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/custom-excerpts-removing-continue-reading-link/#post-2384545)
 * I suppose this was a bit simpler than I imagined. I simply went into the theme’s
   functions.php file and removed any functions that dealt with “excerpt.” It worked
   like a charm.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Syntax Error in Conditional Custom Field Code](https://wordpress.org/support/topic/syntax-error-in-conditional-custom-field-code/)
 *  Thread Starter [LearnWebCode](https://wordpress.org/support/users/learnwebcode/)
 * (@learnwebcode)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-in-conditional-custom-field-code/#post-1399883)
 * I discovered the problem.
 * In case any other PHP beginners have the same question/problem, here’s the fix.
 * The `<?php endif; ?>` after the “without custom page header” section should be
   removed, and in its place, add:
 * `<?php } ?>`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Updated Permalink Structure – Anyway to salvage Google rank of previous URLs?](https://wordpress.org/support/topic/updated-permalink-structure-anyway-to-salvage-google-rank-of-previous-urls/)
 *  Thread Starter [LearnWebCode](https://wordpress.org/support/users/learnwebcode/)
 * (@learnwebcode)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/updated-permalink-structure-anyway-to-salvage-google-rank-of-previous-urls/#post-1376447)
 * Hi Ipstenu,
 * This was my original structure:
    `http://my-site.com/year/month/day/this-is-the-
   title/`
 * And I changed it to this:
    `http://my-site.com/this-is-the-title/`
 * However, I also did something that I realize now was foolish.
 * Many of my posts were titled “XHTML Lesson 1: title subject” or some other lesson#
   and subject. I didn’t want “xhtml-lesson-#” in every URL (because I read that
   shorter, to the point URLs are more effective) so I edited the permalinks to 
   just contain the subject/title of the post.
 * I don’t have that many posts yet, so perhaps I could set up a manual / hardcoded
   htaccess redirect for the 10 or so posts that are effected by this? I’ll search
   around for a htaccess guide.
 * Thanks!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Modifying the loop to output different code for the first post?](https://wordpress.org/support/topic/modifying-the-loop-to-output-different-code-for-the-first-post/)
 *  Thread Starter [LearnWebCode](https://wordpress.org/support/users/learnwebcode/)
 * (@learnwebcode)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/modifying-the-loop-to-output-different-code-for-the-first-post/#post-1355480)
 * I just figured this out.
 * In the case that anyone else is looking for the same solution, I’ll explain how.
 * I looked for themes that styled the first post differently. I found one and downloaded
   it, then looked at the “index.php” file to see how it was done. This is the method
   I’m currently using. I’m sure there is a better way, but I’m not much of a PHP
   guru, so…
 *     ```
       <?php query_posts('showposts=1'); ?>
       <?php if(have_posts()) : ?><?php while(have_posts()): the_post(); ?>
       your code for first post
       <?php endwhile; ?>
       <?php endif; ?>
   
       <?php query_posts('offset=1'); ?>
       <?php while (have_posts()) : the_post(); ?>
       code for all the other posts
       <?php endwhile; ?>
       ```
   
 * Cheers,
    LWC
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Problem After Updating “SyntaxHighlighter Evolved”](https://wordpress.org/support/topic/problem-after-updating-syntaxhighlighter-evolved/)
 *  Thread Starter [LearnWebCode](https://wordpress.org/support/users/learnwebcode/)
 * (@learnwebcode)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/problem-after-updating-syntaxhighlighter-evolved/#post-1272307)
 * I figured out the problem.
 * Comment #186 asks my same question:
    [http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/](http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/)
 * The solution is to remove any mention of “code” or “pre” elements in your CSS
   files. It causes problems with the updated version of the plug-in.

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