Title: michaelphill's Replies | WordPress.org

---

# michaelphill

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Shortcodes] Conditional statements not working…](https://wordpress.org/support/topic/conditional-statements-not-working/)
 *  [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/conditional-statements-not-working/#post-5494413)
 * Any update on a fix for the conditional statements?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Shortcodes] Parse Error](https://wordpress.org/support/topic/parse-error-203/)
 *  Thread Starter [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-203/#post-4031391)
 * How can I DM you?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Shortcodes] Parse Error](https://wordpress.org/support/topic/parse-error-203/)
 *  Thread Starter [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-203/#post-4031383)
 * Thanks for the reply!
 * I updated to 2.05 and am still getting the error.
 * The strange thing is that it’s giving me the error both in the shortcode editor(
   i.e. without knowing what the author name is) and on the frontend. Also, author
   name I’m using doesn’t have an apostrophe.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress HTTPS (SSL)] Hard coded URLs losing "https"](https://wordpress.org/support/topic/hard-coded-urls-losing-https/)
 *  Thread Starter [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hard-coded-urls-losing-https/#post-3494085)
 * That sort of worked, but now on the pages I have set to be secure, it rewrites
   them to just HTTP.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress HTTPS (SSL)] Hard coded URLs losing "https"](https://wordpress.org/support/topic/hard-coded-urls-losing-https/)
 *  Thread Starter [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hard-coded-urls-losing-https/#post-3494055)
 * [@mvied](https://wordpress.org/support/users/mvied/): Awesome! Thanks.
 * Just to confirm, which file do I add this string to?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Complex code for most recent posts](https://wordpress.org/support/topic/complex-code-for-most-recent-posts/)
 *  Thread Starter [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/complex-code-for-most-recent-posts/#post-3430489)
 * Below is the code I ended up with. It’s somewhat working, but the big issue is
   that for some reason it’s repeating `<strong><div id="header"></strong>` and `
   <strong><div class="holder"></strong>` in addition to the
    `<li>` elements (that
   I want it to repeat six times). Any ideas why it’s repeating the header and holder
   elements?
 *     ```
       <?php query_posts('numberposts=1'); ?>
       	<?php while (have_posts()) : the_post(); ?>
       	<div id="header" style="background: #<?php echo get_post_meta($post->ID, "hex", true); ?>;">
       		<div class="holder" style="background: #<?php echo get_post_meta($post->ID, "hex", true); ?>;">
       			<div class="box">
       				<h1 class="logo"><a href="/">ColorEveryDay</a></h1>
       					<div class="text-top"><span class="date"><?php the_date('m.d'); ?></span><span>‘<?php the_title(); ?>’</span></div>
       			</div>
       		</div>
       	<?php endwhile; ?>
       			<div class="nav-holder">
       			<ul id="nav">
       				<?php $posts = get_posts('numberposts=6&offset=1'); foreach ($posts as $post): setup_postdata($post); ?>
       				<li class="nav-box">
       					<div style="background: #<?php echo get_post_meta($post->ID, "hex", true); ?>;"><a href="<?php the_permalink(); ?>"><?php the_date('m.d'); ?><span>‘<?php the_title(); ?>’</span></a></div>
       				</li>
       				<?php endforeach; ?>
       			</ul>
       		</div>
       	</div>
       ```
   
 * _[Moderator note: Wrap **all** code using backticks]_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] [Plugin: Redirection] Some redirects working, some not](https://wordpress.org/support/topic/plugin-redirection-some-redirects-working-some-not/)
 *  Thread Starter [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [14 years ago](https://wordpress.org/support/topic/plugin-redirection-some-redirects-working-some-not/#post-2907264)
 * It did. But, when entering them through the WP admin interface those weird characters
   always got added. It’s kind of a pain because they’re only visible when you export
   as a CSV. It seems that manually entering them either through phpMyAdmin or the
   CSV does fix the problem, but it’s kind of pain and negates the whole idea of
   a plugin.
 * I ended up switching to “Quick Page/Post Redirect Plugin” and using its “Quick
   Redirects” feature instead: [http://michael.ph/bhVYL](http://michael.ph/bhVYL)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] [Plugin: Redirection] Some redirects working, some not](https://wordpress.org/support/topic/plugin-redirection-some-redirects-working-some-not/)
 *  Thread Starter [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [14 years ago](https://wordpress.org/support/topic/plugin-redirection-some-redirects-working-some-not/#post-2907137)
 * Just noticed that if you open the database as a CSV, the redirect items that 
   aren’t working appear to be malformed with some `â` and `€` characters in them:
 * `^â€‹/path-name[â€‹/]?$`
 * No idea where they are coming from…
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Custom field problem](https://wordpress.org/support/topic/custom-field-problem-5/)
 *  Thread Starter [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/custom-field-problem-5/#post-2159460)
 * That completely broken the page; now nothing outputs 🙁
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Change CSS styling is post is in certain category](https://wordpress.org/support/topic/change-css-styling-is-post-is-in-certain-category/)
 *  Thread Starter [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/change-css-styling-is-post-is-in-certain-category/#post-1407694)
 * Hmmm. How do I output the category name as just plain text (as opposed to a link)
   inside the loop?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Getting rid of […] in the RSS feed](https://wordpress.org/support/topic/getting-rid-of-in-the-rss-feed/)
 *  Thread Starter [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/getting-rid-of-in-the-rss-feed/#post-1009859)
 * Thanks, but I’d like to keep the short summaries but just prevent the RSS from
   exporting that […]
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Displaying latest posts/comments on HTML page](https://wordpress.org/support/topic/displaying-latest-postscomments-on-html-page/)
 *  Thread Starter [michaelphill](https://wordpress.org/support/users/michaelphill/)
 * (@michaelphill)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/displaying-latest-postscomments-on-html-page/#post-669176)
 * Any suggestions?

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