yaphi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Embed/HTML code disappearingI can reproduce this over and over.
I have an admin and I have an Author.
admin can post embed codes in the html tab (I disable the visual tab for everyone) and the author, when they post an embed code and hit save, the embed code disappears.
Forum: Fixing WordPress
In reply to: Settings > Reading > Front Page Displays > Posts PageNevermind I had been using something that was looking for a specific category in my template.
Forum: Fixing WordPress
In reply to: Settings > Reading > Front Page Displays > Posts PageI am having the same problem.
This is a new install of WP 2.7.1. I created a homepage “page” and a specific template for it. I then created a blog “page” and set that as the posts page. Now when I go to /blog I just get “Sorry, no posts matched your criteria.”.
Please help. This seems to be asked a lot on these forums and no one has answered. The Codex just gives this same instruction so please don’t link to that.
Forum: Themes and Templates
In reply to: Turning the_title into a css classOh and for anyone that stumbled upon this, here was the code
<h2 class="<?php print strtolower(str_replace(' ','', get_the_title($post->post_parent))); ?>"><?php echo get_the_title($post->post_parent); ?></h2>
This prints an <h2> with a class of the parent’s page title…so if you were on About Us / Contact or something,
<h2 class="aboutus">About us</h2>
that way I can replace it with an image.
Forum: Themes and Templates
In reply to: Turning the_title into a css classAhh…I misunderstood trim(). Thanks everyone I got it.
Forum: Fixing WordPress
In reply to: How to Force SSL for a Single Form PageI ended just forcing this if statement to always set it to https://
line 47, /wp-includes/canonical.php (WordPress 2.7)
from
$requested_url = ( !empty($_SERVER['HTTPS'] ) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'https://';
to
$requested_url = ( !empty($_SERVER['HTTPS'] ) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'https://';
I really hope someone figures this out.
Forum: Fixing WordPress
In reply to: ssl linksno I want this too.
Forum: Fixing WordPress
In reply to: SSL security for a single page?@dicedtomatoe that trick doesn’t work for me. Plus, on line 48 it doesn’t say HOST_NAME it says HTTP_HOST on WordPress 2.7
Forum: Fixing WordPress
In reply to: How to Force SSL for a Single Form PageI am not with mediatemple and I am having the same problem. Please post a fix.