michaelphill
Forum Replies Created
-
Forum: Plugins
In reply to: [My Shortcodes] Conditional statements not working…Any update on a fix for the conditional statements?
Forum: Plugins
In reply to: [My Shortcodes] Parse ErrorHow can I DM you?
Forum: Plugins
In reply to: [My Shortcodes] Parse ErrorThanks 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
In reply to: [WordPress HTTPS (SSL)] Hard coded URLs losing "https"That sort of worked, but now on the pages I have set to be secure, it rewrites them to just HTTP.
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] Hard coded URLs losing "https"@mvied: Awesome! Thanks.
Just to confirm, which file do I add this string to?
Forum: Themes and Templates
In reply to: Complex code for most recent postsBelow 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
In reply to: [Redirection] [Plugin: Redirection] Some redirects working, some notIt 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
Forum: Plugins
In reply to: [Redirection] [Plugin: Redirection] Some redirects working, some notJust 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
In reply to: Custom field problemThat completely broken the page; now nothing outputs 🙁
Forum: Themes and Templates
In reply to: Change CSS styling is post is in certain categoryHmmm. How do I output the category name as just plain text (as opposed to a link) inside the loop?
Forum: Fixing WordPress
In reply to: Getting rid of […] in the RSS feedThanks, but I’d like to keep the short summaries but just prevent the RSS from exporting that […]
Forum: Plugins
In reply to: Displaying latest posts/comments on HTML pageAny suggestions?