ksteingrandt
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Partial language translations – how to?HI all
I fixed this using the Redirection plugin.
I redirected /en/ to /
Then I redirected /sv/ to /en/.
Not ideal, but it’s working.
Forum: Plugins
In reply to: [Two Factor Auth] Non-admins seeing OTP buttonAwesome! Thanks!
Forum: Plugins
In reply to: [Login Security Solution] [Feature Request] Add a filter for whitelisting IPsI second this nomination. I would love to be able to simply say “this is a valid login” when I get alert emails on my account, and have the IP whitelisted as a result.
Forum: Fixing WordPress
In reply to: IE7 (yes, you heard me) and captionsI got it working. At my wits’ end, I basically took everything from all the classes that had to do with captions and crammed them into the .wp-caption-text class. I have no idea why that worked, but it worked.
Here’s what it ended up looking like:
.wp-caption .wp-caption-text { margin-bottom: 0.6em; padding: 10px 0 5px 40px; color: #666; font-style: normal; background: #eee; margin-bottom: 1.625em; max-width: 96%; padding: 9px; font-family: Georgia, serif; font-size: 12px; }
Thanks for the responses!
Forum: Fixing WordPress
In reply to: IE7 (yes, you heard me) and captionsThanks kmessinger…unfortunately that does not seem to have worked.
But you’re thinking it is a stylesheet problem? I can keep farting around with the stylesheet until I find the magic bullet, I guess.
Forum: Themes and Templates
In reply to: Functions.php in child themeI think Jan may have nailed it…I’m putting the entire functions.php (with my changes mixed in with the original code) in the child theme’s folder.
Given that info, would I now just find the lines that I changed, put them in a new file, name that functions.php and put that into the child theme’s folder?
Forum: Themes and Templates
In reply to: Show featured image (and only featured image)Thanks a bunch! I did actually create a child theme, so no worries ??
For anyone who stumbles across this via a search, here are the step-by-step details (I always get frustrated when there are no step-by-step instructions in a support thread)
For basic usage, you need to put this
<?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. the_post_thumbnail(); } ?>
in content.php within the div called “entry-content”
So, the whole div will look like this once you’re done:
<div class="entry-content"> <?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. the_post_thumbnail(); } ?> <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?> </div>
Then style as needed (I just added float: left and some padding to my stylesheet)
You can also change the size of your thumbnails in functions.php in the set_post_thumbnail_size line
Read the Codex links alchymyth supplied for different ways to configure post thumbnails (such as adding links to the thumbnails).
Forum: Themes and Templates
In reply to: Show featured image (and only featured image)Anyone? Bueller? Seems like this wouldn’t be a difficult topic to address?
Forum: Fixing WordPress
In reply to: Decrease max upload file sizeFigured it out!